Started by user Jenkins Admin Obtained pipelines/pingcap/tidb/release-6.5/ghpr_unit_test.groovy from git https://github.com/PingCAP-QE/ci.git Loading library tipipeline@main Library tipipeline@main is cached. Copying from home. [Pipeline] Start of Pipeline [Pipeline] readJSON [Pipeline] readTrusted Obtained pipelines/pingcap/tidb/release-6.5/pod-ghpr_unit_test.yaml from git https://github.com/PingCAP-QE/ci.git [Pipeline] podTemplate [Pipeline] { [Pipeline] node Created Pod: kubernetes jenkins-tidb/pingcap-tidb-release-6-5-ghpr-unit-test-527-9ndmh-804q4-2pqf2 Agent pingcap-tidb-release-6-5-ghpr-unit-test-527-9ndmh-804q4-2pqf2 is provisioned from template pingcap_tidb_release-6_5_ghpr_unit_test_527-9ndmh-804q4 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/release-6.5/job/ghpr_unit_test/527/" runUrl: "job/pingcap/job/tidb/job/release-6.5/job/ghpr_unit_test/527/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "962f5f41dcb8a3b69c337f79561f32781c333197" jenkins/label: "pingcap_tidb_release-6_5_ghpr_unit_test_527-9ndmh" name: "pingcap-tidb-release-6-5-ghpr-unit-test-527-9ndmh-804q4-2pqf2" namespace: "jenkins-tidb" spec: affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - key: "kubernetes.io/arch" operator: "In" values: - "amd64" containers: - image: "hub.pingcap.net/wangweizhen/tidb_image:go11920231127" lifecycle: postStart: exec: command: - "/bin/sh" - "/data/bazel-prepare-in-container.sh" name: "golang" resources: requests: memory: "8Gi" cpu: "4" securityContext: privileged: true tty: true volumeMounts: - mountPath: "/share/.cache/bazel-repository-cache" name: "bazel-repository-cache" - mountPath: "/home/jenkins/.tidb/tmp" name: "bazel-out-merged" - mountPath: "/bazel-out-lower" name: "bazel-out-lower" subPath: "tidb/go1.19.2" - mountPath: "/bazel-out-overlay" name: "bazel-out-overlay" - mountPath: "/share/.cache/go-build" name: "gocache" - mountPath: "/share/.go" name: "gopathcache" - mountPath: "/data/" name: "bazel-rc" readOnly: true - mountPath: "/etc/containerinfo" name: "containerinfo" - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - image: "hub.pingcap.net/jenkins/network-multitool" name: "net-tool" resources: limits: memory: "128Mi" cpu: "100m" tty: true volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - image: "hub.pingcap.net/jenkins/python3-requests:latest" name: "report" resources: limits: memory: "256Mi" cpu: "100m" tty: true volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-agent.apps.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "pingcap-tidb-release-6-5-ghpr-unit-test-527-9ndmh-804q4-2pqf2" - name: "JENKINS_NAME" value: "pingcap-tidb-release-6-5-ghpr-unit-test-527-9ndmh-804q4-2pqf2" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins.apps.svc.cluster.local:8080/jenkins/" image: "jenkins/inbound-agent:3206.vb_15dcf73f6a_9-2" name: "jnlp" resources: requests: memory: "256Mi" cpu: "100m" volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false restartPolicy: "Never" securityContext: fsGroup: 1000 volumes: - emptyDir: {} name: "bazel-out-merged" - name: "bazel-rc" secret: secretName: "bazel" - emptyDir: {} name: "bazel-out-overlay" - name: "gocache" persistentVolumeClaim: claimName: "gocache" - downwardAPI: items: - path: "cpu_limit" resourceFieldRef: containerName: "golang" resource: "limits.cpu" - path: "cpu_request" resourceFieldRef: containerName: "golang" resource: "requests.cpu" - path: "mem_limit" resourceFieldRef: containerName: "golang" resource: "limits.memory" - path: "mem_request" resourceFieldRef: containerName: "golang" resource: "requests.memory" name: "containerinfo" - name: "bazel-out-lower" persistentVolumeClaim: claimName: "bazel-out-data" - emptyDir: medium: "" name: "workspace-volume" - name: "bazel-repository-cache" persistentVolumeClaim: claimName: "bazel-repository-cache" - name: "gopathcache" persistentVolumeClaim: claimName: "gopathcache" Running on pingcap-tidb-release-6-5-ghpr-unit-test-527-9ndmh-804q4-2pqf2 in /home/jenkins/agent/workspace/pingcap/tidb/release-6.5/ghpr_unit_test [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git No credentials specified Cloning the remote Git repository Using shallow clone with depth 1 Cloning repository https://github.com/PingCAP-QE/ci.git > git init /home/jenkins/agent/workspace/pingcap/tidb/release-6.5/ghpr_unit_test # timeout=10 Fetching upstream changes from https://github.com/PingCAP-QE/ci.git > git --version # timeout=10 > git --version # 'git version 2.39.2' > git fetch --tags --force --progress --depth=1 -- https://github.com/PingCAP-QE/ci.git +refs/heads/*:refs/remotes/origin/* # timeout=5 Avoid second fetch Checking out Revision 03312178c534dce949face80c69812d989e55009 (origin/main) > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 03312178c534dce949face80c69812d989e55009 # timeout=10 Commit message: "fix(br): use failpoint tidb-server instead (#2951)" > git rev-list --no-walk 03312178c534dce949face80c69812d989e55009 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] timeout Timeout set to expire in 1 hr 30 min [Pipeline] { [Pipeline] stage [Pipeline] { (Debug info) [Pipeline] sh + printenv PROW_JOB_ID=947aea94-f9ab-448e-b2d3-d7817b93fc88 JENKINS_NODE_COOKIE=d789f29e-7ac6-468d-b7de-98757ad0d6ee BUILD_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/release-6.5/job/ghpr_unit_test/527/ GOLANG_VERSION=1.19.5 HOSTNAME=pingcap-tidb-release-6-5-ghpr-unit-test-527-9ndmh-804q4-2pqf2 HUDSON_SERVER_COOKIE=83ef27fe9acccc92 KUBERNETES_PORT_443_TCP_PORT=443 KUBERNETES_PORT=tcp://10.233.0.1:443 TERM=xterm STAGE_NAME=Debug info BUILD_TAG=jenkins-pingcap-tidb-release-6.5-ghpr_unit_test-527 KUBERNETES_SERVICE_PORT=443 GIT_PREVIOUS_COMMIT=03312178c534dce949face80c69812d989e55009 JOB_SPEC={"type":"presubmit","job":"pingcap/tidb/release-6.5/ghpr_unit_test","buildid":"1787398243475263494","prowjobid":"947aea94-f9ab-448e-b2d3-d7817b93fc88","refs":{"org":"pingcap","repo":"tidb","base_ref":"release-6.5","base_sha":"9075922d3b11a2cebbe6d8fcde80533e7d7e88be","pulls":[{"number":53005,"author":"YuJuncen","sha":"329197d82e8a57bac0a7b1cfa3380e61c8379590","title":"br/pdutils: retry when encountered dns error"}]}} KUBERNETES_SERVICE_HOST=10.233.0.1 WORKSPACE=/home/jenkins/agent/workspace/pingcap/tidb/release-6.5/ghpr_unit_test JOB_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/release-6.5/job/ghpr_unit_test/ RUN_CHANGES_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/release-6.5/job/ghpr_unit_test/527/display/redirect?page=changes RUN_ARTIFACTS_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/release-6.5/job/ghpr_unit_test/527/display/redirect?page=artifacts FILE_SERVER_URL=http://fileserver.pingcap.net JENKINS_HOME=/var/jenkins_home GIT_COMMIT=03312178c534dce949face80c69812d989e55009 PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUN_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/release-6.5/job/ghpr_unit_test/527/display/redirect GOPROXY=http://goproxy.apps.svc,https://proxy.golang.org,direct _=/usr/bin/printenv POD_CONTAINER=golang PWD=/home/jenkins/agent/workspace/pingcap/tidb/release-6.5/ghpr_unit_test HUDSON_URL=https://do.pingcap.net/jenkins/ JOB_NAME=pingcap/tidb/release-6.5/ghpr_unit_test TZ=Asia/Shanghai BUILD_DISPLAY_NAME=#527 JENKINS_URL=https://do.pingcap.net/jenkins/ BUILD_ID=1787398243475263494 GOLANG_DOWNLOAD_SHA256=36519702ae2fd573c9869461990ae550c8c0d955cd28d2827a6b159fda81ff95 JOB_BASE_NAME=ghpr_unit_test GIT_PREVIOUS_SUCCESSFUL_COMMIT=03312178c534dce949face80c69812d989e55009 RUN_TESTS_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/release-6.5/job/ghpr_unit_test/527/display/redirect?page=tests SHLVL=3 HOME=/home/jenkins POD_LABEL=pingcap_tidb_release-6_5_ghpr_unit_test_527-9ndmh GOROOT=/usr/local/go GIT_BRANCH=origin/main KUBERNETES_PORT_443_TCP_PROTO=tcp CI=true KUBERNETES_SERVICE_PORT_HTTPS=443 WORKSPACE_TMP=/home/jenkins/agent/workspace/pingcap/tidb/release-6.5/ghpr_unit_test@tmp EXECUTOR_NUMBER=0 JENKINS_SERVER_COOKIE=durable-f55021a964b2bda7086325767741362a40070798450a85dc040c52fbc8b1c367 NODE_LABELS=pingcap-tidb-release-6-5-ghpr-unit-test-527-9ndmh-804q4-2pqf2 pingcap_tidb_release-6_5_ghpr_unit_test_527-9ndmh GIT_URL=https://github.com/PingCAP-QE/ci.git HUDSON_HOME=/var/jenkins_home CLASSPATH= NODE_NAME=pingcap-tidb-release-6-5-ghpr-unit-test-527-9ndmh-804q4-2pqf2 GOPATH=/go JOB_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/release-6.5/job/ghpr_unit_test/display/redirect BUILD_NUMBER=527 KUBERNETES_PORT_443_TCP_ADDR=10.233.0.1 KUBERNETES_PORT_443_TCP=tcp://10.233.0.1:443 GOLANG_DOWNLOAD_URL=https://dl.google.com/go/go1.19.5.linux-amd64.tar.gz + echo ------------------------- ------------------------- + go env GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/home/jenkins/.cache/go-build" GOENV="/home/jenkins/.config/go/env" GOEXE="" GOEXPERIMENT="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GOMODCACHE="/go/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/go" GOPRIVATE="" GOPROXY="http://goproxy.apps.svc,https://proxy.golang.org,direct" GOROOT="/usr/local/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64" GOVCS="" GOVERSION="go1.19.5" GCCGO="gccgo" GOAMD64="v1" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="/dev/null" GOWORK="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build688793743=/tmp/go-build -gno-record-gcc-switches" + echo ------------------------- ------------------------- + ls -l /dev/null crw-rw-rw-. 1 jenkins root 1, 3 May 6 16:26 /dev/null + echo 'debug command: kubectl -n jenkins-tidb exec -ti pingcap-tidb-release-6-5-ghpr-unit-test-527-9ndmh-804q4-2pqf2 bash' debug command: kubectl -n jenkins-tidb exec -ti pingcap-tidb-release-6-5-ghpr-unit-test-527-9ndmh-804q4-2pqf2 bash [Pipeline] container [Pipeline] { [Pipeline] sh + dig github.com ; <<>> DiG 9.18.16 <<>> github.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62599 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1232 ; COOKIE: b1626b9ae271d895 (echoed) ;; QUESTION SECTION: ;github.com. IN A ;; ANSWER SECTION: github.com. 6 IN A 20.205.243.166 ;; Query time: 0 msec ;; SERVER: 169.254.25.10#53(169.254.25.10) (UDP) ;; WHEN: Mon May 06 08:26:15 UTC 2024 ;; MSG SIZE rcvd: 77 [Pipeline] script [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Checkout) [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/release-6.5/ghpr_unit_test/tidb [Pipeline] { [Pipeline] cache Cache restored successfully (git/pingcap/tidb/rev-659f32a-2a3f820) 460261376 bytes in 1.20 secs (385039605 bytes/sec) [Pipeline] { [Pipeline] retry [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh git version 2.37.2 Reinitialized existing Git repository in /home/jenkins/agent/workspace/pingcap/tidb/release-6.5/ghpr_unit_test/tidb/.git/ .git HEAD is now at 4077269946 Merge commit '2a3f8205bcf7f220c130130c91ad9e6e646cae27' into HEAD POST git-upload-pack (686 bytes) POST git-upload-pack (1023 bytes) POST git-upload-pack (gzip 2073 to 1094 bytes) POST git-upload-pack (gzip 3673 to 1903 bytes) From https://github.com/pingcap/tidb * [new branch] release-6.5 -> origin/release-6.5 * [new ref] refs/pull/53005/head -> origin/pr/53005/head * [new tag] v5.4.0-20230324 -> v5.4.0-20230324 * [new tag] v5.4.0-20230327 -> v5.4.0-20230327 * [new tag] v5.4.0-20230328 -> v5.4.0-20230328 * [new tag] v6.5.0 -> v6.5.0 * [new tag] v6.5.1 -> v6.5.1 * [new tag] v6.5.2 -> v6.5.2 * [new tag] v6.5.3 -> v6.5.3 * [new tag] v6.5.4 -> v6.5.4 * [new tag] v6.5.5 -> v6.5.5 * [new tag] v6.5.6 -> v6.5.6 * [new tag] v6.5.7 -> v6.5.7 * [new tag] v6.5.8 -> v6.5.8 * [new tag] v6.5.9 -> v6.5.9 warning: unable to rmdir 'pkg/extension/enterprise': Directory not empty Warning: you are leaving 1 commit behind, not connected to any of your branches: 4077269946 Merge commit '2a3f8205bcf7f220c130130c91ad9e6e646cae27' into HEAD If you want to keep it by creating a new branch, this may be a good time to do so with: git branch 4077269946 HEAD is now at 9075922d3b br/operator: fix adapt env for snapshot backup stuck when encountered error (#52607) (#52969) 🚧 Checkouting to base SHA:9075922d3b11a2cebbe6d8fcde80533e7d7e88be... HEAD is now at 9075922d3b br/operator: fix adapt env for snapshot backup stuck when encountered error (#52607) (#52969) ✅ Checked. 🎉 🧾 HEAD info: 9075922d3b11a2cebbe6d8fcde80533e7d7e88be 9075922d3b br/operator: fix adapt env for snapshot backup stuck when encountered error (#52607) (#52969) 727a2c7e55 *: modify the printing of column default expression in `SHOW CREATE TABLE` and `Restore` (#52940) (#52949) ddc65433fc executor: Fix index join hash produces redundant rows for left outer anti semi join type (#52908) (#52926) 🚧 Pre-merge heads of pull requests to base SHA: 9075922d3b11a2cebbe6d8fcde80533e7d7e88be ... Merge made by the 'ort' strategy. br/pkg/lightning/common/retry.go | 4 ++++ br/pkg/lightning/common/retry_test.go | 2 +- br/pkg/pdutil/pd.go | 6 +++++- tests/realtikvtest/brietest/BUILD.bazel | 2 ++ tests/realtikvtest/brietest/pdutil_test.go | 33 ++++++++++++++++++++++++++++++ 5 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 tests/realtikvtest/brietest/pdutil_test.go 🧾 Pre-merged result: ee277bae2158967590e22f058bf0b7b5e5c95049 ee277bae21 Merge commit '329197d82e8a57bac0a7b1cfa3380e61c8379590' into HEAD 9075922d3b br/operator: fix adapt env for snapshot backup stuck when encountered error (#52607) (#52969) 329197d82e fix a mistakenly broken test ✅ Pre merged 🎉 Removing pkg/ ✅ ~~~~~All done.~~~~~~ [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // retry [Pipeline] } Cache saved successfully (git/pingcap/tidb/rev-9075922-329197d) 438436864 bytes in 7.93 secs (55299699 bytes/sec) [Pipeline] // cache [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/release-6.5/ghpr_unit_test/tidb [Pipeline] { [Pipeline] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . diff --git a/Makefile.common b/Makefile.common index e1ff465336..03ca85accd 100644 --- a/Makefile.common +++ b/Makefile.common @@ -116,5 +116,5 @@ TEST_COVERAGE_DIR := "test_coverage" ifneq ("$(CI)", "0") BAZEL_GLOBAL_CONFIG := --output_user_root=/home/jenkins/.tidb/tmp --host_jvm_args=-XX:+UnlockExperimentalVMOptions --host_jvm_args=-XX:+UseZGC - BAZEL_CMD_CONFIG := --config=ci --repository_cache=/home/jenkins/.tidb/tmp + BAZEL_CMD_CONFIG := --config=ci --repository_cache=/share/.cache/bazel-repository-cache endif + git status HEAD detached from origin/release-6.5 You are in a sparse checkout with 100% of tracked files present. Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git restore ..." to discard changes in working directory) modified: Makefile.common no changes added to commit (use "git add" and/or "git commit -a") [Pipeline] sh GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/release-6.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 --host_jvm_args=-XX:+UnlockExperimentalVMOptions --host_jvm_args=-XX:+UseZGC 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: b2470794-36b6-4e84-bd7e-c5ae71ebd384 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/release-6.5/ghpr_unit_test/tidb/.bazelrc: --host_jvm_args=-Xmx5g, --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-6.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_08_26_02.1662511134/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-6.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-6.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, 413 targets configured) Analyzing: target //:gazelle (44 packages loaded, 413 targets configured) Analyzing: target //:gazelle (44 packages loaded, 413 targets configured) Analyzing: target //:gazelle (93 packages loaded, 9646 targets configured) Analyzing: target //:gazelle (93 packages loaded, 9646 targets configured) Analyzing: target //:gazelle (183 packages loaded, 10444 targets configured) INFO: Analyzed target //:gazelle (253 packages loaded, 11091 targets configured). INFO: Found 1 target... [0 / 62] [Prepa] BazelWorkspaceStatusAction stable-status.txt [149 / 285] GoCompilePkg external/co_honnef_go_tools/go/ir/ir.a [for tool]; 0s remote-cache ... (14 actions, 0 running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 25.527s, Critical Path: 1.32s INFO: 285 processes: 269 remote cache hit, 16 internal. INFO: Build completed successfully, 285 total actions INFO: Running command line: bazel-bin/gazelle bazel --output_user_root=/home/jenkins/.tidb/tmp --host_jvm_args=-XX:+UnlockExperimentalVMOptions --host_jvm_args=-XX:+UseZGC coverage --config=ci --repository_cache=/share/.cache/bazel-repository-cache \ --build_event_json_file=bazel_1.json --@io_bazel_rules_go//go/config:cover_format=go_cover \ -- //... -//cmd/... -//tests/graceshutdown/... \ -//tests/globalkilltest/... -//tests/readonlytest/... -//br/pkg/task:task_test -//tests/realtikvtest/... INFO: Invocation ID: 702978af-492c-43a0-aa98-0a5bf563d131 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/release-6.5/ghpr_unit_test/tidb/.bazelrc: --host_jvm_args=-Xmx5g, --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-6.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_08_26_02.1662511134/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'coverage' 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: Reading rc options for 'coverage' from /home/jenkins/agent/workspace/pingcap/tidb/release-6.5/ghpr_unit_test/tidb/.bazelrc: Inherited 'test' options: --test_env=TZ=Asia/Shanghai --test_output=errors --test_summary=testcase INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/release-6.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-6.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=104857600 Loading: Loading: Loading: 0 packages loaded INFO: Using default value for --instrumentation_filter: "^//autoid_service[/:],^//bindinfo[/:],^//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/trace[/:],^//br/pkg/utils[/:],^//br/pkg/version[/:],^//config[/:],^//ddl[/:],^//distsql[/:],^//domain[/:],^//dumpling/export[/:],^//errno[/:],^//executor[/:],^//expression[/:],^//extension[/:],^//infoschema[/:],^//kv[/:],^//meta[/:],^//metrics[/:],^//owner[/:],^//parser[/:],^//planner/cascades[/:],^//planner/core[/:],^//planner/funcdep[/:],^//planner/implementation[/:],^//planner/memo[/:],^//planner/util[/:],^//plugin[/:],^//privilege/privileges[/:],^//server[/:],^//session[/:],^//sessionctx[/:],^//sessiontxn[/:],^//statistics[/:],^//store[/:],^//structure[/:],^//table[/:],^//tablecodec[/:],^//telemetry[/:],^//testkit/testfork[/:],^//testkit/testutil[/:],^//tidb-binlog/driver/reader[/:],^//tidb-binlog/node[/:],^//tidb-binlog/pump_client[/:],^//tidb-server[/:],^//ttl/cache[/:],^//ttl/metrics[/:],^//ttl/session[/:],^//ttl/sqlbuilder[/:],^//ttl/ttlworker[/:],^//types[/:],^//util[/:]". INFO: Override the above default with --instrumentation_filter INFO: Build options --@io_bazel_rules_go//go/config:cover_format, --collect_code_coverage, --instrumentation_filter, and 1 more have changed, discarding analysis cache. Analyzing: 751 targets (353 packages loaded, 0 targets configured) Analyzing: 751 targets (562 packages loaded, 3695 targets configured) Analyzing: 751 targets (998 packages loaded, 16977 targets configured) Analyzing: 751 targets (1151 packages loaded, 20779 targets configured) Analyzing: 751 targets (1152 packages loaded, 21559 targets configured) Analyzing: 751 targets (1272 packages loaded, 22698 targets configured) Analyzing: 751 targets (1286 packages loaded, 23008 targets configured) Analyzing: 751 targets (1292 packages loaded, 23457 targets configured) INFO: Analyzed 751 targets (1304 packages loaded, 23993 targets configured).  checking cached actions INFO: Found 505 targets and 246 test targets... [0 / 17] [Prepa] Writing file autoid_service/autoid_service_test/baseline_coverage.dat ... (15 actions, 0 running) [1,189 / 6,091] [Prepa] GoToolchainBinaryBuild external/go_sdk/builder [for tool] ... (16 actions, 14 running) [1,776 / 7,472] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64_race/runtime.a, 5.1 MiB / 8.7 MiB; 0s remote-cache ... (70 actions, 0 running) [1,865 / 7,472] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 1s remote-cache ... (70 actions, 0 running) [2,163 / 7,472] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 6.5 MiB / 22.7 MiB; 2s remote-cache ... (70 actions, 0 running) [2,641 / 7,490] GoCompilePkg external/io_k8s_api/core/v1/core.a; Downloading external/io_k8s_api/core/v1/core.a, 10.0 MiB / 20.1 MiB; 0s remote-cache ... (69 actions, 0 running) [3,061 / 7,516] JavaToolchainCompileBootClasspath external/bazel_tools/tools/jdk/platformclasspath.jar [for tool]; Downloading external/bazel_tools/tools/jdk/platformclasspath.jar, 26.0 MiB / 96.2 MiB; 0s remote-cache ... (70 actions, 0 running) [3,357 / 7,572] JavaToolchainCompileBootClasspath external/bazel_tools/tools/jdk/platformclasspath.jar [for tool]; Downloading external/bazel_tools/tools/jdk/platformclasspath.jar, 57.2 MiB / 96.2 MiB; 1s remote-cache ... (66 actions, 0 running) [3,675 / 7,580] JavaToolchainCompileBootClasspath external/bazel_tools/tools/jdk/platformclasspath.jar [for tool]; 2s remote-cache ... (69 actions, 0 running) [4,196 / 7,586] 54 / 246 tests; GoCompilePkg external/com_github_aws_aws_sdk_go/aws/endpoints/endpoints.a; Downloading external/com_github_aws_aws_sdk_go/aws/endpoints/endpoints.a, 16.0 MiB / 18.9 MiB; 0s remote-cache ... (39 actions, 0 running) [4,376 / 7,588] 55 / 246 tests; GoCompilePkg external/io_k8s_api/core/v1/core.a; Downloading external/io_k8s_api/core/v1/core.a, 17.0 MiB / 24.2 MiB; 0s remote-cache ... (45 actions, 0 running) [4,521 / 7,608] 64 / 246 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, 20.0 MiB / 74.3 MiB; 0s remote-cache ... (26 actions, 0 running) [4,612 / 7,608] 65 / 246 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, 40.0 MiB / 74.3 MiB; 1s remote-cache ... (28 actions, 0 running) [4,731 / 7,620] 71 / 246 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, 61.1 MiB / 74.3 MiB; 2s remote-cache ... (25 actions, 0 running) [4,888 / 7,620] 71 / 246 tests; GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; 3s remote-cache ... (55 actions, 0 running) [5,005 / 7,634] 75 / 246 tests; GoLink kv/kv_test_/kv_test; Downloading kv/kv_test_/kv_test, 16.0 MiB / 26.0 MiB; 1s remote-cache ... (37 actions, 0 running) [5,082 / 7,642] 81 / 246 tests; GoLink util/plancodec/plancodec_test_/plancodec_test; Downloading util/plancodec/plancodec_test_/plancodec_test, 21.0 MiB / 24.7 MiB; 2s remote-cache ... (50 actions, 0 running) [5,172 / 7,650] 83 / 246 tests; GoLink util/generatedexpr/generatedexpr_test_/generatedexpr_test; Downloading util/generatedexpr/generatedexpr_test_/generatedexpr_test, 28.0 MiB / 32.9 MiB; 2s remote-cache ... (57 actions, 0 running) [5,260 / 7,670] 92 / 246 tests; GoCompilePkg sessionctx/variable/expression.recompile848.a; Downloading sessionctx/variable/expression.recompile848.a, 36.0 MiB / 71.7 MiB; 1s remote-cache ... (32 actions, 0 running) [5,286 / 7,672] 97 / 246 tests; GoCompilePkg sessionctx/variable/expression.recompile848.a; Downloading sessionctx/variable/expression.recompile848.a, 64.0 MiB / 71.7 MiB; 2s remote-cache ... (17 actions, 0 running) [5,317 / 7,680] 100 / 246 tests; GoCompilePkg util/expression.recompile457.a; Downloading util/expression.recompile457.a, 59.0 MiB / 71.7 MiB; 3s remote-cache ... (16 actions, 0 running) [5,419 / 7,731] 101 / 246 tests; GoCompilePkg sessionctx/sessionstates/expression.recompile866.a; 4s remote-cache ... (42 actions, 0 running) [5,547 / 7,731] 102 / 246 tests; GoLink util/chunk/chunk_test_/chunk_test; Downloading util/chunk/chunk_test_/chunk_test, 28.0 MiB / 33.4 MiB; 1s remote-cache ... (62 actions, 0 running) [5,657 / 7,733] 103 / 246 tests; GoLink expression/aggregation/aggregation_test_/aggregation_test; Downloading expression/aggregation/aggregation_test_/aggregation_test, 35.0 MiB / 43.0 MiB; 1s remote-cache ... (66 actions, 0 running) [5,781 / 7,735] 104 / 246 tests; GoLink store/mockstore/unistore/cophandler/cophandler_test_/cophandler_test; Downloading store/mockstore/unistore/cophandler/cophandler_test_/cophandler_test, 35.0 MiB / 44.9 MiB; 2s remote-cache ... (72 actions, 4 running) [5,878 / 7,741] 105 / 246 tests; GoLink store/driver/txn/txn_test_/txn_test; Downloading store/driver/txn/txn_test_/txn_test, 40.0 MiB / 44.1 MiB; 2s remote-cache ... (74 actions, 8 running) [5,980 / 7,750] 107 / 246 tests; GoLink store/helper/helper_test_/helper_test; Downloading store/helper/helper_test_/helper_test, 21.0 MiB / 50.7 MiB; 2s remote-cache ... (72 actions, 4 running) [6,080 / 7,754] 111 / 246 tests; GoLink store/helper/helper_test_/helper_test; Downloading store/helper/helper_test_/helper_test, 32.0 MiB / 50.7 MiB; 3s remote-cache ... (72 actions, 4 running) [6,172 / 7,754] 112 / 246 tests; GoLink store/helper/helper_test_/helper_test; Downloading store/helper/helper_test_/helper_test, 42.0 MiB / 50.7 MiB; 4s remote-cache ... (71 actions, 6 running) [6,251 / 7,813] 112 / 246 tests; GoLink store/helper/helper_test_/helper_test; 5s remote-cache ... (73 actions, 6 running) [6,324 / 7,821] 117 / 246 tests; GoCompilePkg expression/expression.a; Downloading expression/expression.a, 61.0 MiB / 80.2 MiB; 6s remote-cache ... (71 actions, 2 running) [6,384 / 7,823] 120 / 246 tests; GoCompilePkg expression/expression.a; Downloading expression/expression.a, 70.0 MiB / 80.2 MiB; 7s remote-cache ... (42 actions, 2 running) [6,422 / 7,868] 122 / 246 tests; GoCompilePkg expression/expression.a; Downloading expression/expression.a, 80.0 MiB / 80.2 MiB; 8s remote-cache ... (71 actions, 2 running) [6,488 / 7,874] 123 / 246 tests; GoCompilePkg expression/expression_test.internal.recompileinternal.a; Downloading expression/expression_test.internal.recompileinternal.a, 141.0 MiB / 180.3 MiB; 7s remote-cache ... (56 actions, 2 running) [6,544 / 7,887] 128 / 246 tests; GoCompilePkg expression/expression_test.internal.recompileinternal.a; 8s remote-cache ... (55 actions, 0 running) [6,595 / 7,887] 128 / 246 tests; GoLink br/pkg/checkpoint/checkpoint_test_/checkpoint_test; Downloading br/pkg/checkpoint/checkpoint_test_/checkpoint_test, 49.0 MiB / 52.4 MiB; 6s remote-cache ... (77 actions, 20 running) [6,641 / 7,889] 128 / 246 tests; GoLink br/pkg/lightning/errormanager/errormanager_test_/errormanager_test; Downloading br/pkg/lightning/errormanager/errormanager_test_/errormanager_test, 52.0 MiB / 53.0 MiB; 6s remote-cache ... (77 actions, 14 running) [6,706 / 7,946] 129 / 246 tests; GoLink br/pkg/lightning/mydump/mydump_test_/mydump_test; Downloading br/pkg/lightning/mydump/mydump_test_/mydump_test, 57.9 MiB / 61.8 MiB; 7s remote-cache ... (73 actions, 6 running) [6,763 / 7,950] 133 / 246 tests; GoLink br/pkg/lightning/backend/tidb/tidb_test_/tidb_test; Downloading br/pkg/lightning/backend/tidb/tidb_test_/tidb_test, 39.0 MiB / 56.0 MiB; 5s remote-cache ... (75 actions, 10 running) [6,817 / 7,950] 135 / 246 tests; GoLink br/pkg/lightning/backend/tidb/tidb_test_/tidb_test; Downloading br/pkg/lightning/backend/tidb/tidb_test_/tidb_test, 48.0 MiB / 56.0 MiB; 6s remote-cache ... (75 actions, 10 running) [6,868 / 7,954] 135 / 246 tests; GoLink br/pkg/lightning/backend/tidb/tidb_test_/tidb_test; 7s remote-cache ... (75 actions, 10 running) [6,933 / 7,956] 137 / 246 tests; GoLink owner/owner_test_/owner_test; Downloading owner/owner_test_/owner_test, 56.0 MiB / 74.9 MiB; 5s remote-cache ... (74 actions, 8 running) [6,992 / 7,956] 138 / 246 tests; GoLink owner/owner_test_/owner_test; Downloading owner/owner_test_/owner_test, 72.0 MiB / 74.9 MiB; 6s remote-cache ... (78 actions, 16 running) [7,046 / 7,960] 138 / 246 tests; GoCompilePkg planner/funcdep/core.recompile920.a; Downloading planner/funcdep/core.recompile920.a, 29.0 MiB / 31.9 MiB; 4s remote-cache ... (84 actions, 30 running) [7,096 / 7,960] 140 / 246 tests; GoCompilePkg planner/core/core_test.internal.recompileinternal.a; Downloading planner/core/core_test.internal.recompileinternal.a, 28.0 MiB / 34.3 MiB; 4s remote-cache ... (87 actions, 34 running) [7,148 / 7,960] 140 / 246 tests; GoLink planner/util/util_test_/util_test; Downloading planner/util/util_test_/util_test, 34.0 MiB / 74.4 MiB; 5s remote-cache ... (84 actions, 28 running) [7,194 / 7,960] 141 / 246 tests; GoLink planner/util/util_test_/util_test; Downloading planner/util/util_test_/util_test, 40.6 MiB / 74.4 MiB; 6s remote-cache ... (76 actions, 22 running) [7,237 / 7,960] 141 / 246 tests; GoLink planner/util/util_test_/util_test; Downloading planner/util/util_test_/util_test, 49.0 MiB / 74.4 MiB; 7s remote-cache ... (65 actions, 16 running) [7,266 / 7,962] 141 / 246 tests; GoLink planner/util/util_test_/util_test; Downloading planner/util/util_test_/util_test, 56.0 MiB / 74.4 MiB; 8s remote-cache ... (67 actions, 18 running) [7,297 / 7,964] 141 / 246 tests; GoLink planner/util/util_test_/util_test; Downloading planner/util/util_test_/util_test, 63.0 MiB / 74.4 MiB; 9s remote-cache ... (72 actions, 22 running) [7,327 / 7,966] 142 / 246 tests; GoLink planner/util/util_test_/util_test; Downloading planner/util/util_test_/util_test, 71.0 MiB / 74.4 MiB; 10s remote-cache ... (74 actions, 22 running) [7,350 / 7,970] 144 / 246 tests; GoLink br/pkg/lightning/common/common_test_/common_test; Downloading br/pkg/lightning/common/common_test_/common_test, 71.0 MiB / 74.5 MiB; 10s remote-cache ... (71 actions, 20 running) [7,375 / 7,998] 145 / 246 tests; GoCompilePkg sessionctx/variable/executor.recompile926.a; 9s remote-cache, linux-sandbox ... (81 actions, 22 running) [7,395 / 8,000] 147 / 246 tests; GoCompilePkg sessionctx/variable/executor.recompile926.a; 10s remote-cache, linux-sandbox ... (83 actions, 26 running) [7,425 / 8,002] 148 / 246 tests; GoCompilePkg sessionctx/variable/executor.recompile926.a; 11s remote-cache, linux-sandbox ... (75 actions, 28 running) [7,453 / 8,002] 150 / 246 tests; GoCompilePkg sessionctx/variable/executor.recompile926.a; 12s remote-cache, linux-sandbox ... (66 actions, 30 running) [7,499 / 8,010] 151 / 246 tests; GoCompilePkg sessionctx/variable/executor.recompile926.a; 13s remote-cache, linux-sandbox ... (79 actions, 36 running) [7,557 / 8,016] 155 / 246 tests; GoCompilePkg sessionctx/variable/executor.recompile926.a; 14s remote-cache, linux-sandbox ... (77 actions, 40 running) [7,639 / 8,018] 158 / 246 tests; GoCompilePkg domain/executor.recompile1078.a; 11s remote-cache, linux-sandbox ... (101 actions, 62 running) [7,713 / 8,048] 159 / 246 tests; GoCompilePkg domain/executor.recompile1078.a; 12s remote-cache, linux-sandbox ... (129 actions, 119 running) [7,742 / 8,048] 160 / 246 tests; GoCompilePkg domain/executor.recompile1078.a; 13s remote-cache, linux-sandbox ... (135 actions, 130 running) [7,757 / 8,059] 160 / 246 tests; GoCompilePkg infoschema/perfschema/executor.recompile926.a; 12s remote-cache, linux-sandbox ... (136 actions, 133 running) [7,768 / 8,114] 160 / 246 tests; GoCompilePkg ttl/ttlworker/executor.recompile923.a; 11s remote-cache, linux-sandbox ... (137 actions, 134 running) [7,780 / 8,116] 160 / 246 tests; GoCompilePkg ttl/ttlworker/executor.recompile923.a; 12s remote-cache, linux-sandbox ... (134 actions, 129 running) [7,785 / 8,136] 160 / 246 tests; GoCompilePkg ttl/ttlworker/executor.recompile923.a; 14s remote-cache, linux-sandbox ... (138 actions, 136 running) [7,804 / 8,140] 160 / 246 tests; GoCompilePkg ttl/ttlworker/executor.recompile923.a; 15s remote-cache, linux-sandbox ... (136 actions, 132 running) [7,820 / 8,140] 162 / 246 tests; GoCompilePkg ttl/ttlworker/executor.recompile923.a; 16s remote-cache, linux-sandbox ... (135 actions, 130 running) [7,825 / 8,140] 162 / 246 tests; GoCompilePkg ttl/ttlworker/executor.recompile923.a; 17s remote-cache, linux-sandbox ... (138 actions, 136 running) [7,833 / 8,140] 162 / 246 tests; GoCompilePkg br/pkg/backup/executor.recompile951.a; 17s remote-cache, linux-sandbox ... (138 actions, 136 running) [7,841 / 8,142] 162 / 246 tests; GoLink telemetry/telemetry_test_/telemetry_test; 13s remote-cache, linux-sandbox ... (139 actions, 138 running) [7,861 / 8,191] 163 / 246 tests; GoLink telemetry/telemetry_test_/telemetry_test; 14s remote-cache, linux-sandbox ... (133 actions, 127 running) [7,879 / 8,197] 163 / 246 tests; GoLink store/mockstore/mockcopr/mockcopr_test_/mockcopr_test; 15s remote-cache, linux-sandbox ... (134 actions, 128 running) [7,894 / 8,201] 163 / 246 tests; GoLink store/mockstore/mockcopr/mockcopr_test_/mockcopr_test; 16s remote-cache, linux-sandbox ... (135 actions, 130 running) [7,921 / 8,287] 163 / 246 tests; GoLink ddl/ddl_test_/ddl_test; 16s remote-cache, linux-sandbox ... (135 actions, 130 running) [8,001 / 8,581] 167 / 246 tests; Testing //types:types_test; 16s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,017 / 8,639] 172 / 246 tests; Testing //types:types_test; 17s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,022 / 8,639] 173 / 246 tests; Testing //types:types_test; 19s remote-cache, linux-sandbox ... (140 actions running) [8,022 / 8,639] 173 / 246 tests; Testing //types:types_test; 20s remote-cache, linux-sandbox ... (140 actions running) [8,026 / 8,639] 174 / 246 tests; Testing //types:types_test; 21s remote-cache, linux-sandbox ... (140 actions running) [8,031 / 8,639] 176 / 246 tests; Testing //types:types_test; 22s remote-cache, linux-sandbox ... (140 actions running) [8,045 / 8,639] 183 / 246 tests; Testing //types:types_test; 23s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,057 / 8,694] 184 / 246 tests; Testing //types:types_test; 24s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,065 / 8,694] 185 / 246 tests; Testing //types:types_test; 25s remote-cache, linux-sandbox ... (139 actions running) [8,083 / 8,703] 187 / 246 tests; Testing //types:types_test; 27s remote-cache, linux-sandbox ... (140 actions running) [8,102 / 8,768] 189 / 246 tests; Testing //types:types_test; 28s remote-cache, linux-sandbox ... (139 actions running) [8,111 / 8,819] 190 / 246 tests; Testing //types:types_test; 29s remote-cache, linux-sandbox ... (140 actions running) [8,118 / 8,819] 190 / 246 tests; Testing //types:types_test; 30s remote-cache, linux-sandbox ... (140 actions running) [8,123 / 8,819] 191 / 246 tests; Testing //types:types_test; 31s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,130 / 8,819] 191 / 246 tests; Testing //types:types_test; 33s remote-cache, linux-sandbox ... (140 actions running) [8,131 / 8,819] 191 / 246 tests; Testing //types:types_test; 35s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,140 / 8,819] 191 / 246 tests; Testing //types:types_test; 36s remote-cache, linux-sandbox ... (135 actions, 130 running) [8,147 / 8,821] 191 / 246 tests; Testing //types:types_test; 37s remote-cache, linux-sandbox ... (140 actions running) [8,166 / 8,821] 195 / 246 tests; Testing //types:types_test; 38s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,174 / 8,821] 196 / 246 tests; Testing //types:types_test; 39s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,181 / 8,821] 196 / 246 tests; Testing //types:types_test; 40s remote-cache, linux-sandbox ... (139 actions running) [8,187 / 8,821] 196 / 246 tests; Testing //types:types_test; 41s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,198 / 8,821] 196 / 246 tests; Testing //types:types_test; 43s remote-cache, linux-sandbox ... (140 actions running) [8,209 / 8,823] 196 / 246 tests; Testing //types:types_test; 44s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,216 / 8,823] 197 / 246 tests; Testing //types:types_test; 45s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,216 / 8,823] 197 / 246 tests; Testing //types:types_test; 47s remote-cache, linux-sandbox ... (140 actions running) [8,220 / 8,823] 197 / 246 tests; Testing //types:types_test; 48s remote-cache, linux-sandbox ... (140 actions running) [8,230 / 8,823] 197 / 246 tests; Testing //types:types_test; 49s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,239 / 8,823] 199 / 246 tests; Testing //statistics:statistics_test; 40s remote-cache, linux-sandbox ... (140 actions running) [8,249 / 8,874] 199 / 246 tests; Testing //statistics:statistics_test; 41s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,253 / 8,925] 199 / 246 tests; Testing //statistics:statistics_test; 42s remote-cache, linux-sandbox ... (139 actions running) [8,256 / 8,925] 200 / 246 tests; Testing //statistics:statistics_test; 43s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,263 / 8,925] 202 / 246 tests; Testing //statistics:statistics_test; 44s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,274 / 8,987] 202 / 246 tests; Testing //statistics:statistics_test; 45s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,278 / 8,989] 202 / 246 tests; Testing //statistics:statistics_test; 46s remote-cache, linux-sandbox ... (139 actions, 138 running) FAIL: //server:server_test (shard 11 of 50) (see /home/jenkins/.tidb/tmp/45c44f383a26fe92ddbb5dda36c71ef8/execroot/__main__/bazel-out/k8-fastbuild/testlogs/server/server_test/shard_11_of_50/test_attempts/attempt_1.log) [8,281 / 8,989] 202 / 246 tests; Testing //statistics:statistics_test; 48s remote-cache, linux-sandbox ... (140 actions running) [8,301 / 8,989] 204 / 246 tests; Testing //statistics:statistics_test; 49s remote-cache, linux-sandbox ... (140 actions running) [8,305 / 8,989] 204 / 246 tests; Testing //statistics:statistics_test; 50s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,309 / 8,989] 204 / 246 tests; Testing //statistics:statistics_test; 51s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,309 / 8,989] 204 / 246 tests; Testing //statistics:statistics_test; 53s remote-cache, linux-sandbox ... (140 actions running) [8,322 / 8,989] 205 / 246 tests; Testing //statistics:statistics_test; 54s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,322 / 8,989] 205 / 246 tests; Testing //statistics:statistics_test; 56s remote-cache, linux-sandbox ... (140 actions running) [8,336 / 8,989] 205 / 246 tests; Testing //statistics:statistics_test; 57s remote-cache, linux-sandbox ... (140 actions running) [8,342 / 8,989] 205 / 246 tests; Testing //statistics:statistics_test; 58s remote-cache, linux-sandbox ... (140 actions running) [8,350 / 8,989] 206 / 246 tests; Testing //statistics:statistics_test; 59s remote-cache, linux-sandbox ... (140 actions running) INFO: From Testing //server:server_test (shard 11 of 50): ==================== Test output for //server:server_test (shard 11 of 50): === RUN TestCursorFetchErrorInFetch [2024/05/06 16:29:04.721 +08:00] [INFO] [region_cache.go:2484] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 16:29:04.721 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:29:04.721 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:29:04.723 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:29:04.723 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:29:04.724 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:29:04.724 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=877a7d46-88e6-410d-9473-4ecc2fc3e009] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 16:29:04.728 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).Init\n\tdomain/domain.go:1074\ngithub.com/pingcap/tidb/session.(*domainMap).Get.func1\n\tsession/tidb.go:90\ngithub.com/pingcap/tidb/util.RunWithRetry\n\tutil/misc.go:69\ngithub.com/pingcap/tidb/session.(*domainMap).Get\n\tsession/tidb.go:76\ngithub.com/pingcap/tidb/session.createSessionWithOpt\n\tsession/session.go:3520\ngithub.com/pingcap/tidb/session.createSession\n\tsession/session.go:3516\ngithub.com/pingcap/tidb/session.runInBootstrapSession\n\tsession/session.go:3480\ngithub.com/pingcap/tidb/session.BootstrapSession\n\tsession/session.go:3309\ngithub.com/pingcap/tidb/testkit.bootstrap\n\ttestkit/mockstore.go:84\ngithub.com/pingcap/tidb/testkit.CreateMockStoreAndDomain\n\ttestkit/mockstore.go:69\ngithub.com/pingcap/tidb/server.TestCursorFetchErrorInFetch\n\tserver/conn_stmt_test.go:527\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1446\nruntime.goexit\n\tGOROOT/src/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:29:04.731 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=2.431125ms] [2024/05/06 16:29:04.731 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:29:04.731 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=b65c00d1-a377-497d-b336-70327024ad1d] [runWorker=true] [2024/05/06 16:29:04.731 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:29:04.732 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:29:04.732 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 1, tp general"] [2024/05/06 16:29:04.732 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 16:29:04.732 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 2, tp add index"] [2024/05/06 16:29:04.732 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:29:04.732 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:29:04.732 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:29:04.733 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 16:29:04.736 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:04.735 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:04.736 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:29:04.735 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 16:29:04.742 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:04.735 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:04.746 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=2.280981ms] [2024/05/06 16:29:04.746 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:29:04.782 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:04.782 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=3] [version=1] [2024/05/06 16:29:04.783 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=39.055902ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:29:04.735 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:04.787 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:04.735 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:04.790 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=3] [2024/05/06 16:29:04.790 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:04.791 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 16:29:04.792 +08:00] [INFO] [session.go:3817] ["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 16:29:04.797 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:04.793 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:04.797 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:04.793 +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 16:29:04.803 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:04.793 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:04.815 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=923.067µs] [phyTblIDs="[4]"] [actionTypes="[8]"] [2024/05/06 16:29:04.832 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:04.832 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=5] [version=2] [2024/05/06 16:29:04.834 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=20.744488ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:04.793 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:04.839 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:04.793 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:04.847 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=5] [2024/05/06 16:29:04.847 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:04.847 +08:00] [INFO] [session.go:3817] ["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 16:29:04.851 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:04.849 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:04.851 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:04.849 +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 16:29:04.857 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:04.849 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:04.859 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=218.246µs] [phyTblIDs="[6]"] [actionTypes="[8]"] [2024/05/06 16:29:04.882 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:04.882 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=7] [version=3] [2024/05/06 16:29:04.883 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=24.454488ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:04.849 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:04.889 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:04.849 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:04.891 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=7] [2024/05/06 16:29:04.892 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:04.892 +08:00] [INFO] [session.go:3817] ["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 16:29:04.894 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:04.893 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:04.894 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:04.893 +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 16:29:04.900 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:04.893 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:04.904 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=250.357µs] [phyTblIDs="[8]"] [actionTypes="[8]"] [2024/05/06 16:29:04.933 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:04.933 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=9] [version=4] [2024/05/06 16:29:04.934 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=30.793834ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:04.893 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:04.938 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:04.893 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:04.941 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=9] [2024/05/06 16:29:04.941 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:04.941 +08:00] [INFO] [session.go:3817] ["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),\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 16:29:04.945 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:04.943 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:04.945 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:04.943 +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),\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 16:29:04.950 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:04.943 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:04.956 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=434.724µs] [phyTblIDs="[10]"] [actionTypes="[8]"] [2024/05/06 16:29:04.982 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:04.982 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=11] [version=5] [2024/05/06 16:29:04.983 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=28.015422ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:04.943 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:04.987 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:04.943 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:04.992 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=11] [2024/05/06 16:29:04.992 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:04.993 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:29:04.996 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:04.995 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:04.996 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:04.995 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:29:05.001 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:04.995 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.004 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=291.503µs] [phyTblIDs="[12]"] [actionTypes="[8]"] [2024/05/06 16:29:05.032 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:05.032 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=13] [version=6] [2024/05/06 16:29:05.034 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=31.189972ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:04.995 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.038 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:04.995 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.044 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=13] [2024/05/06 16:29:05.044 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:05.044 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:29:05.047 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:05.046 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:05.047 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.046 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:29:05.052 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.046 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.055 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=246.832µs] [phyTblIDs="[14]"] [actionTypes="[8]"] [2024/05/06 16:29:05.083 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:05.083 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=15] [version=7] [2024/05/06 16:29:05.085 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=30.366704ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.046 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.089 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.046 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.091 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=15] [2024/05/06 16:29:05.092 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:05.092 +08:00] [INFO] [session.go:3817] ["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(1024) DEFAULT NULL);"] [user=] [2024/05/06 16:29:05.094 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:05.093 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:05.094 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.093 +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(1024) DEFAULT NULL);"] [2024/05/06 16:29:05.099 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.093 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.101 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=159.469µs] [phyTblIDs="[16]"] [actionTypes="[8]"] [2024/05/06 16:29:05.133 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:05.133 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=17] [version=8] [2024/05/06 16:29:05.135 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=34.270891ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.093 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.138 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.093 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.143 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=17] [2024/05/06 16:29:05.143 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:05.143 +08:00] [INFO] [session.go:3817] ["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 16:29:05.145 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:05.144 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:05.145 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.144 +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 16:29:05.152 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.144 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.154 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=221.684µs] [phyTblIDs="[18]"] [actionTypes="[8]"] [2024/05/06 16:29:05.182 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:05.182 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=19] [version=9] [2024/05/06 16:29:05.184 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=30.158789ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.144 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.188 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.144 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.191 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=19] [2024/05/06 16:29:05.191 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:05.192 +08:00] [INFO] [session.go:3817] ["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 16:29:05.194 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:05.193 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:05.194 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.193 +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 16:29:05.198 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.193 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.201 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=256.792µs] [phyTblIDs="[20]"] [actionTypes="[8]"] [2024/05/06 16:29:05.234 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:05.234 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=21] [version=10] [2024/05/06 16:29:05.235 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=34.386656ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.193 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.242 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.193 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.245 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=21] [2024/05/06 16:29:05.245 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:05.246 +08:00] [INFO] [session.go:3817] ["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 16:29:05.248 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:05.247 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:05.248 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.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 16:29:05.253 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.247 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.256 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=273.998µs] [phyTblIDs="[22]"] [actionTypes="[8]"] [2024/05/06 16:29:05.283 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:05.283 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=23] [version=11] [2024/05/06 16:29:05.285 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=29.065609ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.247 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.289 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.247 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.291 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=23] [2024/05/06 16:29:05.291 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:05.291 +08:00] [INFO] [session.go:3817] ["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 16:29:05.291 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [2024/05/06 16:29:05.293 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:05.292 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:05.293 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.292 +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 16:29:05.297 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.292 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.300 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=306.451µs] [phyTblIDs="[24]"] [actionTypes="[8]"] [2024/05/06 16:29:05.339 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:05.339 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=25] [version=12] [2024/05/06 16:29:05.340 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=40.540585ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.292 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.348 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.292 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.352 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=25] [2024/05/06 16:29:05.352 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:05.352 +08:00] [INFO] [session.go:3817] ["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 16:29:05.354 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:05.353 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:05.355 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.353 +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 16:29:05.361 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.353 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.364 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=325.326µs] [phyTblIDs="[26]"] [actionTypes="[8]"] [2024/05/06 16:29:05.383 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:05.383 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=27] [version=13] [2024/05/06 16:29:05.384 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=20.278117ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.353 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.388 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.353 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.391 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=27] [2024/05/06 16:29:05.391 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:05.392 +08:00] [INFO] [session.go:3817] ["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 16:29:05.395 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:05.393 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:05.395 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.393 +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 16:29:05.400 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.393 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.403 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=271.219µs] [phyTblIDs="[28]"] [actionTypes="[8]"] [2024/05/06 16:29:05.445 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:05.445 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=29] [version=14] [2024/05/06 16:29:05.447 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=44.177809ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.393 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.453 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.393 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.456 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=29] [2024/05/06 16:29:05.456 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:05.456 +08:00] [INFO] [session.go:3817] ["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 16:29:05.459 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:05.458 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:05.459 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.458 +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 16:29:05.464 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.458 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.467 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=199.101µs] [phyTblIDs="[30]"] [actionTypes="[8]"] [2024/05/06 16:29:05.483 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:05.483 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=31] [version=15] [2024/05/06 16:29:05.485 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=18.358984ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.458 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.489 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.458 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.491 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=31] [2024/05/06 16:29:05.492 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:05.493 +08:00] [INFO] [session.go:3817] ["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 16:29:05.497 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:05.496 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:05.497 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.496 +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 16:29:05.502 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.496 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.504 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=185.023µs] [phyTblIDs="[32]"] [actionTypes="[8]"] [2024/05/06 16:29:05.532 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:05.533 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=33] [version=16] [2024/05/06 16:29:05.535 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=30.717881ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.496 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.540 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.496 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.543 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=33] [2024/05/06 16:29:05.543 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:05.543 +08:00] [INFO] [session.go:3817] ["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 16:29:05.546 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:05.545 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:05.546 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.545 +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 16:29:05.552 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.545 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.555 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=218.176µs] [phyTblIDs="[34]"] [actionTypes="[8]"] [2024/05/06 16:29:05.582 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:05.582 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=35] [version=17] [2024/05/06 16:29:05.583 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=28.919939ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.545 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.587 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.545 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.590 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=35] [2024/05/06 16:29:05.590 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:05.591 +08:00] [INFO] [session.go:3817] ["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 16:29:05.593 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:05.592 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:05.593 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.592 +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 16:29:05.597 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.592 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.600 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=218.579µs] [phyTblIDs="[36]"] [actionTypes="[8]"] [2024/05/06 16:29:05.637 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:05.637 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=37] [version=18] [2024/05/06 16:29:05.638 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=38.033967ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.592 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.644 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.592 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.647 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=37] [2024/05/06 16:29:05.647 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:05.647 +08:00] [INFO] [session.go:3817] ["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 16:29:05.651 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:05.649 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:05.651 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.649 +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 16:29:05.656 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.649 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.660 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=267.138µs] [phyTblIDs="[38]"] [actionTypes="[8]"] [2024/05/06 16:29:05.682 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:05.682 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=39] [version=19] [2024/05/06 16:29:05.684 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=24.927675ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.649 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.689 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.649 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.693 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=39] [2024/05/06 16:29:05.693 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:05.694 +08:00] [INFO] [session.go:3817] ["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 16:29:05.697 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:05.695 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:05.697 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.695 +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 16:29:05.701 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.695 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.704 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=207.325µs] [phyTblIDs="[40]"] [actionTypes="[8]"] [2024/05/06 16:29:05.733 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:05.733 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=41] [version=20] [2024/05/06 16:29:05.734 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=30.683384ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.695 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.744 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.695 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.748 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=41] [2024/05/06 16:29:05.748 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:05.748 +08:00] [INFO] [session.go:3817] ["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 16:29:05.750 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:05.749 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:05.750 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.749 +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 16:29:05.756 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.749 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.759 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=194.807µs] [phyTblIDs="[42]"] [actionTypes="[8]"] [2024/05/06 16:29:05.782 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:05.782 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=43] [version=21] [2024/05/06 16:29:05.783 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=24.924165ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.749 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.787 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.749 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.790 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=43] [2024/05/06 16:29:05.790 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:05.790 +08:00] [INFO] [session.go:3817] ["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 16:29:05.792 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:05.791 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:05.792 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.791 +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 16:29:05.798 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.791 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.800 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=166.987µs] [phyTblIDs="[44]"] [actionTypes="[8]"] [2024/05/06 16:29:05.833 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:05.833 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=45] [version=22] [2024/05/06 16:29:05.835 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=34.995777ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.791 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.841 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.791 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.844 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=45] [2024/05/06 16:29:05.844 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:05.844 +08:00] [INFO] [session.go:3817] ["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 16:29:05.847 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:05.846 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:05.848 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.846 +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 16:29:05.853 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.846 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.857 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=334.354µs] [phyTblIDs="[46]"] [actionTypes="[8]"] [2024/05/06 16:29:05.882 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:05.882 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=47] [version=23] [2024/05/06 16:29:05.883 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=26.857168ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.846 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.887 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.846 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.889 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=47] [2024/05/06 16:29:05.890 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:05.890 +08:00] [INFO] [session.go:3817] ["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 16:29:05.892 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:05.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:05.892 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.891 +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 16:29:05.897 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.900 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=288.825µs] [phyTblIDs="[48]"] [actionTypes="[8]"] [2024/05/06 16:29:05.933 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:05.933 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=49] [version=24] [2024/05/06 16:29:05.934 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=34.627886ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.940 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.943 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=49] [2024/05/06 16:29:05.943 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:05.943 +08:00] [INFO] [session.go:3817] ["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 16:29:05.946 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:05.945 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:05.946 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.945 +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 16:29:05.952 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.945 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.954 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=182.802µs] [phyTblIDs="[50]"] [actionTypes="[8]"] [2024/05/06 16:29:05.982 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:05.982 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=51] [version=25] [2024/05/06 16:29:05.984 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=30.383219ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.945 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.988 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.945 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:05.991 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=51] [2024/05/06 16:29:05.991 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:05.991 +08:00] [INFO] [session.go:3817] ["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 16:29:05.993 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:05.992 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:05.993 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.992 +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 16:29:05.998 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.992 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.001 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=203.473µs] [phyTblIDs="[52]"] [actionTypes="[8]"] [2024/05/06 16:29:06.033 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:06.033 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=53] [version=26] [2024/05/06 16:29:06.035 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=34.892796ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:05.992 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.040 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:05.992 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.043 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=53] [2024/05/06 16:29:06.043 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:06.043 +08:00] [INFO] [session.go:3817] ["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 16:29:06.045 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:06.044 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:06.045 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:06.044 +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 16:29:06.054 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:06.044 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.058 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=280.759µs] [phyTblIDs="[54]"] [actionTypes="[8]"] [2024/05/06 16:29:06.082 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:06.082 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=55] [version=27] [2024/05/06 16:29:06.085 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=26.821787ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:06.044 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.089 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:06.044 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.092 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=55] [2024/05/06 16:29:06.092 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:06.092 +08:00] [INFO] [session.go:3817] ["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 16:29:06.094 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:06.093 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:06.094 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:06.093 +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 16:29:06.102 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:06.093 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.105 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=267.872µs] [phyTblIDs="[56]"] [actionTypes="[8]"] [2024/05/06 16:29:06.132 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:06.132 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=57] [version=28] [2024/05/06 16:29:06.133 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=28.253318ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:06.093 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.139 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:06.093 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.143 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=57] [2024/05/06 16:29:06.143 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:06.144 +08:00] [INFO] [session.go:3817] ["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 16:29:06.146 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:06.145 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:06.146 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:06.145 +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 16:29:06.155 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:06.145 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.157 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=254.816µs] [phyTblIDs="[58]"] [actionTypes="[8]"] [2024/05/06 16:29:06.182 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:06.182 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=59] [version=29] [2024/05/06 16:29:06.184 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=27.067606ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:06.145 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.188 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:06.145 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.190 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=59] [2024/05/06 16:29:06.190 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:06.191 +08:00] [INFO] [session.go:3817] ["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 16:29:06.191 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [2024/05/06 16:29:06.193 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:06.192 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:06.193 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:06.192 +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 16:29:06.197 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:06.192 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.200 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=209.146µs] [phyTblIDs="[60]"] [actionTypes="[8]"] [2024/05/06 16:29:06.233 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:06.233 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=61] [version=30] [2024/05/06 16:29:06.234 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=34.813535ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:06.192 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.241 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:06.192 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.245 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=61] [2024/05/06 16:29:06.245 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:06.246 +08:00] [INFO] [session.go:3817] ["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\t);"] [user=] [2024/05/06 16:29:06.248 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:06.247 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:06.248 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:06.247 +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\t);"] [2024/05/06 16:29:06.254 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:06.247 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.258 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=266.443µs] [phyTblIDs="[62]"] [actionTypes="[8]"] [2024/05/06 16:29:06.282 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:06.282 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=63] [version=31] [2024/05/06 16:29:06.284 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=27.013218ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:06.247 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.289 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:06.247 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.292 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=63] [2024/05/06 16:29:06.292 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:06.292 +08:00] [INFO] [session.go:3817] ["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\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\t);"] [user=] [2024/05/06 16:29:06.294 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:06.293 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:06.295 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:06.293 +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\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\t);"] [2024/05/06 16:29:06.299 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:06.293 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.303 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=333.621µs] [phyTblIDs="[64]"] [actionTypes="[8]"] [2024/05/06 16:29:06.332 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:06.332 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=65] [version=32] [2024/05/06 16:29:06.335 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=32.441413ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:06.293 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.339 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:06.293 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.342 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=65] [2024/05/06 16:29:06.342 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:06.343 +08:00] [INFO] [session.go:3817] ["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 16:29:06.346 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:06.344 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:06.346 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:06.344 +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 16:29:06.358 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:06.344 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.362 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=317.593µs] [phyTblIDs="[66]"] [actionTypes="[8]"] [2024/05/06 16:29:06.382 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:06.382 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=67] [version=33] [2024/05/06 16:29:06.384 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=22.751295ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:06.344 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.389 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:06.344 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.393 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=67] [2024/05/06 16:29:06.393 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:06.394 +08:00] [INFO] [session.go:3817] ["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 16:29:06.395 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:06.395 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:06.396 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:06.395 +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 16:29:06.400 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:06.395 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.402 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=125.226µs] [phyTblIDs="[68]"] [actionTypes="[8]"] [2024/05/06 16:29:06.432 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:06.432 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=69] [version=34] [2024/05/06 16:29:06.434 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=32.26663ms] [job="ID:69, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:06.395 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.438 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:06.395 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.441 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=69] [2024/05/06 16:29:06.441 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:06.445 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:06.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:06.445 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:29:06.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] [2024/05/06 16:29:06.451 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:06.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.455 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=228.573µs] [phyTblIDs="[70]"] [actionTypes="[2097152]"] [2024/05/06 16:29:06.482 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:06.482 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=71] [version=35] [2024/05/06 16:29:06.482 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=28.067634ms] [job="ID:71, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:29:06.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.485 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:71, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:06.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.488 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=71] [2024/05/06 16:29:06.488 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:06.488 +08:00] [INFO] [session.go:3817] ["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 16:29:06.490 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:06.489 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:06.491 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:06.489 +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 16:29:06.495 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:06.489 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.498 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=275.789µs] [phyTblIDs="[72]"] [actionTypes="[8]"] [2024/05/06 16:29:06.532 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:06.532 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=73] [version=36] [2024/05/06 16:29:06.534 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=36.890794ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:06.489 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.538 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:06.489 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.542 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=73] [2024/05/06 16:29:06.542 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:06.542 +08:00] [INFO] [session.go:3817] ["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 16:29:06.544 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:06.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:06.544 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:06.543 +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 16:29:06.550 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:06.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.552 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=259.649µs] [phyTblIDs="[74]"] [actionTypes="[8]"] [2024/05/06 16:29:06.583 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:06.583 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=75] [version=37] [2024/05/06 16:29:06.585 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=32.671612ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:06.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.589 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:06.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.591 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=75] [2024/05/06 16:29:06.591 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:06.592 +08:00] [INFO] [session.go:3817] ["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 16:29:06.609 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:06.606 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:06.610 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:06.606 +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 16:29:06.618 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:06.606 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.620 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=243.827µs] [phyTblIDs="[76]"] [actionTypes="[8]"] [2024/05/06 16:29:06.632 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:06.632 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=77] [version=38] [2024/05/06 16:29:06.635 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=38] ["take time"=14.53946ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:06.606 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.640 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:06.606 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.644 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=77] [2024/05/06 16:29:06.644 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:06.645 +08:00] [INFO] [session.go:3817] ["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 16:29:06.648 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:06.646 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:06.648 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:06.646 +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 16:29:06.652 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:06.646 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.656 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=452.743µs] [phyTblIDs="[78]"] [actionTypes="[8]"] [2024/05/06 16:29:06.682 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:06.682 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=79] [version=39] [2024/05/06 16:29:06.684 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=39] ["take time"=28.61647ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:06.646 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.688 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:06.646 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:06.692 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=79] [2024/05/06 16:29:06.692 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:06.714 +08:00] [INFO] [bootstrap.go:529] ["bootstrap successful"] ["take time"=1.98155368s] [2024/05/06 16:29:06.714 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:29:06.714 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 12, tp add index"] ["take time"=1.3µs] [2024/05/06 16:29:06.714 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 13, tp add index"] ["take time"=864ns] [2024/05/06 16:29:06.714 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 4, tp add index"] ["take time"=8.395µs] [2024/05/06 16:29:06.714 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 5, tp add index"] ["take time"=916ns] [2024/05/06 16:29:06.714 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 6, tp add index"] ["take time"=980ns] [2024/05/06 16:29:06.714 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 7, tp add index"] ["take time"=1.131µs] [2024/05/06 16:29:06.714 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 8, tp add index"] ["take time"=831ns] [2024/05/06 16:29:06.714 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 9, tp add index"] ["take time"=692ns] [2024/05/06 16:29:06.714 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 10, tp add index"] ["take time"=982ns] [2024/05/06 16:29:06.714 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 11, tp add index"] ["take time"=976ns] [2024/05/06 16:29:06.714 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:29:06.714 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 3, tp general"] ["take time"=617ns] [2024/05/06 16:29:06.714 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 1, tp general"] ["take time"=324ns] [2024/05/06 16:29:06.714 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 2, tp add index"] ["take time"=310ns] [2024/05/06 16:29:06.714 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:29:06.714 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:29:06.714 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=b65c00d1-a377-497d-b336-70327024ad1d] ["take time"=482.263µs] [2024/05/06 16:29:06.714 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=b65c00d1-a377-497d-b336-70327024ad1d] [2024/05/06 16:29:06.714 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:29:06.714 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:29:06.714 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:29:06.714 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:29:06.714 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:29:06.714 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:29:06.714 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=564.766µs] [2024/05/06 16:29:06.714 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=877a7d46-88e6-410d-9473-4ecc2fc3e009] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 16:29:06.722 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=39] ["start time"=7.433346ms] [2024/05/06 16:29:06.722 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:29:06.723 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=7b89ffec-45d1-4a90-8e97-77426dee110b] [runWorker=true] [2024/05/06 16:29:06.723 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:29:06.723 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:29:06.723 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 14, tp general"] [2024/05/06 16:29:06.723 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 15, tp add index"] [2024/05/06 16:29:06.723 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:29:06.723 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:29:06.723 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:29:06.723 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:29:06.726 +08:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 16:29:06.739 +08:00] [WARN] [misc.go:453] ["Automatic TLS Certificate creation is disabled"] [] [2024/05/06 16:29:06.740 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=6431122649489313228] [schemaVersion=39] [cur_db=test] [sql="drop table if exists t"] [user=root@%] [2024/05/06 16:29:06.740 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=6431122649489313228] [schemaVersion=39] [cur_db=test] [sql="create table t(id int, payload BLOB)"] [user=root@%] [2024/05/06 16:29:06.744 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:06.742 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:06.744 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:06.742 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t(id int, payload BLOB)"] [2024/05/06 16:29:07.735 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 16, tp general"] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:06.742 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:07.737 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=142.855µs] [phyTblIDs="[80]"] [actionTypes="[8]"] [2024/05/06 16:29:07.774 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=81] [version=40] [2024/05/06 16:29:07.776 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=40] ["take time"=38.819846ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:06.742 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:07.780 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 16, tp general"] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:06.742 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:07.782 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=81] [2024/05/06 16:29:07.782 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:07.782 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost []\n# Conn_ID: 6431122649489313228\n# Query_time: 1.042173124\n# Parse_time: 0.000048287\n# Compile_time: 0.000093411\n# Rewrite_time: 0.000047435\n# Optimize_time: 0\n# Wait_TS: 0.000005923\n# DB: test\n# Is_internal: false\n# Digest: aec2f75f087ede90231d8af8b9707b25fed8a317a5b3b7d59621185aa891ebda\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\ncreate table t(id int, payload BLOB);"] [2024/05/06 16:29:07.783 +08:00] [WARN] [2pc.go:1900] ["schemaLeaseChecker is not set for this transaction"] [sessionID=6431122649489313228] [startTS=449572804436426753] [checkTS=449572804436426755] [2024/05/06 16:29:08.727 +08:00] [INFO] [info.go:1114] [SetTiFlashGroupConfig] [2024/05/06 16:29:08.967 +08:00] [INFO] [set.go:160] ["set global var"] [conn=6431122649489313228] [name=tidb_enable_tmp_storage_on_oom] [val=ON] [2024/05/06 16:29:08.973 +08:00] [INFO] [set.go:160] ["set global var"] [conn=6431122649489313228] [name=tidb_mem_oom_action] [val=CANCEL] [2024/05/06 16:29:08.975 +08:00] [INFO] [row_container.go:418] ["memory exceeds quota, spill to disk now."] [consumed=84809] [quota=128] conn_stmt_test.go:580: Error Trace: server/conn_stmt_test.go:580 Error: An error is expected but got nil. Test: TestCursorFetchErrorInFetch [2024/05/06 16:29:09.010 +08:00] [INFO] [set.go:160] ["set global var"] [conn=6431122649489313228] [name=tidb_mem_oom_action] [val=CANCEL] [2024/05/06 16:29:09.010 +08:00] [INFO] [server.go:555] ["setting tidb-server to report unhealthy (shutting-down)"] [2024/05/06 16:29:09.010 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:29:09.010 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 17, tp add index"] ["take time"=1.315µs] [2024/05/06 16:29:09.010 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 18, tp add index"] ["take time"=698ns] [2024/05/06 16:29:09.010 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 19, tp add index"] ["take time"=678ns] [2024/05/06 16:29:09.010 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 20, tp add index"] ["take time"=941ns] [2024/05/06 16:29:09.010 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 21, tp add index"] ["take time"=964ns] [2024/05/06 16:29:09.010 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:29:09.010 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 16, tp general"] ["take time"=869ns] [2024/05/06 16:29:09.010 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 15, tp add index"] ["take time"=4.276µs] [2024/05/06 16:29:09.010 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 14, tp general"] ["take time"=2.946µs] [2024/05/06 16:29:09.010 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:29:09.010 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:29:09.010 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=7b89ffec-45d1-4a90-8e97-77426dee110b] ["take time"=186.205µs] [2024/05/06 16:29:09.010 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=7b89ffec-45d1-4a90-8e97-77426dee110b] [2024/05/06 16:29:09.010 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:29:09.010 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:29:09.010 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:29:09.010 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:29:09.010 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:29:09.010 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:29:09.010 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:29:09.010 +08:00] [INFO] [domain.go:1748] ["dumpFileGcChecker exited."] [2024/05/06 16:29:09.010 +08:00] [INFO] [domain.go:1444] ["LoadSysVarCacheLoop exited."] [2024/05/06 16:29:09.010 +08:00] [INFO] [domain.go:1394] ["loadPrivilegeInLoop exited."] [2024/05/06 16:29:09.010 +08:00] [INFO] [domain.go:1569] ["handleEvolvePlanTasksLoop exited."] [2024/05/06 16:29:09.010 +08:00] [INFO] [domain.go:1525] ["globalBindHandleWorkerLoop exited."] [2024/05/06 16:29:09.010 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:29:09.010 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:29:09.010 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:29:09.010 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:29:09.011 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=840.85µs] [2024/05/06 16:29:09.011 +08:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 16:29:09.012 +08:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 16:29:09.012 +08:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 16:29:09.012 +08:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 16:29:09.012 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 16:29:09.012 +08:00] [INFO] [db.go:625] ["Waiting for closer"] --- FAIL: TestCursorFetchErrorInFetch (4.30s) === RUN TestGetIndexMVCC [2024/05/06 16:29:09.016 +08:00] [INFO] [region_cache.go:2484] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 16:29:09.017 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:29:09.017 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:29:09.017 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:29:09.017 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:29:09.018 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:29:09.018 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=744ec274-ed50-408a-9624-519043b191f5] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 16:29:09.018 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).Init\n\tdomain/domain.go:1074\ngithub.com/pingcap/tidb/session.(*domainMap).Get.func1\n\tsession/tidb.go:90\ngithub.com/pingcap/tidb/util.RunWithRetry\n\tutil/misc.go:69\ngithub.com/pingcap/tidb/session.(*domainMap).Get\n\tsession/tidb.go:76\ngithub.com/pingcap/tidb/session.createSessionWithOpt\n\tsession/session.go:3520\ngithub.com/pingcap/tidb/session.createSession\n\tsession/session.go:3516\ngithub.com/pingcap/tidb/session.runInBootstrapSession\n\tsession/session.go:3480\ngithub.com/pingcap/tidb/session.BootstrapSession\n\tsession/session.go:3309\ngithub.com/pingcap/tidb/server.(*basicHTTPHandlerTestSuite).startServer\n\tserver/http_handler_test.go:451\ngithub.com/pingcap/tidb/server.TestGetIndexMVCC\n\tserver/http_handler_test.go:743\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1446\nruntime.goexit\n\tGOROOT/src/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:29:09.021 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=2.634545ms] [2024/05/06 16:29:09.021 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:29:09.021 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=f50f6fe2-dd62-4c13-84ed-26ad812530db] [runWorker=true] [2024/05/06 16:29:09.021 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:29:09.022 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:29:09.022 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:29:09.022 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:29:09.022 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:29:09.022 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:29:09.022 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 23, tp add index"] [2024/05/06 16:29:09.023 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 16:29:09.023 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 22, tp general"] [2024/05/06 16:29:09.025 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:09.025 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:09.025 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:29:09.025 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 16:29:09.032 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.025 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.037 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=2.365326ms] [2024/05/06 16:29:09.037 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:29:09.073 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:09.073 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=3] [version=1] [2024/05/06 16:29:09.075 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=41.025075ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:29:09.025 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.082 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.025 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.087 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=3] [2024/05/06 16:29:09.087 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:09.087 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 16:29:09.088 +08:00] [INFO] [session.go:3817] ["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 16:29:09.093 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:09.089 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:09.093 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.089 +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 16:29:09.100 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.089 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.110 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=971.296µs] [phyTblIDs="[4]"] [actionTypes="[8]"] [2024/05/06 16:29:09.123 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:09.123 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=5] [version=2] [2024/05/06 16:29:09.124 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=14.82867ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.089 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.130 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.089 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.137 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=5] [2024/05/06 16:29:09.137 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:09.137 +08:00] [INFO] [session.go:3817] ["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 16:29:09.140 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:09.139 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:09.140 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.139 +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 16:29:09.146 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.139 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.150 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=265.13µs] [phyTblIDs="[6]"] [actionTypes="[8]"] [2024/05/06 16:29:09.173 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:09.173 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=7] [version=3] [2024/05/06 16:29:09.173 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=24.038494ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.139 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.177 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.139 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.180 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=7] [2024/05/06 16:29:09.180 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:09.180 +08:00] [INFO] [session.go:3817] ["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 16:29:09.182 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:09.181 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:09.182 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.181 +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 16:29:09.189 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.181 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.191 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=197.033µs] [phyTblIDs="[8]"] [actionTypes="[8]"] [2024/05/06 16:29:09.222 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:09.222 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=9] [version=4] [2024/05/06 16:29:09.223 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=32.340449ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.181 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.227 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.181 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.230 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=9] [2024/05/06 16:29:09.230 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:09.231 +08:00] [INFO] [session.go:3817] ["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),\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 16:29:09.234 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:09.232 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:09.235 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.232 +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),\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 16:29:09.240 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.232 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.245 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=499.031µs] [phyTblIDs="[10]"] [actionTypes="[8]"] [2024/05/06 16:29:09.286 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:09.288 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=11] [version=5] [2024/05/06 16:29:09.291 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=45.841057ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.232 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.296 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.232 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.302 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=11] [2024/05/06 16:29:09.302 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:09.303 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:29:09.306 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:09.304 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:09.306 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.304 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:29:09.315 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.304 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.319 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=325.223µs] [phyTblIDs="[12]"] [actionTypes="[8]"] [2024/05/06 16:29:09.323 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:09.323 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=13] [version=6] [2024/05/06 16:29:09.325 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=6.657506ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.304 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.333 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.304 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.337 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=13] [2024/05/06 16:29:09.338 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:09.338 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:29:09.341 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:09.339 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:09.341 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.339 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:29:09.347 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.339 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.352 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=929.15µs] [phyTblIDs="[14]"] [actionTypes="[8]"] [2024/05/06 16:29:09.373 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:09.373 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=15] [version=7] [2024/05/06 16:29:09.373 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=22.031185ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.339 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.378 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.339 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.381 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=15] [2024/05/06 16:29:09.381 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:09.381 +08:00] [INFO] [session.go:3817] ["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(1024) DEFAULT NULL);"] [user=] [2024/05/06 16:29:09.383 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:09.382 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:09.383 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.382 +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(1024) DEFAULT NULL);"] [2024/05/06 16:29:09.391 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.382 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.394 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=208.67µs] [phyTblIDs="[16]"] [actionTypes="[8]"] [2024/05/06 16:29:09.423 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:09.423 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=17] [version=8] [2024/05/06 16:29:09.425 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=31.079954ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.382 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.429 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.382 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.431 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=17] [2024/05/06 16:29:09.431 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:09.432 +08:00] [INFO] [session.go:3817] ["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 16:29:09.434 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:09.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:09.434 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.433 +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 16:29:09.442 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.446 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=243.718µs] [phyTblIDs="[18]"] [actionTypes="[8]"] [2024/05/06 16:29:09.473 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:09.473 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=19] [version=9] [2024/05/06 16:29:09.473 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=26.987512ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.476 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.479 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=19] [2024/05/06 16:29:09.480 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:09.480 +08:00] [INFO] [session.go:3817] ["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 16:29:09.483 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:09.481 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:09.483 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.481 +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 16:29:09.487 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.481 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.490 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=252.197µs] [phyTblIDs="[20]"] [actionTypes="[8]"] [2024/05/06 16:29:09.523 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:09.523 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=21] [version=10] [2024/05/06 16:29:09.525 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=34.671354ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.481 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.529 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.481 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.532 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=21] [2024/05/06 16:29:09.532 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:09.532 +08:00] [INFO] [session.go:3817] ["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 16:29:09.534 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:09.533 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:09.534 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.533 +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 16:29:09.540 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.533 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.543 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=251.55µs] [phyTblIDs="[22]"] [actionTypes="[8]"] [2024/05/06 16:29:09.573 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:09.573 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=23] [version=11] [2024/05/06 16:29:09.575 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=32.516091ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.533 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.579 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.533 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.582 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=23] [2024/05/06 16:29:09.582 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:09.582 +08:00] [INFO] [session.go:3817] ["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 16:29:09.582 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [2024/05/06 16:29:09.585 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:09.583 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:09.585 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.583 +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 16:29:09.590 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.583 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.594 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=389.171µs] [phyTblIDs="[24]"] [actionTypes="[8]"] [2024/05/06 16:29:09.622 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:09.622 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=25] [version=12] [2024/05/06 16:29:09.625 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=30.997323ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.583 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.628 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.583 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.632 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=25] [2024/05/06 16:29:09.632 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:09.632 +08:00] [INFO] [session.go:3817] ["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 16:29:09.635 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:09.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:09.635 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.633 +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 16:29:09.641 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.644 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=353.818µs] [phyTblIDs="[26]"] [actionTypes="[8]"] [2024/05/06 16:29:09.673 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:09.673 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=27] [version=13] [2024/05/06 16:29:09.674 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=30.175846ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.678 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.681 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=27] [2024/05/06 16:29:09.681 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:09.681 +08:00] [INFO] [session.go:3817] ["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 16:29:09.683 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:09.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:09.684 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.682 +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 16:29:09.690 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.693 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=235.66µs] [phyTblIDs="[28]"] [actionTypes="[8]"] [2024/05/06 16:29:09.723 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:09.723 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=29] [version=14] [2024/05/06 16:29:09.724 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=32.115381ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.728 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.731 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=29] [2024/05/06 16:29:09.731 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:09.732 +08:00] [INFO] [session.go:3817] ["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 16:29:09.734 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:09.733 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:09.734 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.733 +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 16:29:09.739 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.733 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.742 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=238.751µs] [phyTblIDs="[30]"] [actionTypes="[8]"] [2024/05/06 16:29:09.773 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:09.773 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=31] [version=15] [2024/05/06 16:29:09.774 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=32.367524ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.733 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.778 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.733 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.781 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=31] [2024/05/06 16:29:09.782 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:09.782 +08:00] [INFO] [session.go:3817] ["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 16:29:09.784 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:09.783 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:09.784 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.783 +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 16:29:09.789 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.783 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.792 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=333.045µs] [phyTblIDs="[32]"] [actionTypes="[8]"] [2024/05/06 16:29:09.823 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:09.823 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=33] [version=16] [2024/05/06 16:29:09.825 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=32.973263ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.783 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.829 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.783 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.831 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=33] [2024/05/06 16:29:09.831 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:09.831 +08:00] [INFO] [session.go:3817] ["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 16:29:09.833 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:09.832 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:09.834 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.832 +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 16:29:09.837 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.832 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.840 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=198.214µs] [phyTblIDs="[34]"] [actionTypes="[8]"] [2024/05/06 16:29:09.873 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:09.873 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=35] [version=17] [2024/05/06 16:29:09.874 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=34.548543ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.832 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.878 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.832 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.881 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=35] [2024/05/06 16:29:09.881 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:09.881 +08:00] [INFO] [session.go:3817] ["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 16:29:09.883 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:09.882 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:09.883 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.882 +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 16:29:09.890 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.882 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.893 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=263.661µs] [phyTblIDs="[36]"] [actionTypes="[8]"] [2024/05/06 16:29:09.923 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:09.923 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=37] [version=18] [2024/05/06 16:29:09.925 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=32.202277ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.882 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.928 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.882 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.931 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=37] [2024/05/06 16:29:09.931 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:09.932 +08:00] [INFO] [session.go:3817] ["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 16:29:09.934 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:09.933 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:09.935 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.933 +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 16:29:09.939 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.933 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.943 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=466.165µs] [phyTblIDs="[38]"] [actionTypes="[8]"] [2024/05/06 16:29:09.973 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:09.973 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=39] [version=19] [2024/05/06 16:29:09.975 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=32.350299ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.933 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.980 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.933 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.983 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=39] [2024/05/06 16:29:09.983 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:09.985 +08:00] [INFO] [session.go:3817] ["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 16:29:09.986 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:09.986 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:09.986 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.986 +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 16:29:09.991 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.986 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:09.993 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=202.657µs] [phyTblIDs="[40]"] [actionTypes="[8]"] [2024/05/06 16:29:10.023 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:10.023 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=41] [version=20] [2024/05/06 16:29:10.023 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=30.168269ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:09.986 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.029 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:09.986 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.032 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=41] [2024/05/06 16:29:10.032 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:10.032 +08:00] [INFO] [session.go:3817] ["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 16:29:10.033 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:10.033 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:10.033 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.033 +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 16:29:10.040 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.033 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.043 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=238.377µs] [phyTblIDs="[42]"] [actionTypes="[8]"] [2024/05/06 16:29:10.073 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:10.073 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=43] [version=21] [2024/05/06 16:29:10.075 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=32.623318ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.033 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.078 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.033 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.081 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=43] [2024/05/06 16:29:10.081 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:10.081 +08:00] [INFO] [session.go:3817] ["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 16:29:10.083 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:10.082 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:10.083 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.082 +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 16:29:10.089 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.082 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.091 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=181.043µs] [phyTblIDs="[44]"] [actionTypes="[8]"] [2024/05/06 16:29:10.124 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:10.124 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=45] [version=22] [2024/05/06 16:29:10.125 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=34.27198ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.082 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.131 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.082 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.141 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=45] [2024/05/06 16:29:10.141 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:10.142 +08:00] [INFO] [session.go:3817] ["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 16:29:10.145 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:10.143 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:10.145 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.143 +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 16:29:10.152 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.143 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.156 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=356.206µs] [phyTblIDs="[46]"] [actionTypes="[8]"] [2024/05/06 16:29:10.173 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:10.173 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=47] [version=23] [2024/05/06 16:29:10.174 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=18.4953ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.143 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.179 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.143 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.182 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=47] [2024/05/06 16:29:10.182 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:10.182 +08:00] [INFO] [session.go:3817] ["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 16:29:10.184 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:10.183 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:10.184 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.183 +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 16:29:10.188 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.183 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.191 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=281.565µs] [phyTblIDs="[48]"] [actionTypes="[8]"] [2024/05/06 16:29:10.227 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:10.227 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=49] [version=24] [2024/05/06 16:29:10.227 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=36.530843ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.183 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.234 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.183 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.239 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=49] [2024/05/06 16:29:10.239 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:10.240 +08:00] [INFO] [session.go:3817] ["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 16:29:10.242 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:10.241 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:10.242 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.241 +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 16:29:10.251 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.241 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.254 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=319.899µs] [phyTblIDs="[50]"] [actionTypes="[8]"] [2024/05/06 16:29:10.273 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:10.273 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=51] [version=25] [2024/05/06 16:29:10.274 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=20.184329ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.241 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.278 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.241 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.281 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=51] [2024/05/06 16:29:10.281 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:10.281 +08:00] [INFO] [session.go:3817] ["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 16:29:10.284 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:10.283 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:10.284 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.283 +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 16:29:10.289 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.283 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.292 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=281.582µs] [phyTblIDs="[52]"] [actionTypes="[8]"] [2024/05/06 16:29:10.325 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:10.325 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=53] [version=26] [2024/05/06 16:29:10.325 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=33.592164ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.283 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.332 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.283 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.335 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=53] [2024/05/06 16:29:10.335 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:10.336 +08:00] [INFO] [session.go:3817] ["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 16:29:10.339 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:10.337 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:10.339 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.337 +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 16:29:10.347 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.337 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.351 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=277.706µs] [phyTblIDs="[54]"] [actionTypes="[8]"] [2024/05/06 16:29:10.373 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:10.373 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=55] [version=27] [2024/05/06 16:29:10.375 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=24.70524ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.337 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.379 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.337 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.382 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=55] [2024/05/06 16:29:10.382 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:10.382 +08:00] [INFO] [session.go:3817] ["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 16:29:10.384 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:10.383 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:10.384 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.383 +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 16:29:10.389 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.383 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.392 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=167.862µs] [phyTblIDs="[56]"] [actionTypes="[8]"] [2024/05/06 16:29:10.424 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:10.424 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=57] [version=28] [2024/05/06 16:29:10.426 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=34.723309ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.383 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.433 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.383 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.436 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=57] [2024/05/06 16:29:10.436 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:10.437 +08:00] [INFO] [session.go:3817] ["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 16:29:10.439 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:10.438 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:10.439 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.438 +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 16:29:10.447 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.438 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.449 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=173.311µs] [phyTblIDs="[58]"] [actionTypes="[8]"] [2024/05/06 16:29:10.473 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:10.473 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=59] [version=29] [2024/05/06 16:29:10.475 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=26.251128ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.438 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.479 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.438 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.481 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=59] [2024/05/06 16:29:10.481 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:10.482 +08:00] [INFO] [session.go:3817] ["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 16:29:10.482 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [2024/05/06 16:29:10.484 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:10.483 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:10.484 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.483 +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 16:29:10.490 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.483 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.494 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=297.77µs] [phyTblIDs="[60]"] [actionTypes="[8]"] [2024/05/06 16:29:10.526 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:10.526 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=61] [version=30] [2024/05/06 16:29:10.528 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=34.424036ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.483 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.536 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.483 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.541 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=61] [2024/05/06 16:29:10.541 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:10.542 +08:00] [INFO] [session.go:3817] ["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\t);"] [user=] [2024/05/06 16:29:10.545 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:10.544 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:10.545 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.544 +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\t);"] [2024/05/06 16:29:10.555 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.544 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.559 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=365.245µs] [phyTblIDs="[62]"] [actionTypes="[8]"] [2024/05/06 16:29:10.573 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:10.573 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=63] [version=31] [2024/05/06 16:29:10.575 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=17.008545ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.544 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.580 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.544 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.583 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=63] [2024/05/06 16:29:10.583 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:10.583 +08:00] [INFO] [session.go:3817] ["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\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\t);"] [user=] [2024/05/06 16:29:10.586 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:10.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:10.586 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.585 +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\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\t);"] [2024/05/06 16:29:10.593 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.597 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=305.514µs] [phyTblIDs="[64]"] [actionTypes="[8]"] [2024/05/06 16:29:10.624 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:10.624 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=65] [version=32] [2024/05/06 16:29:10.627 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=30.598436ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.637 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.642 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=65] [2024/05/06 16:29:10.642 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:10.643 +08:00] [INFO] [session.go:3817] ["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 16:29:10.646 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:10.645 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:10.647 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.645 +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 16:29:10.654 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.645 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.659 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=399.541µs] [phyTblIDs="[66]"] [actionTypes="[8]"] [2024/05/06 16:29:10.673 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:10.673 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=67] [version=33] [2024/05/06 16:29:10.675 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=16.323591ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.645 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.679 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.645 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.681 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=67] [2024/05/06 16:29:10.681 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:10.682 +08:00] [INFO] [session.go:3817] ["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 16:29:10.684 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:10.683 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:10.684 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.683 +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 16:29:10.689 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.683 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.691 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=161.864µs] [phyTblIDs="[68]"] [actionTypes="[8]"] [2024/05/06 16:29:10.723 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:10.723 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=69] [version=34] [2024/05/06 16:29:10.724 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=32.80286ms] [job="ID:69, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.683 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.730 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:69, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.683 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.734 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=69] [2024/05/06 16:29:10.734 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:10.738 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:10.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:10.739 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:29:10.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] [2024/05/06 16:29:10.744 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.750 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=317.832µs] [phyTblIDs="[70]"] [actionTypes="[2097152]"] [2024/05/06 16:29:10.773 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:10.773 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=71] [version=35] [2024/05/06 16:29:10.774 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=24.744204ms] [job="ID:71, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:29:10.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.777 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:71, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.779 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=71] [2024/05/06 16:29:10.780 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:10.780 +08:00] [INFO] [session.go:3817] ["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 16:29:10.782 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:10.781 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:10.782 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.781 +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 16:29:10.786 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.781 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.789 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=200.41µs] [phyTblIDs="[72]"] [actionTypes="[8]"] [2024/05/06 16:29:10.823 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:10.823 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=73] [version=36] [2024/05/06 16:29:10.826 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=37.329543ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.781 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.831 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.781 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.834 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=73] [2024/05/06 16:29:10.834 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:10.835 +08:00] [INFO] [session.go:3817] ["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 16:29:10.840 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:10.836 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:10.840 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.836 +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 16:29:10.844 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.836 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.847 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=324.84µs] [phyTblIDs="[74]"] [actionTypes="[8]"] [2024/05/06 16:29:10.872 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:10.872 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=75] [version=37] [2024/05/06 16:29:10.872 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=26.010711ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.836 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.876 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.836 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.878 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=75] [2024/05/06 16:29:10.878 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:10.878 +08:00] [INFO] [session.go:3817] ["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 16:29:10.880 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:10.879 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:10.880 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.879 +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 16:29:10.884 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.879 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.886 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=151.896µs] [phyTblIDs="[76]"] [actionTypes="[8]"] [2024/05/06 16:29:10.923 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:10.923 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=77] [version=38] [2024/05/06 16:29:10.925 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=38] ["take time"=38.76898ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.879 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.932 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.879 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.936 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=77] [2024/05/06 16:29:10.936 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:10.937 +08:00] [INFO] [session.go:3817] ["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 16:29:10.940 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:10.938 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:10.940 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.938 +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 16:29:10.945 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 24, tp general"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.938 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.951 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=436.231µs] [phyTblIDs="[78]"] [actionTypes="[8]"] [2024/05/06 16:29:10.973 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:10.973 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=79] [version=39] [2024/05/06 16:29:10.975 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=39] ["take time"=24.672436ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:10.938 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.978 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 24, tp general"] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:10.938 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:10.981 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=79] [2024/05/06 16:29:10.981 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:11.006 +08:00] [INFO] [bootstrap.go:529] ["bootstrap successful"] ["take time"=1.984521708s] [2024/05/06 16:29:11.007 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:29:11.007 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 33, tp add index"] ["take time"=1.379µs] [2024/05/06 16:29:11.007 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 34, tp add index"] ["take time"=1.337µs] [2024/05/06 16:29:11.007 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 25, tp add index"] ["take time"=760ns] [2024/05/06 16:29:11.007 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 26, tp add index"] ["take time"=1.135µs] [2024/05/06 16:29:11.007 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 27, tp add index"] ["take time"=866ns] [2024/05/06 16:29:11.007 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 28, tp add index"] ["take time"=870ns] [2024/05/06 16:29:11.007 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 29, tp add index"] ["take time"=768ns] [2024/05/06 16:29:11.007 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 30, tp add index"] ["take time"=537ns] [2024/05/06 16:29:11.007 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 31, tp add index"] ["take time"=944ns] [2024/05/06 16:29:11.007 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 32, tp add index"] ["take time"=833ns] [2024/05/06 16:29:11.007 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:29:11.007 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 24, tp general"] ["take time"=520ns] [2024/05/06 16:29:11.007 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 22, tp general"] ["take time"=381ns] [2024/05/06 16:29:11.007 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 23, tp add index"] ["take time"=225ns] [2024/05/06 16:29:11.007 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:29:11.007 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:29:11.007 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=f50f6fe2-dd62-4c13-84ed-26ad812530db] ["take time"=564.036µs] [2024/05/06 16:29:11.007 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=f50f6fe2-dd62-4c13-84ed-26ad812530db] [2024/05/06 16:29:11.007 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:29:11.007 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:29:11.007 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:29:11.007 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:29:11.007 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:29:11.007 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:29:11.007 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=760.262µs] [2024/05/06 16:29:11.007 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=744ec274-ed50-408a-9624-519043b191f5] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 16:29:11.014 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=39] ["start time"=6.22827ms] [2024/05/06 16:29:11.014 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:29:11.014 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=cd23a970-f714-4e13-8934-147c108b2c6a] [runWorker=true] [2024/05/06 16:29:11.015 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:29:11.015 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:29:11.015 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 35, tp general"] [2024/05/06 16:29:11.015 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 36, tp add index"] [2024/05/06 16:29:11.015 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:29:11.016 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:29:11.016 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:29:11.016 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:29:11.018 +08:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 16:29:11.036 +08:00] [WARN] [misc.go:453] ["Automatic TLS Certificate creation is disabled"] [] [2024/05/06 16:29:11.036 +08:00] [INFO] [http_status.go:95] ["for status and metrics report"] ["listening on addr"=127.0.0.1:0] [2024/05/06 16:29:11.036 +08:00] [INFO] [server.go:275] ["server is running MySQL protocol"] [addr=127.0.0.1:0] [2024/05/06 16:29:11.038 +08:00] [ERROR] [http_status.go:473] ["new tikv store fail"] [error="invalid uri format, storage tikv is not registered"] [errorVerbose="invalid uri format, storage tikv is not registered\ngithub.com/pingcap/tidb/store.newStoreWithRetry\n\tstore/store.go:70\ngithub.com/pingcap/tidb/store.New\n\tstore/store.go:58\ngithub.com/pingcap/tidb/server.(*Server).startStatusServerAndRPCServer\n\tserver/http_status.go:471\ngithub.com/pingcap/tidb/server.(*Server).startHTTPServer\n\tserver/http_status.go:455\nruntime.goexit\n\tGOROOT/src/runtime/asm_amd64.s:1594"] [stack="github.com/pingcap/tidb/server.(*Server).startStatusServerAndRPCServer\n\tserver/http_status.go:473\ngithub.com/pingcap/tidb/server.(*Server).startHTTPServer\n\tserver/http_status.go:455"] [2024/05/06 16:29:11.050 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=405] [schemaVersion=39] [cur_db=test] [sql="create database tidb;"] [user=root@%] [2024/05/06 16:29:11.053 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:81, Type:create schema, State:queueing, SchemaState:none, SchemaID:80, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:29:11.052 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:11.053 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:81, Type:create schema, State:queueing, SchemaState:none, SchemaID:80, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:29:11.052 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create database tidb;"] [2024/05/06 16:29:12.033 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 37, tp general"] [job="ID:81, Type:create schema, State:queueing, SchemaState:none, SchemaID:80, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:11.052 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:12.040 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=72.729µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:29:12.066 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:12.066 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=81] [version=40] [2024/05/06 16:29:12.069 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=40] ["take time"=29.231069ms] [job="ID:81, Type:create schema, State:done, SchemaState:public, SchemaID:80, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:29:11.052 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:12.074 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 37, tp general"] [job="ID:81, Type:create schema, State:synced, SchemaState:public, SchemaID:80, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:11.052 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:12.077 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=81] [2024/05/06 16:29:12.077 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:12.077 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# User@Host: root[root] @ 127.0.0.1 [127.0.0.1]\n# Conn_ID: 405\n# Query_time: 1.026722944\n# Parse_time: 0.000021689\n# Compile_time: 0.000096356\n# Rewrite_time: 0.000031566\n# Optimize_time: 0\n# Wait_TS: 0.000013002\n# DB: test\n# Is_internal: false\n# Digest: 4dd37494c40b3dfecfa7835dbec3b1bc997d1a101b02e2a10c0626434154aef8\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000001701\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\ncreate database tidb;"] [2024/05/06 16:29:12.078 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=405] [schemaVersion=40] [cur_db=tidb] [sql="create table tidb.test (a int auto_increment primary key, b varchar(20));"] [user=root@%] [2024/05/06 16:29:12.080 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:80, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:12.079 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:12.080 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:80, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:12.079 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table tidb.test (a int auto_increment primary key, b varchar(20));"] [2024/05/06 16:29:12.085 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 37, tp general"] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:80, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:12.079 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:12.088 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=177.138µs] [phyTblIDs="[82]"] [actionTypes="[8]"] [2024/05/06 16:29:12.117 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:12.117 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=83] [version=41] [2024/05/06 16:29:12.118 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=41] ["take time"=30.291076ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:80, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:12.079 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:12.123 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 37, tp general"] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:80, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:12.079 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:12.126 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=83] [2024/05/06 16:29:12.126 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:12.131 +08:00] [WARN] [2pc.go:1900] ["schemaLeaseChecker is not set for this transaction"] [sessionID=405] [startTS=449572805574918146] [checkTS=449572805576228864] [2024/05/06 16:29:12.136 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=405] [schemaVersion=41] [cur_db=tidb] [sql="alter table tidb.test add index idx1 (a, b);"] [user=root@%] [2024/05/06 16:29:12.138 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:84, Type:add index, State:queueing, SchemaState:none, SchemaID:80, TableID:82, RowCount:0, ArgLen:6, start time: 2024-05-06 16:29:12.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:29:12.138 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:84, Type:add index, State:queueing, SchemaState:none, SchemaID:80, TableID:82, RowCount:0, ArgLen:6, start time: 2024-05-06 16:29:12.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="alter table tidb.test add index idx1 (a, b);"] [2024/05/06 16:29:12.152 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 45, tp add index"] [job="ID:84, Type:add index, State:queueing, SchemaState:none, SchemaID:80, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:12.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:29:12.153 +08:00] [INFO] [index.go:605] ["[ddl] run add index job"] [job="ID:84, Type:add index, State:running, SchemaState:none, SchemaID:80, TableID:82, RowCount:0, ArgLen:6, start time: 2024-05-06 16:29:12.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [indexInfo="{\"id\":1,\"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}"] [2024/05/06 16:29:12.156 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=144.861µs] [phyTblIDs="[82]"] [actionTypes="[128]"] [2024/05/06 16:29:12.167 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:12.167 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=84] [version=42] [2024/05/06 16:29:12.167 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=42] ["take time"=12.042904ms] [job="ID:84, Type:add index, State:running, SchemaState:delete only, SchemaID:80, TableID:82, RowCount:0, ArgLen:6, start time: 2024-05-06 16:29:12.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:29:12.173 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 46, tp add index"] [job="ID:84, Type:add index, State:running, SchemaState:delete only, SchemaID:80, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:12.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:29:12.176 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=202.295µs] [phyTblIDs="[82]"] [actionTypes="[128]"] [2024/05/06 16:29:12.217 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:12.217 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=84] [version=43] [2024/05/06 16:29:12.218 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=43] ["take time"=42.974301ms] [job="ID:84, Type:add index, State:running, SchemaState:write only, SchemaID:80, TableID:82, RowCount:0, ArgLen:6, start time: 2024-05-06 16:29:12.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:29:12.226 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 47, tp add index"] [job="ID:84, Type:add index, State:running, SchemaState:write only, SchemaID:80, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:12.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:29:12.229 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=238.412µs] [phyTblIDs="[82]"] [actionTypes="[128]"] [2024/05/06 16:29:12.266 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:12.266 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=84] [version=44] [2024/05/06 16:29:12.267 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=44] ["take time"=38.886417ms] [job="ID:84, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:0, ArgLen:6, start time: 2024-05-06 16:29:12.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:29:12.272 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 38, tp add index"] [job="ID:84, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:12.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:29:12.272 +08:00] [INFO] [index.go:800] ["[ddl] index backfill state running"] ["job ID"=84] [table=test] ["ingest mode"=true] [index=idx1] [2024/05/06 16:29:12.272 +08:00] [INFO] [config.go:97] ["[ddl-ingest] initial memory setting for lightning"] ["local writer memory cache size"=134217728] ["engine memory cache size"=536870912] ["range concurrency"=16] [2024/05/06 16:29:12.272 +08:00] [INFO] [config.go:112] ["[ddl-ingest] change memory setting for lightning"] ["local writer memory cache size"=67108864] ["engine memory cache size"=268435456] ["range concurrency"=16] [2024/05/06 16:29:12.272 +08:00] [ERROR] [backend_mgr.go:66] ["[ddl-ingest] build lightning backend failed, will use kernel index reorg method to backfill the index"] ["job ID"=84] [error="[Lightning:PD:ErrUpdatePD]pd address (/tmp/tidb) not available, error is Get \"http:///tmp/tidb/pd/api/v1/config/cluster-version\": http: no Host in request URL, please check network"] [errorVerbose="[Lightning:PD:ErrUpdatePD]pd address (/tmp/tidb) not available, error is Get \"http:///tmp/tidb/pd/api/v1/config/cluster-version\": http: no Host in request URL, please check network\ngithub.com/pingcap/tidb/br/pkg/pdutil.NewPdController\n\tbr/pkg/pdutil/pd.go:289\ngithub.com/pingcap/tidb/br/pkg/lightning/backend/local.NewLocalBackend\n\tbr/pkg/lightning/backend/local/local.go:431\ngithub.com/pingcap/tidb/ddl/ingest.createLocalBackend\n\tddl/ingest/backend_mgr.go:91\ngithub.com/pingcap/tidb/ddl/ingest.(*backendCtxManager).Register\n\tddl/ingest/backend_mgr.go:64\ngithub.com/pingcap/tidb/ddl.doReorgWorkForCreateIndex\n\tddl/index.go:816\ngithub.com/pingcap/tidb/ddl.(*worker).onCreateIndex\n\tddl/index.go:661\ngithub.com/pingcap/tidb/ddl.(*worker).runDDLJob\n\tddl/ddl_worker.go:1244\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:856\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tGOROOT/src/runtime/asm_amd64.s:1594"] [stack="github.com/pingcap/tidb/ddl/ingest.(*backendCtxManager).Register\n\tddl/ingest/backend_mgr.go:66\ngithub.com/pingcap/tidb/ddl.doReorgWorkForCreateIndex\n\tddl/index.go:816\ngithub.com/pingcap/tidb/ddl.(*worker).onCreateIndex\n\tddl/index.go:661\ngithub.com/pingcap/tidb/ddl.(*worker).runDDLJob\n\tddl/ddl_worker.go:1244\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:856\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:29:12.273 +08:00] [INFO] [index.go:767] ["[ddl] fallback to txn-merge backfill process"] [error="[Lightning:PD:ErrUpdatePD]pd address (/tmp/tidb) not available, error is Get \"http:///tmp/tidb/pd/api/v1/config/cluster-version\": http: no Host in request URL, please check network"] [errorVerbose="[Lightning:PD:ErrUpdatePD]pd address (/tmp/tidb) not available, error is Get \"http:///tmp/tidb/pd/api/v1/config/cluster-version\": http: no Host in request URL, please check network\ngithub.com/pingcap/tidb/br/pkg/pdutil.NewPdController\n\tbr/pkg/pdutil/pd.go:289\ngithub.com/pingcap/tidb/br/pkg/lightning/backend/local.NewLocalBackend\n\tbr/pkg/lightning/backend/local/local.go:431\ngithub.com/pingcap/tidb/ddl/ingest.createLocalBackend\n\tddl/ingest/backend_mgr.go:91\ngithub.com/pingcap/tidb/ddl/ingest.(*backendCtxManager).Register\n\tddl/ingest/backend_mgr.go:64\ngithub.com/pingcap/tidb/ddl.doReorgWorkForCreateIndex\n\tddl/index.go:816\ngithub.com/pingcap/tidb/ddl.(*worker).onCreateIndex\n\tddl/index.go:661\ngithub.com/pingcap/tidb/ddl.(*worker).runDDLJob\n\tddl/ddl_worker.go:1244\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:856\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tGOROOT/src/runtime/asm_amd64.s:1594"] [2024/05/06 16:29:12.273 +08:00] [INFO] [ddl_worker.go:1369] ["[ddl] schema version doesn't change"] [2024/05/06 16:29:12.278 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 39, tp add index"] [job="ID:84, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:12.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:29:12.278 +08:00] [INFO] [index.go:800] ["[ddl] index backfill state running"] ["job ID"=84] [table=test] ["ingest mode"=false] [index=idx1] [2024/05/06 16:29:12.278 +08:00] [INFO] [reorg.go:621] ["[ddl] job get table range"] [jobID=84] [physicalTableID=82] [startKey=7480000000000000525f728000000000000001] [endKey=7480000000000000525f728000000000000004] [2024/05/06 16:29:12.278 +08:00] [INFO] [txn.go:55] ["Try to create a new txn inside a transaction auto commit"] [schemaVersion=44] [txnStartTS=449572805614764033] [txnScope=global] [2024/05/06 16:29:12.281 +08:00] [INFO] [ddl_worker.go:1369] ["[ddl] schema version doesn't change"] [2024/05/06 16:29:12.285 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 40, tp add index"] [job="ID:84, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:12.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449572805614764034, UniqueWarnings:0"] [2024/05/06 16:29:12.285 +08:00] [INFO] [index.go:800] ["[ddl] index backfill state running"] ["job ID"=84] [table=test] ["ingest mode"=false] [index=idx1] [2024/05/06 16:29:12.287 +08:00] [INFO] [index.go:1682] ["[ddl] start to add table index"] [job="ID:84, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:0, ArgLen:6, start time: 2024-05-06 16:29:12.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449572805614764034, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:7480000000000000525f728000000000000001,EndKey:7480000000000000525f728000000000000004,First:false,PhysicalTableID:82,Ingest mode:false"] [2024/05/06 16:29:12.287 +08:00] [INFO] [backfilling.go:364] ["[ddl] split table range from PD"] [physicalTableID=82] ["start key"=7480000000000000525f728000000000000001] ["end key"=7480000000000000525f728000000000000004] [2024/05/06 16:29:12.287 +08:00] [INFO] [backfilling.go:861] ["[ddl] start backfill workers to reorg record"] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=7480000000000000525f728000000000000001] [endKey=7480000000000000525f728000000000000004] [2024/05/06 16:29:12.287 +08:00] [INFO] [backfilling.go:308] ["[ddl] backfill worker start"] [type="add index"] [workerID=0] [2024/05/06 16:29:12.288 +08:00] [INFO] [backfilling.go:512] ["[ddl] send range task to workers, change end key"] ["end key"=7480000000000000525f728000000000000004] ["current end key"=7480000000000000525f728000000000000004] [2024/05/06 16:29:12.288 +08:00] [INFO] [backfilling.go:293] ["[ddl] backfill worker finish task"] [type="add index"] ["worker ID"=0] [task="taskID_0_physicalTableID_82_[7480000000000000525f728000000000000001,7480000000000000525f728000000000000004]"] ["added count"=4] ["scan count"=4] ["next key"=7480000000000000525f72800000000000000400] ["take time"=303.237µs] [2024/05/06 16:29:12.290 +08:00] [INFO] [backfilling.go:478] ["[ddl] backfill workers successfully processed batch"] ["element type"=_idx_] ["element ID"=1] ["total added count"=4] ["start key"=7480000000000000525f728000000000000001] ["next key"=7480000000000000525f72800000000000000400] ["batch added count"=4] ["take time"=693.165µs] [] [2024/05/06 16:29:12.290 +08:00] [INFO] [reorg.go:238] ["[ddl] run reorg job done"] ["handled rows"=4] [2024/05/06 16:29:12.290 +08:00] [INFO] [backfilling.go:323] ["[ddl] backfill worker exit"] [type="add index"] [workerID=0] [2024/05/06 16:29:12.291 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=157.914µs] [phyTblIDs="[82]"] [actionTypes="[128]"] [2024/05/06 16:29:12.317 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:12.317 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=84] [version=45] [2024/05/06 16:29:12.318 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=45] ["take time"=26.796868ms] [job="ID:84, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:4, ArgLen:6, start time: 2024-05-06 16:29:12.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449572805614764034, UniqueWarnings:0"] [2024/05/06 16:29:12.324 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 41, tp add index"] [job="ID:84, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:4, ArgLen:0, start time: 2024-05-06 16:29:12.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449572805614764034, UniqueWarnings:0"] [2024/05/06 16:29:12.325 +08:00] [INFO] [index.go:862] ["[ddl] index backfill state ready to merge"] ["job ID"=84] [table=test] [index=idx1] [2024/05/06 16:29:12.327 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=195.082µs] [phyTblIDs="[82]"] [actionTypes="[128]"] [2024/05/06 16:29:12.367 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:12.367 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=84] [version=46] [2024/05/06 16:29:12.369 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=46] ["take time"=42.784785ms] [job="ID:84, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:4, ArgLen:6, start time: 2024-05-06 16:29:12.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:29:12.398 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 42, tp add index"] [job="ID:84, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:4, ArgLen:0, start time: 2024-05-06 16:29:12.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:29:12.399 +08:00] [INFO] [reorg.go:621] ["[ddl] job get table range"] [jobID=84] [physicalTableID=82] [startKey=7480000000000000525f69ffff000000000001] [endKey=7480000000000000525f69ffff000000000001ff] [2024/05/06 16:29:12.400 +08:00] [INFO] [txn.go:55] ["Try to create a new txn inside a transaction auto commit"] [schemaVersion=46] [txnStartTS=449572805646483456] [txnScope=global] [2024/05/06 16:29:12.407 +08:00] [INFO] [ddl_worker.go:1369] ["[ddl] schema version doesn't change"] [2024/05/06 16:29:12.415 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 43, tp add index"] [job="ID:84, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:4, ArgLen:0, start time: 2024-05-06 16:29:12.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449572805646483457, UniqueWarnings:0"] [2024/05/06 16:29:12.427 +08:00] [INFO] [index.go:1679] ["[ddl] start to merge temp index"] [job="ID:84, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:4, ArgLen:6, start time: 2024-05-06 16:29:12.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449572805646483457, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:7480000000000000525f69ffff000000000001,EndKey:7480000000000000525f69ffff000000000001ff,First:false,PhysicalTableID:82,Ingest mode:false"] [2024/05/06 16:29:12.427 +08:00] [INFO] [backfilling.go:364] ["[ddl] split table range from PD"] [physicalTableID=82] ["start key"=7480000000000000525f69ffff000000000001] ["end key"=7480000000000000525f69ffff000000000001ff] [2024/05/06 16:29:12.427 +08:00] [INFO] [backfilling.go:861] ["[ddl] start backfill workers to reorg record"] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=7480000000000000525f69ffff000000000001] [endKey=7480000000000000525f69ffff000000000001ff] [2024/05/06 16:29:12.428 +08:00] [INFO] [backfilling.go:512] ["[ddl] send range task to workers, change end key"] ["end key"=7480000000000000525f69ffff000000000001ff] ["current end key"=7480000000000000525f69ffff000000000001] [2024/05/06 16:29:12.428 +08:00] [INFO] [backfilling.go:308] ["[ddl] backfill worker start"] [type="merge temporary index"] [workerID=0] [2024/05/06 16:29:12.428 +08:00] [INFO] [backfilling.go:293] ["[ddl] backfill worker finish task"] [type="merge temporary index"] ["worker ID"=0] [task="taskID_0_physicalTableID_82_[7480000000000000525f69ffff000000000001,7480000000000000525f69ffff000000000001]"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000525f69ffff00000000000100] ["take time"=90.818µs] [2024/05/06 16:29:12.439 +08:00] [INFO] [backfilling.go:478] ["[ddl] backfill workers successfully processed batch"] ["element type"=_idx_] ["element ID"=1] ["total added count"=4] ["start key"=7480000000000000525f69ffff000000000001] ["next key"=7480000000000000525f69ffff00000000000100] ["batch added count"=0] ["take time"=670.22µs] [] [2024/05/06 16:29:12.439 +08:00] [INFO] [reorg.go:238] ["[ddl] run reorg job done"] ["handled rows"=4] [2024/05/06 16:29:12.439 +08:00] [INFO] [backfilling.go:323] ["[ddl] backfill worker exit"] [type="merge temporary index"] [workerID=0] [2024/05/06 16:29:12.439 +08:00] [INFO] [index.go:685] ["[ddl] run add index job done"] [charset=utf8mb4] [collation=utf8mb4_general_ci] [2024/05/06 16:29:12.442 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=220.273µs] [phyTblIDs="[82]"] [actionTypes="[128]"] [2024/05/06 16:29:12.466 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:12.466 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=84] [version=47] [2024/05/06 16:29:12.467 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=47] ["take time"=25.495969ms] [job="ID:84, Type:add index, State:done, SchemaState:public, SchemaID:80, TableID:82, RowCount:4, ArgLen:3, start time: 2024-05-06 16:29:12.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449572805646483457, UniqueWarnings:0"] [2024/05/06 16:29:12.480 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=84] [elementID=1] [comment="physical ID is 82"] [2024/05/06 16:29:12.484 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=84] [jobType="add index"] [2024/05/06 16:29:12.485 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 44, tp add index"] [job="ID:84, Type:add index, State:synced, SchemaState:public, SchemaID:80, TableID:82, RowCount:4, ArgLen:3, start time: 2024-05-06 16:29:12.137 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449572805646483457, UniqueWarnings:0"] [2024/05/06 16:29:12.496 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=84] [elementID=1] [startKey=7480000000000000525f69ffff000000000001] [endKey=7480000000000000525f69ffff000000000002] [2024/05/06 16:29:12.514 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=84] [2024/05/06 16:29:12.520 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:12.520 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# User@Host: root[root] @ 127.0.0.1 [127.0.0.1]\n# Conn_ID: 405\n# Query_time: 0.383911609\n# Parse_time: 0.000044396\n# Compile_time: 0.000122075\n# Rewrite_time: 0.000034996\n# Optimize_time: 0\n# Wait_TS: 0.000008484\n# DB: tidb\n# Is_internal: false\n# Digest: 6a1cf4784fb70b8c0a64519ca6500fe9bb60ac366ee920b85bd5857a1b3febc2\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000001819\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse tidb;\nalter table tidb.test add index idx1 (a, b);"] [2024/05/06 16:29:12.525 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=405] [schemaVersion=47] [cur_db=tidb] [sql="alter table tidb.test drop index idx1;"] [user=root@%] [2024/05/06 16:29:12.536 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:85, Type:drop index, State:queueing, SchemaState:public, SchemaID:80, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:12.526 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:12.536 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:85, Type:drop index, State:queueing, SchemaState:public, SchemaID:80, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:12.526 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="alter table tidb.test drop index idx1;"] [2024/05/06 16:29:12.552 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 37, tp general"] [job="ID:85, Type:drop index, State:queueing, SchemaState:public, SchemaID:80, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:12.526 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:12.555 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=211.772µs] [phyTblIDs="[82]"] [actionTypes="[256]"] [2024/05/06 16:29:12.566 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:12.566 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=48] [2024/05/06 16:29:12.567 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=48] ["take time"=12.065414ms] [job="ID:85, Type:drop index, State:running, SchemaState:write only, SchemaID:80, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:12.526 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:12.573 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 37, tp general"] [job="ID:85, Type:drop index, State:running, SchemaState:write only, SchemaID:80, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:12.526 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:12.576 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=161.598µs] [phyTblIDs="[82]"] [actionTypes="[256]"] [2024/05/06 16:29:12.617 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:12.617 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=49] [2024/05/06 16:29:12.619 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=49] ["take time"=42.917866ms] [job="ID:85, Type:drop index, State:running, SchemaState:delete only, SchemaID:80, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:12.526 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:12.625 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 37, tp general"] [job="ID:85, Type:drop index, State:running, SchemaState:delete only, SchemaID:80, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:12.526 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:12.627 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=259.503µs] [phyTblIDs="[82]"] [actionTypes="[256]"] [2024/05/06 16:29:12.667 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:12.667 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=50] [2024/05/06 16:29:12.670 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=50] ["take time"=43.203154ms] [job="ID:85, Type:drop index, State:running, SchemaState:delete reorganization, SchemaID:80, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:12.526 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:12.674 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 37, tp general"] [job="ID:85, Type:drop index, State:running, SchemaState:delete reorganization, SchemaID:80, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:12.526 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:12.676 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=164.141µs] [phyTblIDs="[82]"] [actionTypes="[256]"] [2024/05/06 16:29:12.716 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:12.716 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=51] [2024/05/06 16:29:12.716 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=51] ["take time"=40.090004ms] [job="ID:85, Type:drop index, State:done, SchemaState:none, SchemaID:80, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:29:12.526 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:12.723 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=85] [elementID=1] [comment="index ID is 1"] [2024/05/06 16:29:12.725 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=85] [jobType="drop index"] [2024/05/06 16:29:12.725 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 37, tp general"] [job="ID:85, Type:drop index, State:synced, SchemaState:none, SchemaID:80, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:29:12.526 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:12.728 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=85] [elementID=1] [startKey=7480000000000000525f698000000000000001] [endKey=7480000000000000525f698000000000000002] [2024/05/06 16:29:12.744 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=85] [2024/05/06 16:29:12.744 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:12.745 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=405] [schemaVersion=51] [cur_db=tidb] [sql="alter table tidb.test add index idx1 (a, b);"] [user=root@%] [2024/05/06 16:29:12.747 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:86, Type:add index, State:queueing, SchemaState:none, SchemaID:80, TableID:82, RowCount:0, ArgLen:6, start time: 2024-05-06 16:29:12.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:29:12.748 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:86, Type:add index, State:queueing, SchemaState:none, SchemaID:80, TableID:82, RowCount:0, ArgLen:6, start time: 2024-05-06 16:29:12.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="alter table tidb.test add index idx1 (a, b);"] [2024/05/06 16:29:12.760 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 42, tp add index"] [job="ID:86, Type:add index, State:queueing, SchemaState:none, SchemaID:80, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:12.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:29:12.760 +08:00] [INFO] [index.go:605] ["[ddl] run add index job"] [job="ID:86, Type:add index, State:running, SchemaState:none, SchemaID:80, TableID:82, RowCount:0, ArgLen:6, start time: 2024-05-06 16:29:12.746 +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}"] [2024/05/06 16:29:12.762 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=184.847µs] [phyTblIDs="[82]"] [actionTypes="[128]"] [2024/05/06 16:29:12.766 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:12.767 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=86] [version=52] [2024/05/06 16:29:12.768 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=52] ["take time"=6.197621ms] [job="ID:86, Type:add index, State:running, SchemaState:delete only, SchemaID:80, TableID:82, RowCount:0, ArgLen:6, start time: 2024-05-06 16:29:12.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:29:12.773 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 43, tp add index"] [job="ID:86, Type:add index, State:running, SchemaState:delete only, SchemaID:80, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:12.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:29:12.775 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=362.544µs] [phyTblIDs="[82]"] [actionTypes="[128]"] [2024/05/06 16:29:12.817 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:12.817 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=86] [version=53] [2024/05/06 16:29:12.818 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=53] ["take time"=42.824791ms] [job="ID:86, Type:add index, State:running, SchemaState:write only, SchemaID:80, TableID:82, RowCount:0, ArgLen:6, start time: 2024-05-06 16:29:12.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:29:12.824 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 44, tp add index"] [job="ID:86, Type:add index, State:running, SchemaState:write only, SchemaID:80, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:12.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:29:12.827 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=230.409µs] [phyTblIDs="[82]"] [actionTypes="[128]"] [2024/05/06 16:29:12.866 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:12.866 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=86] [version=54] [2024/05/06 16:29:12.866 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=54] ["take time"=40.029553ms] [job="ID:86, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:0, ArgLen:6, start time: 2024-05-06 16:29:12.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:29:12.873 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 45, tp add index"] [job="ID:86, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:12.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:29:12.873 +08:00] [INFO] [index.go:800] ["[ddl] index backfill state running"] ["job ID"=86] [table=test] ["ingest mode"=true] [index=idx1] [2024/05/06 16:29:12.873 +08:00] [INFO] [config.go:97] ["[ddl-ingest] initial memory setting for lightning"] ["local writer memory cache size"=134217728] ["engine memory cache size"=536870912] ["range concurrency"=16] [2024/05/06 16:29:12.874 +08:00] [INFO] [config.go:112] ["[ddl-ingest] change memory setting for lightning"] ["local writer memory cache size"=67108864] ["engine memory cache size"=268435456] ["range concurrency"=16] [2024/05/06 16:29:12.874 +08:00] [ERROR] [backend_mgr.go:66] ["[ddl-ingest] build lightning backend failed, will use kernel index reorg method to backfill the index"] ["job ID"=86] [error="[Lightning:PD:ErrUpdatePD]pd address (/tmp/tidb) not available, error is Get \"http:///tmp/tidb/pd/api/v1/config/cluster-version\": http: no Host in request URL, please check network"] [errorVerbose="[Lightning:PD:ErrUpdatePD]pd address (/tmp/tidb) not available, error is Get \"http:///tmp/tidb/pd/api/v1/config/cluster-version\": http: no Host in request URL, please check network\ngithub.com/pingcap/tidb/br/pkg/pdutil.NewPdController\n\tbr/pkg/pdutil/pd.go:289\ngithub.com/pingcap/tidb/br/pkg/lightning/backend/local.NewLocalBackend\n\tbr/pkg/lightning/backend/local/local.go:431\ngithub.com/pingcap/tidb/ddl/ingest.createLocalBackend\n\tddl/ingest/backend_mgr.go:91\ngithub.com/pingcap/tidb/ddl/ingest.(*backendCtxManager).Register\n\tddl/ingest/backend_mgr.go:64\ngithub.com/pingcap/tidb/ddl.doReorgWorkForCreateIndex\n\tddl/index.go:816\ngithub.com/pingcap/tidb/ddl.(*worker).onCreateIndex\n\tddl/index.go:661\ngithub.com/pingcap/tidb/ddl.(*worker).runDDLJob\n\tddl/ddl_worker.go:1244\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:856\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tGOROOT/src/runtime/asm_amd64.s:1594"] [stack="github.com/pingcap/tidb/ddl/ingest.(*backendCtxManager).Register\n\tddl/ingest/backend_mgr.go:66\ngithub.com/pingcap/tidb/ddl.doReorgWorkForCreateIndex\n\tddl/index.go:816\ngithub.com/pingcap/tidb/ddl.(*worker).onCreateIndex\n\tddl/index.go:661\ngithub.com/pingcap/tidb/ddl.(*worker).runDDLJob\n\tddl/ddl_worker.go:1244\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:856\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:29:12.874 +08:00] [INFO] [index.go:767] ["[ddl] fallback to txn-merge backfill process"] [error="[Lightning:PD:ErrUpdatePD]pd address (/tmp/tidb) not available, error is Get \"http:///tmp/tidb/pd/api/v1/config/cluster-version\": http: no Host in request URL, please check network"] [errorVerbose="[Lightning:PD:ErrUpdatePD]pd address (/tmp/tidb) not available, error is Get \"http:///tmp/tidb/pd/api/v1/config/cluster-version\": http: no Host in request URL, please check network\ngithub.com/pingcap/tidb/br/pkg/pdutil.NewPdController\n\tbr/pkg/pdutil/pd.go:289\ngithub.com/pingcap/tidb/br/pkg/lightning/backend/local.NewLocalBackend\n\tbr/pkg/lightning/backend/local/local.go:431\ngithub.com/pingcap/tidb/ddl/ingest.createLocalBackend\n\tddl/ingest/backend_mgr.go:91\ngithub.com/pingcap/tidb/ddl/ingest.(*backendCtxManager).Register\n\tddl/ingest/backend_mgr.go:64\ngithub.com/pingcap/tidb/ddl.doReorgWorkForCreateIndex\n\tddl/index.go:816\ngithub.com/pingcap/tidb/ddl.(*worker).onCreateIndex\n\tddl/index.go:661\ngithub.com/pingcap/tidb/ddl.(*worker).runDDLJob\n\tddl/ddl_worker.go:1244\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:856\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tGOROOT/src/runtime/asm_amd64.s:1594"] [2024/05/06 16:29:12.875 +08:00] [INFO] [ddl_worker.go:1369] ["[ddl] schema version doesn't change"] [2024/05/06 16:29:12.882 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 46, tp add index"] [job="ID:86, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:12.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:29:12.884 +08:00] [INFO] [index.go:800] ["[ddl] index backfill state running"] ["job ID"=86] [table=test] ["ingest mode"=false] [index=idx1] [2024/05/06 16:29:12.885 +08:00] [INFO] [reorg.go:621] ["[ddl] job get table range"] [jobID=86] [physicalTableID=82] [startKey=7480000000000000525f728000000000000001] [endKey=7480000000000000525f728000000000000004] [2024/05/06 16:29:12.885 +08:00] [INFO] [txn.go:55] ["Try to create a new txn inside a transaction auto commit"] [schemaVersion=54] [txnStartTS=449572805773623296] [txnScope=global] [2024/05/06 16:29:12.890 +08:00] [INFO] [ddl_worker.go:1369] ["[ddl] schema version doesn't change"] [2024/05/06 16:29:12.908 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 47, tp add index"] [job="ID:86, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:12.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449572805773623297, UniqueWarnings:0"] [2024/05/06 16:29:12.909 +08:00] [INFO] [index.go:800] ["[ddl] index backfill state running"] ["job ID"=86] [table=test] ["ingest mode"=false] [index=idx1] [2024/05/06 16:29:12.911 +08:00] [INFO] [index.go:1682] ["[ddl] start to add table index"] [job="ID:86, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:0, ArgLen:6, start time: 2024-05-06 16:29:12.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449572805773623297, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:7480000000000000525f728000000000000001,EndKey:7480000000000000525f728000000000000004,First:false,PhysicalTableID:82,Ingest mode:false"] [2024/05/06 16:29:12.912 +08:00] [INFO] [backfilling.go:364] ["[ddl] split table range from PD"] [physicalTableID=82] ["start key"=7480000000000000525f728000000000000001] ["end key"=7480000000000000525f728000000000000004] [2024/05/06 16:29:12.913 +08:00] [INFO] [backfilling.go:861] ["[ddl] start backfill workers to reorg record"] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=7480000000000000525f728000000000000001] [endKey=7480000000000000525f728000000000000004] [2024/05/06 16:29:12.914 +08:00] [INFO] [backfilling.go:308] ["[ddl] backfill worker start"] [type="add index"] [workerID=0] [2024/05/06 16:29:12.914 +08:00] [INFO] [backfilling.go:512] ["[ddl] send range task to workers, change end key"] ["end key"=7480000000000000525f728000000000000004] ["current end key"=7480000000000000525f728000000000000004] [2024/05/06 16:29:12.915 +08:00] [INFO] [backfilling.go:293] ["[ddl] backfill worker finish task"] [type="add index"] ["worker ID"=0] [task="taskID_0_physicalTableID_82_[7480000000000000525f728000000000000001,7480000000000000525f728000000000000004]"] ["added count"=4] ["scan count"=4] ["next key"=7480000000000000525f72800000000000000400] ["take time"=772.373µs] [2024/05/06 16:29:12.919 +08:00] [INFO] [backfilling.go:478] ["[ddl] backfill workers successfully processed batch"] ["element type"=_idx_] ["element ID"=2] ["total added count"=4] ["start key"=7480000000000000525f728000000000000001] ["next key"=7480000000000000525f72800000000000000400] ["batch added count"=4] ["take time"=1.720602ms] [] [2024/05/06 16:29:12.919 +08:00] [INFO] [reorg.go:238] ["[ddl] run reorg job done"] ["handled rows"=4] [2024/05/06 16:29:12.922 +08:00] [INFO] [backfilling.go:323] ["[ddl] backfill worker exit"] [type="add index"] [workerID=0] [2024/05/06 16:29:12.922 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=310.186µs] [phyTblIDs="[82]"] [actionTypes="[128]"] [2024/05/06 16:29:12.966 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:12.966 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=86] [version=55] [2024/05/06 16:29:12.966 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=55] ["take time"=44.171133ms] [job="ID:86, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:4, ArgLen:6, start time: 2024-05-06 16:29:12.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449572805773623297, UniqueWarnings:0"] [2024/05/06 16:29:12.974 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 38, tp add index"] [job="ID:86, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:4, ArgLen:0, start time: 2024-05-06 16:29:12.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449572805773623297, UniqueWarnings:0"] [2024/05/06 16:29:12.974 +08:00] [INFO] [index.go:862] ["[ddl] index backfill state ready to merge"] ["job ID"=86] [table=test] [index=idx1] [2024/05/06 16:29:12.976 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=204.523µs] [phyTblIDs="[82]"] [actionTypes="[128]"] [2024/05/06 16:29:13.020 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:13.020 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=86] [version=56] [2024/05/06 16:29:13.020 +08:00] [INFO] [info.go:1114] [SetTiFlashGroupConfig] [2024/05/06 16:29:13.026 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=56] ["take time"=50.222373ms] [job="ID:86, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:4, ArgLen:6, start time: 2024-05-06 16:29:12.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:29:13.035 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 39, tp add index"] [job="ID:86, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:4, ArgLen:0, start time: 2024-05-06 16:29:12.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:29:13.035 +08:00] [INFO] [reorg.go:621] ["[ddl] job get table range"] [jobID=86] [physicalTableID=82] [startKey=7480000000000000525f69ffff000000000002] [endKey=7480000000000000525f69ffff000000000002ff] [2024/05/06 16:29:13.035 +08:00] [INFO] [txn.go:55] ["Try to create a new txn inside a transaction auto commit"] [schemaVersion=56] [txnStartTS=449572805813207041] [txnScope=global] [2024/05/06 16:29:13.038 +08:00] [INFO] [ddl_worker.go:1369] ["[ddl] schema version doesn't change"] [2024/05/06 16:29:13.053 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 40, tp add index"] [job="ID:86, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:4, ArgLen:0, start time: 2024-05-06 16:29:12.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449572805813207042, UniqueWarnings:0"] [2024/05/06 16:29:13.055 +08:00] [INFO] [index.go:1679] ["[ddl] start to merge temp index"] [job="ID:86, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:4, ArgLen:6, start time: 2024-05-06 16:29:12.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449572805813207042, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:7480000000000000525f69ffff000000000002,EndKey:7480000000000000525f69ffff000000000002ff,First:false,PhysicalTableID:82,Ingest mode:false"] [2024/05/06 16:29:13.055 +08:00] [INFO] [backfilling.go:364] ["[ddl] split table range from PD"] [physicalTableID=82] ["start key"=7480000000000000525f69ffff000000000002] ["end key"=7480000000000000525f69ffff000000000002ff] [2024/05/06 16:29:13.056 +08:00] [INFO] [backfilling.go:861] ["[ddl] start backfill workers to reorg record"] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=7480000000000000525f69ffff000000000002] [endKey=7480000000000000525f69ffff000000000002ff] [2024/05/06 16:29:13.056 +08:00] [INFO] [backfilling.go:512] ["[ddl] send range task to workers, change end key"] ["end key"=7480000000000000525f69ffff000000000002ff] ["current end key"=7480000000000000525f69ffff000000000002] [2024/05/06 16:29:13.056 +08:00] [INFO] [backfilling.go:308] ["[ddl] backfill worker start"] [type="merge temporary index"] [workerID=0] [2024/05/06 16:29:13.056 +08:00] [INFO] [backfilling.go:293] ["[ddl] backfill worker finish task"] [type="merge temporary index"] ["worker ID"=0] [task="taskID_0_physicalTableID_82_[7480000000000000525f69ffff000000000002,7480000000000000525f69ffff000000000002]"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000525f69ffff00000000000200] ["take time"=94.825µs] [2024/05/06 16:29:13.059 +08:00] [INFO] [backfilling.go:478] ["[ddl] backfill workers successfully processed batch"] ["element type"=_idx_] ["element ID"=2] ["total added count"=4] ["start key"=7480000000000000525f69ffff000000000002] ["next key"=7480000000000000525f69ffff00000000000200] ["batch added count"=0] ["take time"=735.818µs] [] [2024/05/06 16:29:13.059 +08:00] [INFO] [reorg.go:238] ["[ddl] run reorg job done"] ["handled rows"=4] [2024/05/06 16:29:13.059 +08:00] [INFO] [backfilling.go:323] ["[ddl] backfill worker exit"] [type="merge temporary index"] [workerID=0] [2024/05/06 16:29:13.059 +08:00] [INFO] [index.go:685] ["[ddl] run add index job done"] [charset=utf8mb4] [collation=utf8mb4_general_ci] [2024/05/06 16:29:13.061 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=211.977µs] [phyTblIDs="[82]"] [actionTypes="[128]"] [2024/05/06 16:29:13.067 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:13.067 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=86] [version=57] [2024/05/06 16:29:13.069 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=57] ["take time"=8.436893ms] [job="ID:86, Type:add index, State:done, SchemaState:public, SchemaID:80, TableID:82, RowCount:4, ArgLen:3, start time: 2024-05-06 16:29:12.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449572805813207042, UniqueWarnings:0"] [2024/05/06 16:29:13.075 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=86] [elementID=1] [comment="physical ID is 82"] [2024/05/06 16:29:13.076 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=86] [jobType="add index"] [2024/05/06 16:29:13.077 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 42, tp add index"] [job="ID:86, Type:add index, State:synced, SchemaState:public, SchemaID:80, TableID:82, RowCount:4, ArgLen:3, start time: 2024-05-06 16:29:12.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449572805813207042, UniqueWarnings:0"] [2024/05/06 16:29:13.079 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=86] [elementID=1] [startKey=7480000000000000525f69ffff000000000002] [endKey=7480000000000000525f69ffff000000000003] [2024/05/06 16:29:13.083 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=86] [2024/05/06 16:29:13.083 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:13.084 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# User@Host: root[root] @ 127.0.0.1 [127.0.0.1]\n# Conn_ID: 405\n# Query_time: 0.338659566\n# Parse_time: 0.000094845\n# Compile_time: 0.000181749\n# Rewrite_time: 0.000032215\n# Optimize_time: 0\n# Wait_TS: 0.000014005\n# DB: tidb\n# Is_internal: false\n# Digest: 6a1cf4784fb70b8c0a64519ca6500fe9bb60ac366ee920b85bd5857a1b3febc2\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000001942\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nalter table tidb.test add index idx1 (a, b);"] [2024/05/06 16:29:13.084 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=405] [schemaVersion=57] [cur_db=tidb] [sql="alter table tidb.test add unique index idx2 (a, b);"] [user=root@%] [2024/05/06 16:29:13.086 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:87, Type:add index, State:queueing, SchemaState:none, SchemaID:80, TableID:82, RowCount:0, ArgLen:6, start time: 2024-05-06 16:29:13.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:29:13.086 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:87, Type:add index, State:queueing, SchemaState:none, SchemaID:80, TableID:82, RowCount:0, ArgLen:6, start time: 2024-05-06 16:29:13.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="alter table tidb.test add unique index idx2 (a, b);"] [2024/05/06 16:29:13.098 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 44, tp add index"] [job="ID:87, Type:add index, State:queueing, SchemaState:none, SchemaID:80, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:13.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:29:13.098 +08:00] [INFO] [index.go:605] ["[ddl] run add index job"] [job="ID:87, Type:add index, State:running, SchemaState:none, SchemaID:80, TableID:82, RowCount:0, ArgLen:6, start time: 2024-05-06 16:29:13.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [indexInfo="{\"id\":3,\"idx_name\":{\"O\":\"idx2\",\"L\":\"idx2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"a\",\"L\":\"a\"},\"offset\":0,\"length\":-1},{\"name\":{\"O\":\"b\",\"L\":\"b\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false}"] [2024/05/06 16:29:13.101 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=223.787µs] [phyTblIDs="[82]"] [actionTypes="[128]"] [2024/05/06 16:29:13.116 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:13.116 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=87] [version=58] [2024/05/06 16:29:13.117 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=58] ["take time"=16.023637ms] [job="ID:87, Type:add index, State:running, SchemaState:delete only, SchemaID:80, TableID:82, RowCount:0, ArgLen:6, start time: 2024-05-06 16:29:13.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:29:13.128 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 45, tp add index"] [job="ID:87, Type:add index, State:running, SchemaState:delete only, SchemaID:80, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:13.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:29:13.132 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=274.34µs] [phyTblIDs="[82]"] [actionTypes="[128]"] [2024/05/06 16:29:13.166 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:13.166 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=87] [version=59] [2024/05/06 16:29:13.168 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=59] ["take time"=36.775245ms] [job="ID:87, Type:add index, State:running, SchemaState:write only, SchemaID:80, TableID:82, RowCount:0, ArgLen:6, start time: 2024-05-06 16:29:13.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:29:13.175 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 46, tp add index"] [job="ID:87, Type:add index, State:running, SchemaState:write only, SchemaID:80, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:13.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:29:13.178 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=223.457µs] [phyTblIDs="[82]"] [actionTypes="[128]"] [2024/05/06 16:29:13.216 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:13.216 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=87] [version=60] [2024/05/06 16:29:13.218 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=60] ["take time"=40.34459ms] [job="ID:87, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:0, ArgLen:6, start time: 2024-05-06 16:29:13.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:29:13.232 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 47, tp add index"] [job="ID:87, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:13.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:29:13.232 +08:00] [INFO] [index.go:800] ["[ddl] index backfill state running"] ["job ID"=87] [table=test] ["ingest mode"=true] [index=idx2] [2024/05/06 16:29:13.232 +08:00] [INFO] [config.go:97] ["[ddl-ingest] initial memory setting for lightning"] ["local writer memory cache size"=134217728] ["engine memory cache size"=536870912] ["range concurrency"=16] [2024/05/06 16:29:13.232 +08:00] [INFO] [config.go:112] ["[ddl-ingest] change memory setting for lightning"] ["local writer memory cache size"=67108864] ["engine memory cache size"=268435456] ["range concurrency"=16] [2024/05/06 16:29:13.232 +08:00] [ERROR] [backend_mgr.go:66] ["[ddl-ingest] build lightning backend failed, will use kernel index reorg method to backfill the index"] ["job ID"=87] [error="[Lightning:PD:ErrUpdatePD]pd address (/tmp/tidb) not available, error is Get \"http:///tmp/tidb/pd/api/v1/config/cluster-version\": http: no Host in request URL, please check network"] [errorVerbose="[Lightning:PD:ErrUpdatePD]pd address (/tmp/tidb) not available, error is Get \"http:///tmp/tidb/pd/api/v1/config/cluster-version\": http: no Host in request URL, please check network\ngithub.com/pingcap/tidb/br/pkg/pdutil.NewPdController\n\tbr/pkg/pdutil/pd.go:289\ngithub.com/pingcap/tidb/br/pkg/lightning/backend/local.NewLocalBackend\n\tbr/pkg/lightning/backend/local/local.go:431\ngithub.com/pingcap/tidb/ddl/ingest.createLocalBackend\n\tddl/ingest/backend_mgr.go:91\ngithub.com/pingcap/tidb/ddl/ingest.(*backendCtxManager).Register\n\tddl/ingest/backend_mgr.go:64\ngithub.com/pingcap/tidb/ddl.doReorgWorkForCreateIndex\n\tddl/index.go:816\ngithub.com/pingcap/tidb/ddl.(*worker).onCreateIndex\n\tddl/index.go:661\ngithub.com/pingcap/tidb/ddl.(*worker).runDDLJob\n\tddl/ddl_worker.go:1244\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:856\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tGOROOT/src/runtime/asm_amd64.s:1594"] [stack="github.com/pingcap/tidb/ddl/ingest.(*backendCtxManager).Register\n\tddl/ingest/backend_mgr.go:66\ngithub.com/pingcap/tidb/ddl.doReorgWorkForCreateIndex\n\tddl/index.go:816\ngithub.com/pingcap/tidb/ddl.(*worker).onCreateIndex\n\tddl/index.go:661\ngithub.com/pingcap/tidb/ddl.(*worker).runDDLJob\n\tddl/ddl_worker.go:1244\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:856\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:29:13.233 +08:00] [INFO] [index.go:767] ["[ddl] fallback to txn-merge backfill process"] [error="[Lightning:PD:ErrUpdatePD]pd address (/tmp/tidb) not available, error is Get \"http:///tmp/tidb/pd/api/v1/config/cluster-version\": http: no Host in request URL, please check network"] [errorVerbose="[Lightning:PD:ErrUpdatePD]pd address (/tmp/tidb) not available, error is Get \"http:///tmp/tidb/pd/api/v1/config/cluster-version\": http: no Host in request URL, please check network\ngithub.com/pingcap/tidb/br/pkg/pdutil.NewPdController\n\tbr/pkg/pdutil/pd.go:289\ngithub.com/pingcap/tidb/br/pkg/lightning/backend/local.NewLocalBackend\n\tbr/pkg/lightning/backend/local/local.go:431\ngithub.com/pingcap/tidb/ddl/ingest.createLocalBackend\n\tddl/ingest/backend_mgr.go:91\ngithub.com/pingcap/tidb/ddl/ingest.(*backendCtxManager).Register\n\tddl/ingest/backend_mgr.go:64\ngithub.com/pingcap/tidb/ddl.doReorgWorkForCreateIndex\n\tddl/index.go:816\ngithub.com/pingcap/tidb/ddl.(*worker).onCreateIndex\n\tddl/index.go:661\ngithub.com/pingcap/tidb/ddl.(*worker).runDDLJob\n\tddl/ddl_worker.go:1244\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:856\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tGOROOT/src/runtime/asm_amd64.s:1594"] [2024/05/06 16:29:13.234 +08:00] [INFO] [ddl_worker.go:1369] ["[ddl] schema version doesn't change"] [2024/05/06 16:29:13.249 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 38, tp add index"] [job="ID:87, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:13.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:29:13.249 +08:00] [INFO] [index.go:800] ["[ddl] index backfill state running"] ["job ID"=87] [table=test] ["ingest mode"=false] [index=idx2] [2024/05/06 16:29:13.250 +08:00] [INFO] [reorg.go:621] ["[ddl] job get table range"] [jobID=87] [physicalTableID=82] [startKey=7480000000000000525f728000000000000001] [endKey=7480000000000000525f728000000000000004] [2024/05/06 16:29:13.250 +08:00] [INFO] [txn.go:55] ["Try to create a new txn inside a transaction auto commit"] [schemaVersion=60] [txnStartTS=449572805869568000] [txnScope=global] [2024/05/06 16:29:13.253 +08:00] [INFO] [ddl_worker.go:1369] ["[ddl] schema version doesn't change"] [2024/05/06 16:29:13.259 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 39, tp add index"] [job="ID:87, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:13.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449572805869568001, UniqueWarnings:0"] [2024/05/06 16:29:13.260 +08:00] [INFO] [index.go:800] ["[ddl] index backfill state running"] ["job ID"=87] [table=test] ["ingest mode"=false] [index=idx2] [2024/05/06 16:29:13.262 +08:00] [INFO] [index.go:1682] ["[ddl] start to add table index"] [job="ID:87, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:0, ArgLen:6, start time: 2024-05-06 16:29:13.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449572805869568001, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:3,StartKey:7480000000000000525f728000000000000001,EndKey:7480000000000000525f728000000000000004,First:false,PhysicalTableID:82,Ingest mode:false"] [2024/05/06 16:29:13.262 +08:00] [INFO] [backfilling.go:364] ["[ddl] split table range from PD"] [physicalTableID=82] ["start key"=7480000000000000525f728000000000000001] ["end key"=7480000000000000525f728000000000000004] [2024/05/06 16:29:13.263 +08:00] [INFO] [backfilling.go:861] ["[ddl] start backfill workers to reorg record"] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=7480000000000000525f728000000000000001] [endKey=7480000000000000525f728000000000000004] [2024/05/06 16:29:13.264 +08:00] [INFO] [backfilling.go:512] ["[ddl] send range task to workers, change end key"] ["end key"=7480000000000000525f728000000000000004] ["current end key"=7480000000000000525f728000000000000004] [2024/05/06 16:29:13.264 +08:00] [INFO] [backfilling.go:308] ["[ddl] backfill worker start"] [type="add index"] [workerID=0] [2024/05/06 16:29:13.265 +08:00] [INFO] [backfilling.go:293] ["[ddl] backfill worker finish task"] [type="add index"] ["worker ID"=0] [task="taskID_0_physicalTableID_82_[7480000000000000525f728000000000000001,7480000000000000525f728000000000000004]"] ["added count"=4] ["scan count"=4] ["next key"=7480000000000000525f72800000000000000400] ["take time"=842.12µs] [2024/05/06 16:29:13.267 +08:00] [INFO] [backfilling.go:478] ["[ddl] backfill workers successfully processed batch"] ["element type"=_idx_] ["element ID"=3] ["total added count"=4] ["start key"=7480000000000000525f728000000000000001] ["next key"=7480000000000000525f72800000000000000400] ["batch added count"=4] ["take time"=1.669224ms] [] [2024/05/06 16:29:13.267 +08:00] [INFO] [reorg.go:238] ["[ddl] run reorg job done"] ["handled rows"=4] [2024/05/06 16:29:13.267 +08:00] [INFO] [backfilling.go:323] ["[ddl] backfill worker exit"] [type="add index"] [workerID=0] [2024/05/06 16:29:13.269 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=174.217µs] [phyTblIDs="[82]"] [actionTypes="[128]"] [2024/05/06 16:29:13.317 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:13.317 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=87] [version=61] [2024/05/06 16:29:13.317 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=61] ["take time"=48.539203ms] [job="ID:87, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:4, ArgLen:6, start time: 2024-05-06 16:29:13.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449572805869568001, UniqueWarnings:0"] [2024/05/06 16:29:13.324 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 40, tp add index"] [job="ID:87, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:4, ArgLen:0, start time: 2024-05-06 16:29:13.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449572805869568001, UniqueWarnings:0"] [2024/05/06 16:29:13.324 +08:00] [INFO] [index.go:862] ["[ddl] index backfill state ready to merge"] ["job ID"=87] [table=test] [index=idx2] [2024/05/06 16:29:13.326 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=229.152µs] [phyTblIDs="[82]"] [actionTypes="[128]"] [2024/05/06 16:29:13.366 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:13.366 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=87] [version=62] [2024/05/06 16:29:13.369 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=62] ["take time"=42.569311ms] [job="ID:87, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:4, ArgLen:6, start time: 2024-05-06 16:29:13.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:29:13.376 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 41, tp add index"] [job="ID:87, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:4, ArgLen:0, start time: 2024-05-06 16:29:13.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:29:13.376 +08:00] [INFO] [reorg.go:621] ["[ddl] job get table range"] [jobID=87] [physicalTableID=82] [startKey=7480000000000000525f69ffff000000000003] [endKey=7480000000000000525f69ffff000000000003ff] [2024/05/06 16:29:13.376 +08:00] [INFO] [txn.go:55] ["Try to create a new txn inside a transaction auto commit"] [schemaVersion=62] [txnStartTS=449572805902598145] [txnScope=global] [2024/05/06 16:29:13.379 +08:00] [INFO] [ddl_worker.go:1369] ["[ddl] schema version doesn't change"] [2024/05/06 16:29:13.386 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 42, tp add index"] [job="ID:87, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:4, ArgLen:0, start time: 2024-05-06 16:29:13.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449572805902598146, UniqueWarnings:0"] [2024/05/06 16:29:13.388 +08:00] [INFO] [index.go:1679] ["[ddl] start to merge temp index"] [job="ID:87, Type:add index, State:running, SchemaState:write reorganization, SchemaID:80, TableID:82, RowCount:4, ArgLen:6, start time: 2024-05-06 16:29:13.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449572805902598146, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:3,StartKey:7480000000000000525f69ffff000000000003,EndKey:7480000000000000525f69ffff000000000003ff,First:false,PhysicalTableID:82,Ingest mode:false"] [2024/05/06 16:29:13.388 +08:00] [INFO] [backfilling.go:364] ["[ddl] split table range from PD"] [physicalTableID=82] ["start key"=7480000000000000525f69ffff000000000003] ["end key"=7480000000000000525f69ffff000000000003ff] [2024/05/06 16:29:13.389 +08:00] [INFO] [backfilling.go:861] ["[ddl] start backfill workers to reorg record"] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=7480000000000000525f69ffff000000000003] [endKey=7480000000000000525f69ffff000000000003ff] [2024/05/06 16:29:13.389 +08:00] [INFO] [backfilling.go:308] ["[ddl] backfill worker start"] [type="merge temporary index"] [workerID=0] [2024/05/06 16:29:13.390 +08:00] [INFO] [backfilling.go:512] ["[ddl] send range task to workers, change end key"] ["end key"=7480000000000000525f69ffff000000000003ff] ["current end key"=7480000000000000525f69ffff000000000003] [2024/05/06 16:29:13.390 +08:00] [INFO] [backfilling.go:293] ["[ddl] backfill worker finish task"] [type="merge temporary index"] ["worker ID"=0] [task="taskID_0_physicalTableID_82_[7480000000000000525f69ffff000000000003,7480000000000000525f69ffff000000000003]"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000525f69ffff00000000000300] ["take time"=97.84µs] [2024/05/06 16:29:13.393 +08:00] [INFO] [backfilling.go:478] ["[ddl] backfill workers successfully processed batch"] ["element type"=_idx_] ["element ID"=3] ["total added count"=4] ["start key"=7480000000000000525f69ffff000000000003] ["next key"=7480000000000000525f69ffff00000000000300] ["batch added count"=0] ["take time"=632.846µs] [] [2024/05/06 16:29:13.393 +08:00] [INFO] [reorg.go:238] ["[ddl] run reorg job done"] ["handled rows"=4] [2024/05/06 16:29:13.394 +08:00] [INFO] [backfilling.go:323] ["[ddl] backfill worker exit"] [type="merge temporary index"] [workerID=0] [2024/05/06 16:29:13.394 +08:00] [INFO] [index.go:685] ["[ddl] run add index job done"] [charset=utf8mb4] [collation=utf8mb4_general_ci] [2024/05/06 16:29:13.396 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=62] [neededSchemaVersion=63] ["start time"=231.041µs] [phyTblIDs="[82]"] [actionTypes="[128]"] [2024/05/06 16:29:13.416 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:13.416 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=87] [version=63] [2024/05/06 16:29:13.416 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=63] ["take time"=20.556837ms] [job="ID:87, Type:add index, State:done, SchemaState:public, SchemaID:80, TableID:82, RowCount:4, ArgLen:3, start time: 2024-05-06 16:29:13.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449572805902598146, UniqueWarnings:0"] [2024/05/06 16:29:13.444 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=87] [elementID=1] [comment="physical ID is 82"] [2024/05/06 16:29:13.447 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=87] [jobType="add index"] [2024/05/06 16:29:13.448 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 43, tp add index"] [job="ID:87, Type:add index, State:synced, SchemaState:public, SchemaID:80, TableID:82, RowCount:4, ArgLen:3, start time: 2024-05-06 16:29:13.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449572805902598146, UniqueWarnings:0"] [2024/05/06 16:29:13.453 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=87] [elementID=1] [startKey=7480000000000000525f69ffff000000000003] [endKey=7480000000000000525f69ffff000000000004] [2024/05/06 16:29:13.455 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=87] [2024/05/06 16:29:13.455 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:13.455 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# User@Host: root[root] @ 127.0.0.1 [127.0.0.1]\n# Conn_ID: 405\n# Query_time: 0.371653481\n# Parse_time: 0.000033811\n# Compile_time: 0.000105777\n# Rewrite_time: 0.000029987\n# Optimize_time: 0\n# Wait_TS: 0.000008448\n# DB: tidb\n# Is_internal: false\n# Digest: 9fa63e71da424fce7a18f48ec3186335d0337b99af62091946117c8b64ef45b3\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000001207\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nalter table tidb.test add unique index idx2 (a, b);"] [2024/05/06 16:29:13.460 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=405] [schemaVersion=63] [cur_db=tidb] [sql="create table tidb.pt (a int primary key, b varchar(20), key idx(a, b))\npartition by range (a)\n(partition p0 values less than (256),\n partition p1 values less than (512),\n partition p2 values less than (1024))"] [user=root@%] [2024/05/06 16:29:13.470 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:92, Type:create table, State:queueing, SchemaState:none, SchemaID:80, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:13.462 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:13.471 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:92, Type:create table, State:queueing, SchemaState:none, SchemaID:80, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:13.462 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table tidb.pt (a int primary key, b varchar(20), key idx(a, b))\npartition by range (a)\n(partition p0 values less than (256),\n partition p1 values less than (512),\n partition p2 values less than (1024))"] [2024/05/06 16:29:13.495 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 37, tp general"] [job="ID:92, Type:create table, State:queueing, SchemaState:none, SchemaID:80, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:13.462 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:13.509 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=2.216371ms] [phyTblIDs="[88,89,90,91]"] [actionTypes="[8,8,8,8]"] [2024/05/06 16:29:13.517 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:13.517 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=92] [version=64] [2024/05/06 16:29:13.521 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=64] ["take time"=14.212513ms] [job="ID:92, Type:create table, State:done, SchemaState:public, SchemaID:80, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:13.462 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:13.528 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 37, tp general"] [job="ID:92, Type:create table, State:synced, SchemaState:public, SchemaID:80, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:13.462 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:13.533 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=92] [2024/05/06 16:29:13.533 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:13.535 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=405] [schemaVersion=64] [cur_db=tidb] [sql="drop table if exists t"] [user=root@%] [2024/05/06 16:29:13.536 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=405] [schemaVersion=64] [cur_db=tidb] [sql="create table t (a double, b varchar(20), c int, primary key(a,b) clustered, key idx(c))"] [user=root@%] [2024/05/06 16:29:13.539 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:94, Type:create table, State:queueing, SchemaState:none, SchemaID:80, TableID:93, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:13.537 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:13.539 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:94, Type:create table, State:queueing, SchemaState:none, SchemaID:80, TableID:93, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:13.537 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t (a double, b varchar(20), c int, primary key(a,b) clustered, key idx(c))"] [2024/05/06 16:29:13.556 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 37, tp general"] [job="ID:94, Type:create table, State:queueing, SchemaState:none, SchemaID:80, TableID:93, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:13.537 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:13.565 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=64] [neededSchemaVersion=65] ["start time"=826.016µs] [phyTblIDs="[93]"] [actionTypes="[8]"] [2024/05/06 16:29:13.569 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:13.569 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=94] [version=65] [2024/05/06 16:29:13.571 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=65] ["take time"=6.689935ms] [job="ID:94, Type:create table, State:done, SchemaState:public, SchemaID:80, TableID:93, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:13.537 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:13.600 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 37, tp general"] [job="ID:94, Type:create table, State:synced, SchemaState:public, SchemaID:80, TableID:93, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:13.537 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:13.603 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=94] [2024/05/06 16:29:13.603 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:13.608 +08:00] [INFO] [server.go:555] ["setting tidb-server to report unhealthy (shutting-down)"] [2024/05/06 16:29:13.608 +08:00] [ERROR] [http_status.go:509] ["start status/rpc server error"] [error="accept tcp 127.0.0.1:38345: use of closed network connection"] [stack="github.com/pingcap/tidb/server.(*Server).startStatusServerAndRPCServer\n\tserver/http_status.go:509\ngithub.com/pingcap/tidb/server.(*Server).startHTTPServer\n\tserver/http_status.go:455"] [2024/05/06 16:29:13.608 +08:00] [ERROR] [http_status.go:499] ["grpc server error"] [error="mux: server closed"] [stack="github.com/pingcap/tidb/server.(*Server).startStatusServerAndRPCServer.func1\n\tserver/http_status.go:499\ngithub.com/pingcap/tidb/util.WithRecovery\n\tutil/misc.go:96"] [2024/05/06 16:29:13.608 +08:00] [ERROR] [http_status.go:504] ["http server error"] [error="http: Server closed"] [stack="github.com/pingcap/tidb/server.(*Server).startStatusServerAndRPCServer.func2\n\tserver/http_status.go:504\ngithub.com/pingcap/tidb/util.WithRecovery\n\tutil/misc.go:96"] [2024/05/06 16:29:13.612 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:29:13.612 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 40, tp add index"] ["take time"=1.929µs] [2024/05/06 16:29:13.612 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 41, tp add index"] ["take time"=1.492µs] [2024/05/06 16:29:13.612 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 42, tp add index"] ["take time"=828ns] [2024/05/06 16:29:13.612 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 43, tp add index"] ["take time"=1.363µs] [2024/05/06 16:29:13.612 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 44, tp add index"] ["take time"=1.053µs] [2024/05/06 16:29:13.612 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 45, tp add index"] ["take time"=1.243µs] [2024/05/06 16:29:13.612 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 46, tp add index"] ["take time"=1µs] [2024/05/06 16:29:13.612 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 47, tp add index"] ["take time"=1.064µs] [2024/05/06 16:29:13.612 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 38, tp add index"] ["take time"=948ns] [2024/05/06 16:29:13.612 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 39, tp add index"] ["take time"=922ns] [2024/05/06 16:29:13.612 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:29:13.612 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 37, tp general"] ["take time"=1.031µs] [2024/05/06 16:29:13.612 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 35, tp general"] ["take time"=395ns] [2024/05/06 16:29:13.612 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 36, tp add index"] ["take time"=508ns] [2024/05/06 16:29:13.612 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:29:13.612 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:29:13.613 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=cd23a970-f714-4e13-8934-147c108b2c6a] ["take time"=4.522168ms] [2024/05/06 16:29:13.613 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=cd23a970-f714-4e13-8934-147c108b2c6a] [2024/05/06 16:29:13.613 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:29:13.613 +08:00] [INFO] [domain.go:1525] ["globalBindHandleWorkerLoop exited."] [2024/05/06 16:29:13.613 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:29:13.613 +08:00] [INFO] [domain.go:1748] ["dumpFileGcChecker exited."] [2024/05/06 16:29:13.613 +08:00] [INFO] [domain.go:1444] ["LoadSysVarCacheLoop exited."] [2024/05/06 16:29:13.613 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:29:13.613 +08:00] [INFO] [domain.go:1394] ["loadPrivilegeInLoop exited."] [2024/05/06 16:29:13.613 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:29:13.613 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:29:13.613 +08:00] [INFO] [domain.go:1569] ["handleEvolvePlanTasksLoop exited."] [2024/05/06 16:29:13.613 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:29:13.613 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:29:13.613 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:29:13.613 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:29:13.613 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:29:13.614 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:29:13.614 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=5.315679ms] [2024/05/06 16:29:13.615 +08:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 16:29:13.615 +08:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 16:29:13.615 +08:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 16:29:13.615 +08:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 16:29:13.615 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 16:29:13.615 +08:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestGetIndexMVCC (4.60s) === RUN TestStatusAPIWithTLS [2024/05/06 16:29:13.626 +08:00] [INFO] [region_cache.go:2484] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 16:29:13.626 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:29:13.626 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:29:13.627 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:29:13.627 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:29:13.627 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:29:13.628 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=8de63c22-53f6-4223-b192-2155ed562ae2] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 16:29:13.628 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).Init\n\tdomain/domain.go:1074\ngithub.com/pingcap/tidb/session.(*domainMap).Get.func1\n\tsession/tidb.go:90\ngithub.com/pingcap/tidb/util.RunWithRetry\n\tutil/misc.go:69\ngithub.com/pingcap/tidb/session.(*domainMap).Get\n\tsession/tidb.go:76\ngithub.com/pingcap/tidb/session.createSessionWithOpt\n\tsession/session.go:3520\ngithub.com/pingcap/tidb/session.createSession\n\tsession/session.go:3516\ngithub.com/pingcap/tidb/session.runInBootstrapSession\n\tsession/session.go:3480\ngithub.com/pingcap/tidb/session.BootstrapSession\n\tsession/session.go:3309\ngithub.com/pingcap/tidb/server.createTidbTestSuite\n\tserver/tidb_test.go:93\ngithub.com/pingcap/tidb/server.TestStatusAPIWithTLS\n\tserver/tidb_test.go:255\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1446\nruntime.goexit\n\tGOROOT/src/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:29:13.631 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=2.796398ms] [2024/05/06 16:29:13.631 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:29:13.631 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=b9453591-bd03-4f13-b65c-e3a22296bd34] [runWorker=true] [2024/05/06 16:29:13.632 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:29:13.632 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:29:13.632 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:29:13.632 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:29:13.632 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 48, tp general"] [2024/05/06 16:29:13.632 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:29:13.632 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:29:13.632 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 49, tp add index"] [2024/05/06 16:29:13.633 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 16:29:13.635 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:13.634 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:13.636 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:29:13.634 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 16:29:13.641 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:13.634 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:13.646 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=2.549145ms] [2024/05/06 16:29:13.646 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:29:13.683 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:13.683 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=3] [version=1] [2024/05/06 16:29:13.684 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=40.969077ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:29:13.634 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:13.689 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:13.634 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:13.691 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=3] [2024/05/06 16:29:13.691 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:13.692 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 16:29:13.692 +08:00] [INFO] [session.go:3817] ["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 16:29:13.698 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:13.694 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:13.698 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:13.694 +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 16:29:13.704 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:13.694 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:13.716 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=971.329µs] [phyTblIDs="[4]"] [actionTypes="[8]"] [2024/05/06 16:29:13.733 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:13.733 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=5] [version=2] [2024/05/06 16:29:13.735 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=20.988306ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:13.694 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:13.744 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:13.694 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:13.763 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=5] [2024/05/06 16:29:13.763 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:13.763 +08:00] [INFO] [session.go:3817] ["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 16:29:13.767 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:13.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:13.767 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:13.765 +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 16:29:13.773 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:13.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:13.776 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=276.593µs] [phyTblIDs="[6]"] [actionTypes="[8]"] [2024/05/06 16:29:13.782 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:13.783 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=7] [version=3] [2024/05/06 16:29:13.785 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=8.835982ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:13.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:13.789 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:13.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:13.793 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=7] [2024/05/06 16:29:13.793 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:13.793 +08:00] [INFO] [session.go:3817] ["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 16:29:13.796 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:13.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:13.796 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:13.794 +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 16:29:13.802 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:13.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:13.805 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=244.946µs] [phyTblIDs="[8]"] [actionTypes="[8]"] [2024/05/06 16:29:13.833 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:13.833 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=9] [version=4] [2024/05/06 16:29:13.834 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=29.508697ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:13.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:13.841 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:13.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:13.848 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=9] [2024/05/06 16:29:13.848 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:13.848 +08:00] [INFO] [session.go:3817] ["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),\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 16:29:13.852 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:13.85 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:13.853 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:13.85 +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),\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 16:29:13.864 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:13.85 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:13.869 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=421.006µs] [phyTblIDs="[10]"] [actionTypes="[8]"] [2024/05/06 16:29:13.883 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:13.883 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=11] [version=5] [2024/05/06 16:29:13.885 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=16.274145ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:13.85 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:13.891 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:13.85 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:13.897 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=11] [2024/05/06 16:29:13.897 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:13.897 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:29:13.900 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:13.898 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:13.900 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:13.898 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:29:13.907 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:13.898 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:13.911 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=429.964µs] [phyTblIDs="[12]"] [actionTypes="[8]"] [2024/05/06 16:29:13.934 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:13.934 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=13] [version=6] [2024/05/06 16:29:13.934 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=24.133945ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:13.898 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:13.941 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:13.898 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:13.945 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=13] [2024/05/06 16:29:13.946 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:13.946 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:29:13.952 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:13.95 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:13.952 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:13.95 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:29:13.962 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:13.95 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:13.966 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=362.08µs] [phyTblIDs="[14]"] [actionTypes="[8]"] [2024/05/06 16:29:13.982 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:13.982 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=15] [version=7] [2024/05/06 16:29:13.984 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=18.58633ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:13.95 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:13.989 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:13.95 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:13.992 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=15] [2024/05/06 16:29:13.992 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:13.992 +08:00] [INFO] [session.go:3817] ["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(1024) DEFAULT NULL);"] [user=] [2024/05/06 16:29:13.994 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:13.993 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:13.994 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:13.993 +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(1024) DEFAULT NULL);"] [2024/05/06 16:29:13.999 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:13.993 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.002 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=203.562µs] [phyTblIDs="[16]"] [actionTypes="[8]"] [2024/05/06 16:29:14.038 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:14.039 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=17] [version=8] [2024/05/06 16:29:14.040 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=38.810049ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:13.993 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.046 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:13.993 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.049 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=17] [2024/05/06 16:29:14.049 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:14.050 +08:00] [INFO] [session.go:3817] ["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 16:29:14.053 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:14.052 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:14.053 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.052 +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 16:29:14.059 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.052 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.062 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=206.037µs] [phyTblIDs="[18]"] [actionTypes="[8]"] [2024/05/06 16:29:14.082 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:14.082 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=19] [version=9] [2024/05/06 16:29:14.085 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=22.677286ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.052 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.088 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.052 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.091 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=19] [2024/05/06 16:29:14.091 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:14.091 +08:00] [INFO] [session.go:3817] ["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 16:29:14.093 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:14.092 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:14.093 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.092 +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 16:29:14.099 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.092 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.102 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=226.408µs] [phyTblIDs="[20]"] [actionTypes="[8]"] [2024/05/06 16:29:14.133 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:14.133 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=21] [version=10] [2024/05/06 16:29:14.134 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=32.613959ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.092 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.140 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.092 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.144 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=21] [2024/05/06 16:29:14.144 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:14.144 +08:00] [INFO] [session.go:3817] ["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 16:29:14.147 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:14.146 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:14.147 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.146 +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 16:29:14.153 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.146 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.157 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=561.643µs] [phyTblIDs="[22]"] [actionTypes="[8]"] [2024/05/06 16:29:14.183 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:14.183 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=23] [version=11] [2024/05/06 16:29:14.185 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=29.022689ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.146 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.189 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.146 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.192 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=23] [2024/05/06 16:29:14.192 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:14.193 +08:00] [INFO] [session.go:3817] ["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 16:29:14.193 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [2024/05/06 16:29:14.196 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:14.194 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:14.196 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.194 +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 16:29:14.201 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.194 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.206 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=436.442µs] [phyTblIDs="[24]"] [actionTypes="[8]"] [2024/05/06 16:29:14.232 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:14.232 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=25] [version=12] [2024/05/06 16:29:14.233 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=28.265789ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.194 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.240 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.194 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.247 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=25] [2024/05/06 16:29:14.247 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:14.247 +08:00] [INFO] [session.go:3817] ["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 16:29:14.251 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:14.249 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:14.251 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.249 +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 16:29:14.262 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.249 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.266 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=363.769µs] [phyTblIDs="[26]"] [actionTypes="[8]"] [2024/05/06 16:29:14.282 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:14.282 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=27] [version=13] [2024/05/06 16:29:14.283 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=18.050534ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.249 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.288 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.249 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.291 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=27] [2024/05/06 16:29:14.291 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:14.291 +08:00] [INFO] [session.go:3817] ["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 16:29:14.295 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:14.293 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:14.295 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.293 +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 16:29:14.300 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.293 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.304 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=251.384µs] [phyTblIDs="[28]"] [actionTypes="[8]"] [2024/05/06 16:29:14.332 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:14.332 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=29] [version=14] [2024/05/06 16:29:14.334 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=31.004876ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.293 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.343 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.293 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.347 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=29] [2024/05/06 16:29:14.347 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:14.348 +08:00] [INFO] [session.go:3817] ["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 16:29:14.350 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:14.349 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:14.350 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.349 +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 16:29:14.355 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.349 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.359 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=287.585µs] [phyTblIDs="[30]"] [actionTypes="[8]"] [2024/05/06 16:29:14.383 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:14.383 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=31] [version=15] [2024/05/06 16:29:14.385 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=26.323835ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.349 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.389 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.349 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.392 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=31] [2024/05/06 16:29:14.392 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:14.393 +08:00] [INFO] [session.go:3817] ["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 16:29:14.395 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:14.394 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:14.395 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.394 +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 16:29:14.402 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.394 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.405 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=309.412µs] [phyTblIDs="[32]"] [actionTypes="[8]"] [2024/05/06 16:29:14.432 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:14.432 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=33] [version=16] [2024/05/06 16:29:14.433 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=28.415282ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.394 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.441 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.394 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.447 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=33] [2024/05/06 16:29:14.447 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:14.447 +08:00] [INFO] [session.go:3817] ["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 16:29:14.454 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:14.453 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:14.454 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.453 +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 16:29:14.460 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.453 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.463 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=308.465µs] [phyTblIDs="[34]"] [actionTypes="[8]"] [2024/05/06 16:29:14.483 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:14.483 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=35] [version=17] [2024/05/06 16:29:14.485 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=22.554108ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.453 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.489 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.453 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.492 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=35] [2024/05/06 16:29:14.493 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:14.493 +08:00] [INFO] [session.go:3817] ["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 16:29:14.495 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:14.494 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:14.495 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.494 +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 16:29:14.501 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.494 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.504 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=302.228µs] [phyTblIDs="[36]"] [actionTypes="[8]"] [2024/05/06 16:29:14.535 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:14.535 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=37] [version=18] [2024/05/06 16:29:14.536 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=32.368812ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.494 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.542 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.494 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.545 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=37] [2024/05/06 16:29:14.545 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:14.546 +08:00] [INFO] [session.go:3817] ["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 16:29:14.549 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:14.547 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:14.549 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.547 +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 16:29:14.556 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.547 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.560 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=432.375µs] [phyTblIDs="[38]"] [actionTypes="[8]"] [2024/05/06 16:29:14.582 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:14.583 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=39] [version=19] [2024/05/06 16:29:14.585 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=24.865977ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.547 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.589 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.547 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.592 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=39] [2024/05/06 16:29:14.592 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:14.594 +08:00] [INFO] [session.go:3817] ["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 16:29:14.596 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:14.595 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:14.596 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.595 +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 16:29:14.600 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.595 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.603 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=302.286µs] [phyTblIDs="[40]"] [actionTypes="[8]"] [2024/05/06 16:29:14.632 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:14.632 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=41] [version=20] [2024/05/06 16:29:14.634 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=31.580775ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.595 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.643 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.595 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.648 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=41] [2024/05/06 16:29:14.648 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:14.648 +08:00] [INFO] [session.go:3817] ["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 16:29:14.651 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:14.65 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:14.651 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.65 +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 16:29:14.659 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.65 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.662 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=188.704µs] [phyTblIDs="[42]"] [actionTypes="[8]"] [2024/05/06 16:29:14.682 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:14.682 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=43] [version=21] [2024/05/06 16:29:14.684 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=22.611572ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.65 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.688 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.65 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.690 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=43] [2024/05/06 16:29:14.691 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:14.691 +08:00] [INFO] [session.go:3817] ["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 16:29:14.693 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:14.692 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:14.693 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.692 +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 16:29:14.699 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.692 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.701 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=139.613µs] [phyTblIDs="[44]"] [actionTypes="[8]"] [2024/05/06 16:29:14.733 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:14.733 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=45] [version=22] [2024/05/06 16:29:14.734 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=32.62628ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.692 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.738 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.692 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.742 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=45] [2024/05/06 16:29:14.742 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:14.743 +08:00] [INFO] [session.go:3817] ["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 16:29:14.746 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:14.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:14.746 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.744 +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 16:29:14.754 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.757 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=381.648µs] [phyTblIDs="[46]"] [actionTypes="[8]"] [2024/05/06 16:29:14.783 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:14.783 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=47] [version=23] [2024/05/06 16:29:14.785 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=28.22962ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.789 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.793 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=47] [2024/05/06 16:29:14.793 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:14.793 +08:00] [INFO] [session.go:3817] ["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 16:29:14.796 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:14.795 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:14.796 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.795 +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 16:29:14.801 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.795 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.804 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=275.874µs] [phyTblIDs="[48]"] [actionTypes="[8]"] [2024/05/06 16:29:14.835 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:14.835 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=49] [version=24] [2024/05/06 16:29:14.837 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=32.971453ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.795 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.845 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.795 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.848 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=49] [2024/05/06 16:29:14.848 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:14.848 +08:00] [INFO] [session.go:3817] ["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 16:29:14.850 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:14.849 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:14.850 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.849 +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 16:29:14.858 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.849 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.861 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=271.6µs] [phyTblIDs="[50]"] [actionTypes="[8]"] [2024/05/06 16:29:14.883 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:14.883 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=51] [version=25] [2024/05/06 16:29:14.883 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=22.272327ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.849 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.887 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.849 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.890 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=51] [2024/05/06 16:29:14.890 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:14.890 +08:00] [INFO] [session.go:3817] ["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 16:29:14.892 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:14.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:14.892 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.891 +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 16:29:14.896 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.899 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=206.514µs] [phyTblIDs="[52]"] [actionTypes="[8]"] [2024/05/06 16:29:14.932 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:14.933 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=53] [version=26] [2024/05/06 16:29:14.934 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=35.006752ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.940 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.946 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=53] [2024/05/06 16:29:14.947 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:14.947 +08:00] [INFO] [session.go:3817] ["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 16:29:14.950 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:14.949 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:14.950 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.949 +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 16:29:14.960 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.949 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.963 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=275.569µs] [phyTblIDs="[54]"] [actionTypes="[8]"] [2024/05/06 16:29:14.982 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:14.982 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=55] [version=27] [2024/05/06 16:29:14.984 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=20.949401ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.949 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.988 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.949 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:14.990 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=55] [2024/05/06 16:29:14.990 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:14.991 +08:00] [INFO] [session.go:3817] ["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 16:29:14.993 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:14.992 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:14.993 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.992 +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 16:29:14.998 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.992 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.001 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=200.699µs] [phyTblIDs="[56]"] [actionTypes="[8]"] [2024/05/06 16:29:15.034 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:15.034 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=57] [version=28] [2024/05/06 16:29:15.039 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=38.577762ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:14.992 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.045 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:14.992 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.051 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=57] [2024/05/06 16:29:15.051 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:15.052 +08:00] [INFO] [session.go:3817] ["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 16:29:15.055 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:15.054 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:15.055 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:15.054 +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 16:29:15.062 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:15.054 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.065 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=196.135µs] [phyTblIDs="[58]"] [actionTypes="[8]"] [2024/05/06 16:29:15.082 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:15.082 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=59] [version=29] [2024/05/06 16:29:15.083 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=18.362771ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:15.054 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.087 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:15.054 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.090 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=59] [2024/05/06 16:29:15.090 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:15.090 +08:00] [INFO] [session.go:3817] ["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 16:29:15.090 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [2024/05/06 16:29:15.094 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:15.092 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:15.094 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:15.092 +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 16:29:15.099 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:15.092 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.103 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=279.74µs] [phyTblIDs="[60]"] [actionTypes="[8]"] [2024/05/06 16:29:15.132 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:15.132 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=61] [version=30] [2024/05/06 16:29:15.133 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=30.895463ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:15.092 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.141 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:15.092 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.148 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=61] [2024/05/06 16:29:15.148 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:15.149 +08:00] [INFO] [session.go:3817] ["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\t);"] [user=] [2024/05/06 16:29:15.152 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:15.151 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:15.152 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:15.151 +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\t);"] [2024/05/06 16:29:15.158 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:15.151 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.162 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=249.606µs] [phyTblIDs="[62]"] [actionTypes="[8]"] [2024/05/06 16:29:15.183 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:15.183 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=63] [version=31] [2024/05/06 16:29:15.184 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=22.086229ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:15.151 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.188 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:15.151 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.191 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=63] [2024/05/06 16:29:15.191 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:15.191 +08:00] [INFO] [session.go:3817] ["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\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\t);"] [user=] [2024/05/06 16:29:15.194 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:15.193 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:15.194 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:15.193 +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\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\t);"] [2024/05/06 16:29:15.199 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:15.193 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.202 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=275.958µs] [phyTblIDs="[64]"] [actionTypes="[8]"] [2024/05/06 16:29:15.233 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:15.233 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=65] [version=32] [2024/05/06 16:29:15.234 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=32.247596ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:15.193 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.244 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:15.193 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.247 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=65] [2024/05/06 16:29:15.247 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:15.248 +08:00] [INFO] [session.go:3817] ["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 16:29:15.251 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:15.25 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:15.251 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:15.25 +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 16:29:15.260 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:15.25 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.265 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=464.633µs] [phyTblIDs="[66]"] [actionTypes="[8]"] [2024/05/06 16:29:15.283 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:15.283 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=67] [version=33] [2024/05/06 16:29:15.285 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=20.875679ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:15.25 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.290 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:15.25 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.294 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=67] [2024/05/06 16:29:15.294 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:15.295 +08:00] [INFO] [session.go:3817] ["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 16:29:15.297 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:15.296 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:15.297 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:15.296 +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 16:29:15.303 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:15.296 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.305 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=214.388µs] [phyTblIDs="[68]"] [actionTypes="[8]"] [2024/05/06 16:29:15.332 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:15.332 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=69] [version=34] [2024/05/06 16:29:15.334 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=28.671459ms] [job="ID:69, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:15.296 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.339 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:69, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:15.296 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.343 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=69] [2024/05/06 16:29:15.343 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:15.346 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:15.344 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:15.346 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:29:15.344 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] [2024/05/06 16:29:15.354 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:15.344 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.358 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=358.291µs] [phyTblIDs="[70]"] [actionTypes="[2097152]"] [2024/05/06 16:29:15.383 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:15.383 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=71] [version=35] [2024/05/06 16:29:15.384 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=26.011294ms] [job="ID:71, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:29:15.344 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.387 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:71, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:15.344 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.390 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=71] [2024/05/06 16:29:15.390 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:15.391 +08:00] [INFO] [session.go:3817] ["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 16:29:15.393 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:15.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:15.393 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:15.392 +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 16:29:15.398 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:15.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.401 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=244.396µs] [phyTblIDs="[72]"] [actionTypes="[8]"] [2024/05/06 16:29:15.432 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:15.433 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=73] [version=36] [2024/05/06 16:29:15.433 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=32.07218ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:15.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.440 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:15.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.448 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=73] [2024/05/06 16:29:15.448 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:15.449 +08:00] [INFO] [session.go:3817] ["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 16:29:15.451 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:15.45 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:15.451 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:15.45 +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 16:29:15.457 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:15.45 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.460 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=214.898µs] [phyTblIDs="[74]"] [actionTypes="[8]"] [2024/05/06 16:29:15.483 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:15.483 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=75] [version=37] [2024/05/06 16:29:15.484 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=24.95908ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:15.45 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.488 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:15.45 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.491 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=75] [2024/05/06 16:29:15.491 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:15.492 +08:00] [INFO] [session.go:3817] ["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 16:29:15.494 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:15.493 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:15.494 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:15.493 +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 16:29:15.498 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:15.493 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.501 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=170.199µs] [phyTblIDs="[76]"] [actionTypes="[8]"] [2024/05/06 16:29:15.534 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:15.534 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=77] [version=38] [2024/05/06 16:29:15.534 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=38] ["take time"=34.066309ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:15.493 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.540 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:15.493 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.543 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=77] [2024/05/06 16:29:15.543 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:15.544 +08:00] [INFO] [session.go:3817] ["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 16:29:15.549 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:29:15.547 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:29:15.549 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:15.547 +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 16:29:15.555 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 50, tp general"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:15.547 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.560 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=534.801µs] [phyTblIDs="[78]"] [actionTypes="[8]"] [2024/05/06 16:29:15.582 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:29:15.582 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=79] [version=39] [2024/05/06 16:29:15.584 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=39] ["take time"=24.296294ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:29:15.547 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.588 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 50, tp general"] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:29:15.547 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:29:15.592 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=79] [2024/05/06 16:29:15.592 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:29:15.614 +08:00] [INFO] [bootstrap.go:529] ["bootstrap successful"] ["take time"=1.982268434s] [2024/05/06 16:29:15.615 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:29:15.615 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 59, tp add index"] ["take time"=1.217µs] [2024/05/06 16:29:15.615 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 60, tp add index"] ["take time"=822ns] [2024/05/06 16:29:15.615 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 51, tp add index"] ["take time"=744ns] [2024/05/06 16:29:15.615 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 52, tp add index"] ["take time"=897ns] [2024/05/06 16:29:15.615 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 53, tp add index"] ["take time"=658ns] [2024/05/06 16:29:15.615 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 54, tp add index"] ["take time"=1.103µs] [2024/05/06 16:29:15.615 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 55, tp add index"] ["take time"=694ns] [2024/05/06 16:29:15.615 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 56, tp add index"] ["take time"=935ns] [2024/05/06 16:29:15.615 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 57, tp add index"] ["take time"=1.416µs] [2024/05/06 16:29:15.615 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 58, tp add index"] ["take time"=835ns] [2024/05/06 16:29:15.615 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:29:15.615 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 50, tp general"] ["take time"=660ns] [2024/05/06 16:29:15.615 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 48, tp general"] ["take time"=251ns] [2024/05/06 16:29:15.615 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 49, tp add index"] ["take time"=251ns] [2024/05/06 16:29:15.615 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:29:15.615 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:29:15.615 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=b9453591-bd03-4f13-b65c-e3a22296bd34] ["take time"=559.875µs] [2024/05/06 16:29:15.615 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=b9453591-bd03-4f13-b65c-e3a22296bd34] [2024/05/06 16:29:15.615 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:29:15.615 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:29:15.615 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:29:15.615 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:29:15.615 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:29:15.615 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:29:15.615 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=676.73µs] [2024/05/06 16:29:15.615 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=8de63c22-53f6-4223-b192-2155ed562ae2] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 16:29:15.623 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=39] ["start time"=7.431586ms] [2024/05/06 16:29:15.623 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:29:15.623 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=06df39cc-2716-4ae7-8a01-97910eaf1013] [runWorker=true] [2024/05/06 16:29:15.624 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:29:15.624 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:29:15.624 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 62, tp add index"] [2024/05/06 16:29:15.624 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 61, tp general"] [2024/05/06 16:29:15.624 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:29:15.624 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:29:15.624 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:29:15.624 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:29:15.627 +08:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 16:29:15.642 +08:00] [WARN] [misc.go:453] ["Automatic TLS Certificate creation is disabled"] [] [2024/05/06 16:29:15.643 +08:00] [INFO] [http_status.go:95] ["for status and metrics report"] ["listening on addr"=127.0.0.1:0] [2024/05/06 16:29:15.643 +08:00] [INFO] [server.go:275] ["server is running MySQL protocol"] [addr=127.0.0.1:0] [2024/05/06 16:29:15.672 +08:00] [WARN] [misc.go:453] ["Automatic TLS Certificate creation is disabled"] [] [2024/05/06 16:29:15.672 +08:00] [INFO] [http_status.go:95] ["for status and metrics report"] ["listening on addr"=127.0.0.1:0] [2024/05/06 16:29:15.672 +08:00] [INFO] [server.go:275] ["server is running MySQL protocol"] [addr=127.0.0.1:0] [2024/05/06 16:29:15.674 +08:00] [INFO] [server.go:555] ["setting tidb-server to report unhealthy (shutting-down)"] [2024/05/06 16:29:15.675 +08:00] [ERROR] [http_status.go:504] ["http server error"] [error="http: Server closed"] [stack="github.com/pingcap/tidb/server.(*Server).startStatusServerAndRPCServer.func2\n\tserver/http_status.go:504\ngithub.com/pingcap/tidb/util.WithRecovery\n\tutil/misc.go:96"] [2024/05/06 16:29:15.675 +08:00] [ERROR] [http_status.go:509] ["start status/rpc server error"] [error="accept tcp 127.0.0.1:41205: use of closed network connection"] [stack="github.com/pingcap/tidb/server.(*Server).startStatusServerAndRPCServer\n\tserver/http_status.go:509\ngithub.com/pingcap/tidb/server.(*Server).startHTTPServer\n\tserver/http_status.go:455"] [2024/05/06 16:29:15.675 +08:00] [ERROR] [http_status.go:499] ["grpc server error"] [] [stack="github.com/pingcap/tidb/server.(*Server).startStatusServerAndRPCServer.func1\n\tserver/http_status.go:499\ngithub.com/pingcap/tidb/util.WithRecovery\n\tutil/misc.go:96"] [2024/05/06 16:29:16.624 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:29:16.624 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:29:16.624 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 61, tp general"] ["take time"=1.39µs] [2024/05/06 16:29:16.624 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 62, tp add index"] ["take time"=331ns] [2024/05/06 16:29:16.624 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:29:16.624 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:29:16.624 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=06df39cc-2716-4ae7-8a01-97910eaf1013] ["take time"=949.075435ms] [2024/05/06 16:29:16.624 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=06df39cc-2716-4ae7-8a01-97910eaf1013] [2024/05/06 16:29:16.624 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:29:16.624 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:29:16.624 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:29:16.624 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:29:16.624 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:29:16.624 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:29:16.624 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:29:16.624 +08:00] [INFO] [domain.go:1748] ["dumpFileGcChecker exited."] [2024/05/06 16:29:16.624 +08:00] [INFO] [domain.go:1444] ["LoadSysVarCacheLoop exited."] [2024/05/06 16:29:16.624 +08:00] [INFO] [domain.go:1394] ["loadPrivilegeInLoop exited."] [2024/05/06 16:29:16.624 +08:00] [INFO] [domain.go:1569] ["handleEvolvePlanTasksLoop exited."] [2024/05/06 16:29:16.624 +08:00] [INFO] [domain.go:1525] ["globalBindHandleWorkerLoop exited."] [2024/05/06 16:29:16.624 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:29:16.624 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:29:16.624 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:29:16.624 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:29:16.625 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=949.802045ms] [2024/05/06 16:29:16.625 +08:00] [INFO] [server.go:555] ["setting tidb-server to report unhealthy (shutting-down)"] [2024/05/06 16:29:16.625 +08:00] [ERROR] [http_status.go:509] ["start status/rpc server error"] [error="accept tcp 127.0.0.1:37779: use of closed network connection"] [stack="github.com/pingcap/tidb/server.(*Server).startStatusServerAndRPCServer\n\tserver/http_status.go:509\ngithub.com/pingcap/tidb/server.(*Server).startHTTPServer\n\tserver/http_status.go:455"] [2024/05/06 16:29:16.625 +08:00] [ERROR] [http_status.go:499] ["grpc server error"] [error="mux: server closed"] [stack="github.com/pingcap/tidb/server.(*Server).startStatusServerAndRPCServer.func1\n\tserver/http_status.go:499\ngithub.com/pingcap/tidb/util.WithRecovery\n\tutil/misc.go:96"] [2024/05/06 16:29:16.625 +08:00] [ERROR] [http_status.go:504] ["http server error"] [error="http: Server closed"] [stack="github.com/pingcap/tidb/server.(*Server).startStatusServerAndRPCServer.func2\n\tserver/http_status.go:504\ngithub.com/pingcap/tidb/util.WithRecovery\n\tutil/misc.go:96"] [2024/05/06 16:29:16.626 +08:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 16:29:16.626 +08:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 16:29:16.626 +08:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 16:29:16.626 +08:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 16:29:16.626 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 16:29:16.626 +08:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestStatusAPIWithTLS (3.01s) FAIL coverage: 17.7% of statements -- Coverage runner: Not collecting coverage for failed test. The following commands failed with status 1 /home/jenkins/.tidb/tmp/45c44f383a26fe92ddbb5dda36c71ef8/sandbox/linux-sandbox/6794/execroot/__main__/bazel-out/k8-fastbuild/bin/server/server_test_/server_test.runfiles/__main__/server/server_test_/server_test ================================================================================ [8,358 / 8,989] 206 / 246 tests; Testing //statistics:statistics_test; 61s remote-cache, linux-sandbox ... (140 actions running) [8,362 / 8,989] 206 / 246 tests; Testing //statistics:statistics_test; 62s remote-cache, linux-sandbox ... (140 actions running) [8,363 / 8,989] 206 / 246 tests; Testing //statistics:statistics_test; 63s remote-cache, linux-sandbox ... (140 actions running) [8,372 / 8,989] 206 / 246 tests; Testing //statistics:statistics_test; 64s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,373 / 8,989] 206 / 246 tests; Testing //statistics:statistics_test; 65s remote-cache, linux-sandbox ... (139 actions running) [8,380 / 8,989] 208 / 246 tests; Testing //statistics:statistics_test; 67s remote-cache, linux-sandbox ... (140 actions running) [8,380 / 8,989] 209 / 246 tests; Testing //statistics:statistics_test; 68s remote-cache, linux-sandbox ... (140 actions running) [8,400 / 8,989] 209 / 246 tests; Testing //statistics:statistics_test; 69s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,406 / 8,989] 209 / 246 tests; Testing //statistics:statistics_test; 70s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,409 / 8,989] 209 / 246 tests; Testing //statistics:statistics_test; 72s remote-cache, linux-sandbox ... (140 actions running) [8,419 / 8,989] 209 / 246 tests; Testing //statistics:statistics_test; 73s remote-cache, linux-sandbox ... (140 actions running) [8,423 / 8,989] 209 / 246 tests; Testing //statistics:statistics_test; 74s remote-cache, linux-sandbox ... (140 actions running) [8,424 / 8,989] 209 / 246 tests; Testing //statistics:statistics_test; 75s remote-cache, linux-sandbox ... (140 actions running) [8,432 / 8,989] 210 / 246 tests; Testing //statistics:statistics_test; 76s remote-cache, linux-sandbox ... (140 actions running) [8,435 / 8,989] 211 / 246 tests; Testing //statistics:statistics_test; 78s remote-cache, linux-sandbox ... (140 actions running) [8,444 / 8,989] 212 / 246 tests; Testing //statistics:statistics_test; 79s remote-cache, linux-sandbox ... (140 actions running) [8,445 / 8,989] 212 / 246 tests; Testing //statistics:statistics_test; 80s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,449 / 8,989] 212 / 246 tests; Testing //statistics:statistics_test; 81s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,453 / 8,992] 212 / 246 tests; Testing //statistics:statistics_test; 83s remote-cache, linux-sandbox ... (140 actions running) [8,469 / 8,992] 213 / 246 tests; Testing //statistics:statistics_test; 84s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,476 / 8,992] 214 / 246 tests; Testing //statistics:statistics_test; 86s remote-cache, linux-sandbox ... (140 actions running) [8,479 / 8,992] 214 / 246 tests; Testing //statistics:statistics_test; 87s remote-cache, linux-sandbox ... (140 actions running) [8,482 / 8,992] 214 / 246 tests; Testing //statistics:statistics_test; 88s remote-cache, linux-sandbox ... (140 actions running) [8,489 / 8,992] 215 / 246 tests; Testing //statistics:statistics_test; 89s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,500 / 9,032] 217 / 246 tests; Testing //statistics:statistics_test; 91s remote-cache, linux-sandbox ... (140 actions running) [8,507 / 9,032] 218 / 246 tests; Testing //statistics:statistics_test; 92s remote-cache, linux-sandbox ... (140 actions running) [8,508 / 9,032] 218 / 246 tests; Testing //statistics:statistics_test; 94s remote-cache, linux-sandbox ... (140 actions running) [8,515 / 9,032] 218 / 246 tests; Testing //statistics:statistics_test; 95s remote-cache, linux-sandbox ... (140 actions running) [8,524 / 9,032] 220 / 246 tests; Testing //statistics:statistics_test; 96s remote-cache, linux-sandbox ... (137 actions, 135 running) [8,528 / 9,032] 220 / 246 tests; Testing //statistics:statistics_test; 97s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,529 / 9,032] 220 / 246 tests; Testing //statistics:statistics_test; 98s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,532 / 9,032] 221 / 246 tests; Testing //statistics:statistics_test; 100s remote-cache, linux-sandbox ... (140 actions running) [8,534 / 9,032] 221 / 246 tests; Testing //statistics:statistics_test; 101s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,535 / 9,032] 221 / 246 tests; Testing //statistics:statistics_test; 103s remote-cache, linux-sandbox ... (140 actions running) [8,541 / 9,032] 221 / 246 tests; Testing //statistics:statistics_test; 105s remote-cache, linux-sandbox ... (140 actions running) [8,542 / 9,032] 221 / 246 tests; Testing //statistics:statistics_test; 106s remote-cache, linux-sandbox ... (140 actions running) [8,545 / 9,032] 221 / 246 tests; Testing //statistics:statistics_test; 107s remote-cache, linux-sandbox ... (140 actions running) [8,545 / 9,032] 221 / 246 tests; Testing //statistics:statistics_test; 108s remote-cache, linux-sandbox ... (140 actions running) [8,545 / 9,032] 221 / 246 tests; Testing //statistics:statistics_test; 109s remote-cache, linux-sandbox ... (140 actions running) [8,548 / 9,032] 221 / 246 tests; Testing //statistics:statistics_test; 110s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,562 / 9,063] 221 / 246 tests; Testing //statistics:statistics_test; 111s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,564 / 9,063] 221 / 246 tests; Testing //statistics:statistics_test; 112s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,565 / 9,063] 221 / 246 tests; Testing //statistics:statistics_test; 113s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,568 / 9,063] 221 / 246 tests; Testing //statistics:statistics_test; 115s remote-cache, linux-sandbox ... (140 actions running) [8,570 / 9,063] 221 / 246 tests; Testing //statistics:statistics_test; 116s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,572 / 9,063] 221 / 246 tests; Testing //statistics:statistics_test; 117s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,573 / 9,063] 221 / 246 tests; Testing //statistics:statistics_test; 118s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,575 / 9,063] 221 / 246 tests; Testing //statistics:statistics_test; 119s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,576 / 9,063] 221 / 246 tests; Testing //statistics:statistics_test; 121s remote-cache, linux-sandbox ... (140 actions running) [8,576 / 9,063] 221 / 246 tests; Testing //statistics:statistics_test; 123s remote-cache, linux-sandbox ... (140 actions running) [8,580 / 9,063] 221 / 246 tests; Testing //statistics:statistics_test; 124s remote-cache, linux-sandbox ... (140 actions running) [8,585 / 9,063] 221 / 246 tests; Testing //statistics:statistics_test; 125s remote-cache, linux-sandbox ... (140 actions running) [8,586 / 9,063] 221 / 246 tests; Testing //statistics:statistics_test; 126s remote-cache, linux-sandbox ... (140 actions running) [8,591 / 9,063] 221 / 246 tests; Testing //statistics:statistics_test; 127s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,594 / 9,063] 221 / 246 tests; Testing //statistics:statistics_test; 129s remote-cache, linux-sandbox ... (140 actions running) [8,596 / 9,063] 221 / 246 tests; Testing //statistics:statistics_test; 130s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,599 / 9,063] 221 / 246 tests; Testing //statistics:statistics_test; 132s remote-cache, linux-sandbox ... (140 actions running) [8,602 / 9,063] 221 / 246 tests; Testing //statistics:statistics_test; 133s remote-cache, linux-sandbox ... (140 actions running) [8,606 / 9,063] 221 / 246 tests; Testing //statistics:statistics_test; 134s remote-cache, linux-sandbox ... (140 actions running) [8,606 / 9,063] 221 / 246 tests; Testing //statistics:statistics_test; 136s remote-cache, linux-sandbox ... (140 actions running) [8,606 / 9,063] 221 / 246 tests; Testing //statistics:statistics_test; 137s remote-cache, linux-sandbox ... (140 actions running) [8,608 / 9,063] 221 / 246 tests; Testing //statistics:statistics_test; 138s remote-cache, linux-sandbox ... (138 actions, 136 running) [8,620 / 9,063] 221 / 246 tests; Testing //statistics:statistics_test; 139s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,622 / 9,063] 221 / 246 tests; Testing //statistics:statistics_test; 141s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,627 / 9,063] 221 / 246 tests; Testing //statistics:statistics_test; 142s remote-cache, linux-sandbox ... (140 actions running) [8,628 / 9,063] 221 / 246 tests; Testing //statistics:statistics_test; 144s remote-cache, linux-sandbox ... (140 actions running) [8,630 / 9,063] 221 / 246 tests; Testing //statistics:statistics_test; 145s remote-cache, linux-sandbox ... (140 actions running) [8,633 / 9,063] 221 / 246 tests; Testing //statistics:statistics_test; 146s remote-cache, linux-sandbox ... (140 actions running) [8,634 / 9,063] 221 / 246 tests; Testing //statistics:statistics_test; 147s remote-cache, linux-sandbox ... (140 actions running) [8,635 / 9,063] 221 / 246 tests; Testing //statistics:statistics_test; 148s remote-cache, linux-sandbox ... (140 actions running) [8,636 / 9,063] 222 / 246 tests; Testing //statistics:statistics_test; 149s remote-cache, linux-sandbox ... (140 actions running) [8,640 / 9,063] 222 / 246 tests; Testing //statistics:statistics_test; 150s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,643 / 9,063] 222 / 246 tests; Testing //statistics:statistics_test; 152s remote-cache, linux-sandbox ... (140 actions running) [8,650 / 9,063] 222 / 246 tests; Testing //statistics:statistics_test; 153s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,651 / 9,063] 222 / 246 tests; Testing //statistics:statistics_test; 154s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,654 / 9,063] 222 / 246 tests; Testing //statistics:statistics_test; 155s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,657 / 9,063] 222 / 246 tests; Testing //statistics:statistics_test; 156s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,660 / 9,063] 222 / 246 tests; Testing //statistics:statistics_test; 157s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,663 / 9,063] 223 / 246 tests; Testing //infoschema:infoschema_test; 153s remote-cache, linux-sandbox ... (140 actions running) [8,666 / 9,063] 223 / 246 tests; Testing //infoschema:infoschema_test; 154s remote-cache, linux-sandbox ... (140 actions running) [8,670 / 9,063] 223 / 246 tests; Testing //infoschema:infoschema_test; 156s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,671 / 9,063] 223 / 246 tests; Testing //infoschema:infoschema_test; 157s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,674 / 9,063] 223 / 246 tests; Testing //infoschema:infoschema_test; 158s remote-cache, linux-sandbox ... (140 actions running) [8,674 / 9,063] 223 / 246 tests; Testing //infoschema:infoschema_test; 159s remote-cache, linux-sandbox ... (140 actions running) [8,680 / 9,063] 223 / 246 tests; Testing //infoschema:infoschema_test; 160s remote-cache, linux-sandbox ... (140 actions running) [8,686 / 9,063] 223 / 246 tests; Testing //infoschema:infoschema_test; 162s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,692 / 9,063] 223 / 246 tests; Testing //infoschema:infoschema_test; 163s remote-cache, linux-sandbox ... (140 actions running) [8,695 / 9,063] 223 / 246 tests; Testing //infoschema:infoschema_test; 165s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,696 / 9,063] 223 / 246 tests; Testing //infoschema:infoschema_test; 166s remote-cache, linux-sandbox ... (140 actions running) FLAKY: //server:server_test (Summary) /home/jenkins/.tidb/tmp/45c44f383a26fe92ddbb5dda36c71ef8/execroot/__main__/bazel-out/k8-fastbuild/testlogs/server/server_test/shard_11_of_50/test_attempts/attempt_1.log [8,700 / 9,063] 224 / 246 tests; Testing //infoschema:infoschema_test; 167s remote-cache, linux-sandbox ... (140 actions running) [8,702 / 9,063] 225 / 246 tests; Testing //infoschema:infoschema_test; 169s remote-cache, linux-sandbox ... (140 actions running) [8,704 / 9,063] 225 / 246 tests; Testing //infoschema:infoschema_test; 170s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,708 / 9,063] 225 / 246 tests; Testing //infoschema:infoschema_test; 171s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,711 / 9,063] 225 / 246 tests; Testing //infoschema:infoschema_test; 172s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,711 / 9,063] 225 / 246 tests; Testing //infoschema:infoschema_test; 173s remote-cache, linux-sandbox ... (140 actions running) [8,711 / 9,063] 225 / 246 tests; Testing //infoschema:infoschema_test; 175s remote-cache, linux-sandbox ... (140 actions running) [8,720 / 9,063] 225 / 246 tests; Testing //infoschema:infoschema_test; 176s remote-cache, linux-sandbox ... (140 actions running) [8,722 / 9,063] 225 / 246 tests; Testing //infoschema:infoschema_test; 178s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,724 / 9,063] 225 / 246 tests; Testing //infoschema:infoschema_test; 179s remote-cache, linux-sandbox ... (138 actions, 136 running) [8,726 / 9,063] 225 / 246 tests; Testing //infoschema:infoschema_test; 180s remote-cache, linux-sandbox ... (140 actions running) [8,729 / 9,063] 225 / 246 tests; Testing //infoschema:infoschema_test; 181s remote-cache, linux-sandbox ... (140 actions running) [8,734 / 9,063] 226 / 246 tests; Testing //infoschema:infoschema_test; 182s remote-cache, linux-sandbox ... (140 actions running) [8,738 / 9,063] 226 / 246 tests; Testing //infoschema:infoschema_test; 184s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,739 / 9,063] 226 / 246 tests; Testing //infoschema:infoschema_test; 185s remote-cache, linux-sandbox ... (140 actions running) [8,741 / 9,063] 226 / 246 tests; Testing //infoschema:infoschema_test; 186s remote-cache, linux-sandbox ... (140 actions running) [8,741 / 9,063] 226 / 246 tests; Testing //infoschema:infoschema_test; 187s remote-cache, linux-sandbox ... (140 actions running) [8,744 / 9,063] 226 / 246 tests; Testing //infoschema:infoschema_test; 189s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,747 / 9,063] 226 / 246 tests; Testing //infoschema:infoschema_test; 190s remote-cache, linux-sandbox ... (140 actions running) [8,749 / 9,063] 226 / 246 tests; Testing //infoschema:infoschema_test; 192s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,753 / 9,065] 226 / 246 tests; Testing //infoschema:infoschema_test; 193s remote-cache, linux-sandbox ... (140 actions running) [8,754 / 9,065] 226 / 246 tests; Testing //infoschema:infoschema_test; 195s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,754 / 9,065] 226 / 246 tests; Testing //infoschema:infoschema_test; 196s remote-cache, linux-sandbox ... (140 actions running) [8,757 / 9,065] 227 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 120s remote-cache, linux-sandbox ... (140 actions running) [8,758 / 9,065] 227 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 121s remote-cache, linux-sandbox ... (140 actions running) [8,759 / 9,065] 227 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 124s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,760 / 9,065] 227 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 125s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,762 / 9,065] 227 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 126s remote-cache, linux-sandbox ... (140 actions running) [8,763 / 9,065] 227 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 128s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,765 / 9,065] 227 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 129s remote-cache, linux-sandbox ... (140 actions running) [8,765 / 9,065] 227 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 131s remote-cache, linux-sandbox ... (140 actions running) [8,771 / 9,065] 227 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 132s remote-cache, linux-sandbox ... (140 actions running) [8,773 / 9,065] 228 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 133s remote-cache, linux-sandbox ... (140 actions running) [8,774 / 9,065] 228 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 135s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,776 / 9,065] 228 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 136s remote-cache, linux-sandbox ... (140 actions running) [8,778 / 9,065] 228 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 137s remote-cache, linux-sandbox ... (140 actions running) [8,779 / 9,065] 228 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 138s remote-cache, linux-sandbox ... (140 actions running) [8,780 / 9,065] 228 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 140s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,781 / 9,065] 228 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 141s remote-cache, linux-sandbox ... (140 actions running) [8,785 / 9,065] 229 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 142s remote-cache, linux-sandbox ... (140 actions running) [8,788 / 9,065] 229 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 143s remote-cache, linux-sandbox ... (140 actions running) [8,791 / 9,067] 229 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 145s remote-cache, linux-sandbox ... (140 actions running) [8,792 / 9,067] 229 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 146s remote-cache, linux-sandbox ... (140 actions running) [8,794 / 9,067] 229 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 147s remote-cache, linux-sandbox ... (140 actions running) [8,796 / 9,067] 229 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 149s remote-cache, linux-sandbox ... (140 actions running) [8,797 / 9,067] 229 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 150s remote-cache, linux-sandbox ... (140 actions running) [8,798 / 9,067] 229 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 151s remote-cache, linux-sandbox ... (140 actions running) [8,802 / 9,067] 229 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 153s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,805 / 9,071] 229 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 154s remote-cache, linux-sandbox ... (140 actions running) [8,806 / 9,071] 229 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 156s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,808 / 9,071] 229 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 157s remote-cache, linux-sandbox ... (140 actions running) [8,810 / 9,071] 229 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 158s remote-cache, linux-sandbox ... (140 actions running) [8,812 / 9,071] 229 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 159s remote-cache, linux-sandbox ... (140 actions running) [8,813 / 9,071] 229 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 160s remote-cache, linux-sandbox ... (140 actions running) [8,815 / 9,071] 229 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 162s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,816 / 9,071] 229 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 163s remote-cache, linux-sandbox ... (140 actions running) [8,819 / 9,071] 229 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 164s remote-cache, linux-sandbox ... (140 actions running) [8,824 / 9,071] 229 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 165s remote-cache, linux-sandbox ... (140 actions running) [8,825 / 9,071] 229 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 167s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,830 / 9,071] 229 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 168s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,831 / 9,071] 230 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 169s remote-cache, linux-sandbox ... (140 actions running) [8,838 / 9,071] 231 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 171s remote-cache, linux-sandbox ... (140 actions running) [8,838 / 9,071] 232 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 172s remote-cache, linux-sandbox ... (140 actions running) [8,839 / 9,071] 232 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 173s remote-cache, linux-sandbox ... (140 actions running) [8,841 / 9,071] 232 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 175s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,842 / 9,071] 232 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 176s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,842 / 9,071] 232 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 177s remote-cache, linux-sandbox ... (140 actions running) [8,843 / 9,071] 232 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 179s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,847 / 9,071] 232 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 180s remote-cache, linux-sandbox ... (140 actions running) [8,848 / 9,071] 232 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 181s remote-cache, linux-sandbox ... (140 actions running) [8,854 / 9,071] 232 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 182s remote-cache, linux-sandbox ... (140 actions running) [8,856 / 9,117] 232 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 184s remote-cache, linux-sandbox ... (140 actions running) [8,857 / 9,117] 232 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 185s remote-cache, linux-sandbox ... (140 actions running) [8,857 / 9,117] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 186s remote-cache, linux-sandbox ... (140 actions running) [8,859 / 9,148] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 188s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,861 / 9,148] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 189s remote-cache, linux-sandbox ... (140 actions running) [8,863 / 9,148] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 190s remote-cache, linux-sandbox ... (140 actions running) [8,865 / 9,148] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 192s remote-cache, linux-sandbox ... (140 actions running) [8,866 / 9,148] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 193s remote-cache, linux-sandbox ... (140 actions running) [8,870 / 9,177] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 195s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,873 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 196s remote-cache, linux-sandbox ... (140 actions running) [8,874 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 197s remote-cache, linux-sandbox ... (140 actions running) [8,875 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 198s remote-cache, linux-sandbox ... (140 actions running) [8,876 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 201s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,877 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 202s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,878 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 203s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,878 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 204s remote-cache, linux-sandbox ... (140 actions running) [8,880 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 206s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,880 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 207s remote-cache, linux-sandbox ... (140 actions running) [8,881 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 209s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,882 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 210s remote-cache, linux-sandbox ... (140 actions running) [8,883 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 214s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,883 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 215s remote-cache, linux-sandbox ... (140 actions running) [8,883 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 216s remote-cache, linux-sandbox ... (140 actions running) [8,885 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 218s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,888 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 219s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,889 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 220s remote-cache, linux-sandbox ... (140 actions running) [8,891 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 222s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,893 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 223s remote-cache, linux-sandbox ... (140 actions running) [8,894 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 224s remote-cache, linux-sandbox ... (140 actions running) [8,896 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 226s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,898 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 227s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,899 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 228s remote-cache, linux-sandbox ... (140 actions running) [8,900 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 229s remote-cache, linux-sandbox ... (140 actions running) [8,901 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 231s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,901 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 232s remote-cache, linux-sandbox ... (140 actions running) [8,902 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 234s remote-cache, linux-sandbox ... (140 actions running) [8,905 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 236s remote-cache, linux-sandbox ... (140 actions running) [8,906 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 238s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,907 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 239s remote-cache, linux-sandbox ... (140 actions running) [8,908 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 240s remote-cache, linux-sandbox ... (140 actions running) [8,909 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 241s remote-cache, linux-sandbox ... (140 actions running) [8,909 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 243s remote-cache, linux-sandbox ... (140 actions running) [8,909 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 244s remote-cache, linux-sandbox ... (140 actions running) [8,912 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 246s remote-cache, linux-sandbox ... (140 actions running) [8,917 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 247s remote-cache, linux-sandbox ... (140 actions running) [8,918 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 248s remote-cache, linux-sandbox ... (140 actions running) [8,921 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 250s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,922 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 251s remote-cache, linux-sandbox ... (140 actions running) [8,925 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 253s remote-cache, linux-sandbox ... (140 actions running) [8,926 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 254s remote-cache, linux-sandbox ... (140 actions running) [8,926 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 257s remote-cache, linux-sandbox ... (140 actions running) [8,928 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 258s remote-cache, linux-sandbox ... (140 actions running) [8,929 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 260s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,933 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 261s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,934 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 262s remote-cache, linux-sandbox ... (140 actions running) [8,935 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 263s remote-cache, linux-sandbox ... (140 actions running) [8,935 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 265s remote-cache, linux-sandbox ... (140 actions running) [8,938 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 267s remote-cache, linux-sandbox ... (140 actions running) [8,940 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 268s remote-cache, linux-sandbox ... (140 actions running) [8,943 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 269s remote-cache, linux-sandbox ... (140 actions running) [8,944 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 274s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,945 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 275s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,946 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 276s remote-cache, linux-sandbox ... (140 actions running) [8,948 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 278s remote-cache, linux-sandbox ... (140 actions running) [8,950 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 279s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,951 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 281s remote-cache, linux-sandbox ... (140 actions running) [8,951 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 283s remote-cache, linux-sandbox ... (140 actions running) [8,955 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 285s remote-cache, linux-sandbox ... (140 actions running) [8,961 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 287s remote-cache, linux-sandbox ... (140 actions running) [8,964 / 9,183] 233 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 288s remote-cache, linux-sandbox ... (140 actions running) [8,964 / 9,183] 234 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 290s remote-cache, linux-sandbox ... (140 actions running) [8,966 / 9,183] 234 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 292s remote-cache, linux-sandbox ... (140 actions running) [8,966 / 9,183] 234 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 293s remote-cache, linux-sandbox ... (140 actions running) [8,968 / 9,183] 234 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 294s remote-cache, linux-sandbox ... (140 actions running) [8,970 / 9,183] 234 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 295s remote-cache, linux-sandbox ... (140 actions running) [8,971 / 9,183] 234 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 296s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,971 / 9,183] 235 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 2 of 2); 297s remote-cache, linux-sandbox ... (140 actions running) [8,973 / 9,183] 235 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 162s remote-cache, linux-sandbox ... (140 actions running) [8,975 / 9,191] 235 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 163s remote-cache, linux-sandbox ... (140 actions running) [8,976 / 9,191] 235 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 164s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,978 / 9,191] 235 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 166s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,981 / 9,191] 235 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 167s remote-cache, linux-sandbox ... (140 actions running) [8,983 / 9,191] 235 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 168s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,984 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 169s remote-cache, linux-sandbox ... (140 actions running) [8,985 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 171s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,985 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 172s remote-cache, linux-sandbox ... (140 actions running) [8,986 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 173s remote-cache, linux-sandbox ... (140 actions running) [8,986 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 174s remote-cache, linux-sandbox ... (140 actions running) [8,987 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 175s remote-cache, linux-sandbox ... (140 actions running) [8,990 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 176s remote-cache, linux-sandbox ... (140 actions running) [8,991 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 178s remote-cache, linux-sandbox ... (140 actions running) [8,994 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 179s remote-cache, linux-sandbox ... (140 actions running) [8,995 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 181s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,996 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 182s remote-cache, linux-sandbox ... (140 actions running) [9,000 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 184s remote-cache, linux-sandbox ... (140 actions running) [9,000 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 190s remote-cache, linux-sandbox ... (140 actions running) [9,003 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 192s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,003 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 193s remote-cache, linux-sandbox ... (140 actions running) [9,004 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 194s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,006 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 195s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,008 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 197s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,008 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 198s remote-cache, linux-sandbox ... (140 actions running) [9,009 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 200s remote-cache, linux-sandbox ... (140 actions running) [9,010 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 201s remote-cache, linux-sandbox ... (140 actions running) [9,011 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 203s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,013 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 204s remote-cache, linux-sandbox ... (140 actions running) [9,014 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 205s remote-cache, linux-sandbox ... (140 actions running) [9,014 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 211s remote-cache, linux-sandbox ... (140 actions running) [9,017 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 212s remote-cache, linux-sandbox ... (140 actions running) [9,018 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 213s remote-cache, linux-sandbox ... (140 actions running) [9,020 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 214s remote-cache, linux-sandbox ... (140 actions running) [9,022 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 215s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,023 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 217s remote-cache, linux-sandbox ... (140 actions running) [9,023 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 218s remote-cache, linux-sandbox ... (140 actions running) [9,025 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 220s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,025 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 221s remote-cache, linux-sandbox ... (140 actions running) [9,026 / 9,191] 236 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 222s remote-cache, linux-sandbox ... (140 actions running) [9,028 / 9,191] 237 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 223s remote-cache, linux-sandbox ... (140 actions running) [9,030 / 9,191] 237 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 224s remote-cache, linux-sandbox ... (140 actions running) [9,032 / 9,191] 237 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 229s remote-cache, linux-sandbox ... (137 actions, 136 running) [9,033 / 9,191] 237 / 246 tests; Testing //expression:expression_test (shard 12 of 50); 230s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,034 / 9,191] 237 / 246 tests; Testing //session:session_test (shard 12 of 50); 205s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,037 / 9,191] 237 / 246 tests; Testing //session:session_test (shard 12 of 50); 207s remote-cache, linux-sandbox ... (140 actions running) [9,037 / 9,191] 237 / 246 tests; Testing //session:session_test (shard 12 of 50); 209s remote-cache, linux-sandbox ... (140 actions running) [9,042 / 9,191] 237 / 246 tests; Testing //session:session_test (shard 12 of 50); 210s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,045 / 9,191] 237 / 246 tests; Testing //session:session_test (shard 12 of 50); 211s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,048 / 9,191] 237 / 246 tests; Testing //session:session_test (shard 12 of 50); 213s remote-cache, linux-sandbox ... (140 actions running) [9,049 / 9,191] 237 / 246 tests; Testing //session:session_test (shard 12 of 50); 214s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,050 / 9,191] 237 / 246 tests; Testing //session:session_test (shard 12 of 50); 216s remote-cache, linux-sandbox ... (140 actions running) [9,051 / 9,191] 237 / 246 tests; Testing //session:session_test (shard 12 of 50); 220s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,051 / 9,191] 237 / 246 tests; Testing //session:session_test (shard 12 of 50); 221s remote-cache, linux-sandbox ... (140 actions running) [9,052 / 9,191] 237 / 246 tests; Testing //session:session_test (shard 12 of 50); 222s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,053 / 9,191] 237 / 246 tests; Testing //session:session_test (shard 12 of 50); 224s remote-cache, linux-sandbox ... (140 actions running) [9,054 / 9,191] 237 / 246 tests; Testing //session:session_test (shard 12 of 50); 225s remote-cache, linux-sandbox ... (140 actions running) [9,055 / 9,191] 237 / 246 tests; Testing //session:session_test (shard 12 of 50); 226s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,058 / 9,191] 237 / 246 tests; Testing //session:session_test (shard 12 of 50); 227s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,059 / 9,191] 237 / 246 tests; Testing //session:session_test (shard 12 of 50); 229s remote-cache, linux-sandbox ... (140 actions running) [9,059 / 9,191] 237 / 246 tests; Testing //session:session_test (shard 12 of 50); 230s remote-cache, linux-sandbox ... (140 actions running) [9,060 / 9,191] 238 / 246 tests; Testing //session:session_test (shard 12 of 50); 232s remote-cache, linux-sandbox ... (140 actions running) [9,062 / 9,191] 238 / 246 tests; Testing //session:session_test (shard 12 of 50); 233s remote-cache, linux-sandbox ... (140 actions running) [9,064 / 9,191] 238 / 246 tests; Testing //session:session_test (shard 12 of 50); 234s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,065 / 9,191] 238 / 246 tests; Testing //session:session_test (shard 12 of 50); 236s remote-cache, linux-sandbox ... (140 actions running) [9,065 / 9,191] 238 / 246 tests; Testing //session:session_test (shard 12 of 50); 237s remote-cache, linux-sandbox ... (140 actions running) [9,070 / 9,191] 238 / 246 tests; Testing //session:session_test (shard 12 of 50); 238s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,070 / 9,191] 238 / 246 tests; Testing //session:session_test (shard 12 of 50); 240s remote-cache, linux-sandbox ... (140 actions running) [9,070 / 9,191] 238 / 246 tests; Testing //session:session_test (shard 12 of 50); 242s remote-cache, linux-sandbox ... (140 actions running) [9,072 / 9,191] 238 / 246 tests; Testing //session:session_test (shard 12 of 50); 243s remote-cache, linux-sandbox ... (140 actions running) [9,073 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 12 of 50); 244s remote-cache, linux-sandbox ... (140 actions running) [9,078 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 12 of 50); 245s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,079 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 12 of 50); 247s remote-cache, linux-sandbox ... (140 actions running) [9,080 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 12 of 50); 248s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,082 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 12 of 50); 250s remote-cache, linux-sandbox ... (140 actions running) [9,084 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 12 of 50); 251s remote-cache, linux-sandbox ... (140 actions running) [9,085 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 12 of 50); 252s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,085 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 12 of 50); 254s remote-cache, linux-sandbox ... (140 actions running) [9,085 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 12 of 50); 256s remote-cache, linux-sandbox ... (140 actions running) [9,087 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 12 of 50); 257s remote-cache, linux-sandbox ... (140 actions running) [9,088 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 12 of 50); 259s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,088 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 12 of 50); 261s remote-cache, linux-sandbox ... (140 actions running) [9,092 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 12 of 50); 262s remote-cache, linux-sandbox ... (140 actions running) [9,092 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 12 of 50); 265s remote-cache, linux-sandbox ... (140 actions running) [9,094 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 12 of 50); 266s remote-cache, linux-sandbox ... (140 actions running) [9,094 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 12 of 50); 267s remote-cache, linux-sandbox ... (140 actions running) [9,095 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 12 of 50); 268s remote-cache, linux-sandbox ... (140 actions running) [9,096 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 12 of 50); 269s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,097 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 12 of 50); 270s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,097 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 12 of 50); 272s remote-cache, linux-sandbox ... (140 actions running) [9,099 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 12 of 50); 273s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,099 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 12 of 50); 275s remote-cache, linux-sandbox ... (140 actions running) [9,100 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 12 of 50); 276s remote-cache, linux-sandbox ... (140 actions running) [9,102 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 12 of 50); 277s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,105 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 12 of 50); 279s remote-cache, linux-sandbox ... (140 actions running) [9,107 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 12 of 50); 280s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,109 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 12 of 50); 282s remote-cache, linux-sandbox ... (140 actions running) [9,112 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 13 of 50); 281s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,117 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 13 of 50); 282s remote-cache, linux-sandbox ... (140 actions running) [9,119 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 13 of 50); 283s remote-cache, linux-sandbox ... (140 actions running) [9,120 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 13 of 50); 285s remote-cache, linux-sandbox ... (140 actions running) [9,121 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 13 of 50); 289s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,122 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 13 of 50); 290s remote-cache, linux-sandbox ... (138 actions running) [9,122 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 13 of 50); 292s remote-cache, linux-sandbox ... (138 actions running) [9,127 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 16 of 50); 292s remote-cache, linux-sandbox ... (128 actions running) [9,129 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 16 of 50); 294s remote-cache, linux-sandbox ... (124 actions running) [9,130 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 16 of 50); 295s remote-cache, linux-sandbox ... (122 actions running) [9,132 / 9,191] 240 / 246 tests; Testing //session:session_test (shard 16 of 50); 297s remote-cache, linux-sandbox ... (118 actions running) [9,135 / 9,191] 240 / 246 tests; Testing //session:session_test (shard 16 of 50); 298s remote-cache, linux-sandbox ... (112 actions running) [9,137 / 9,191] 240 / 246 tests; Testing //session:session_test (shard 16 of 50); 300s remote-cache, linux-sandbox ... (108 actions running) [9,137 / 9,191] 240 / 246 tests; Testing //expression:expression_test (shard 19 of 50); 234s remote-cache, linux-sandbox ... (108 actions running) [9,140 / 9,191] 241 / 246 tests; Testing //expression:expression_test (shard 19 of 50); 235s remote-cache, linux-sandbox ... (102 actions running) [9,142 / 9,191] 241 / 246 tests; Testing //expression:expression_test (shard 21 of 50); 209s remote-cache, linux-sandbox ... (98 actions running) [9,142 / 9,191] 242 / 246 tests; Testing //expression:expression_test (shard 21 of 50); 214s remote-cache, linux-sandbox ... (98 actions running) [9,144 / 9,191] 242 / 246 tests; Testing //expression:expression_test (shard 21 of 50); 215s remote-cache, linux-sandbox ... (94 actions running) [9,145 / 9,191] 242 / 246 tests; Testing //expression:expression_test (shard 21 of 50); 217s remote-cache, linux-sandbox ... (92 actions running) [9,145 / 9,191] 242 / 246 tests; Testing //expression:expression_test (shard 21 of 50); 218s remote-cache, linux-sandbox ... (92 actions running) [9,148 / 9,191] 242 / 246 tests; Testing //expression:expression_test (shard 21 of 50); 220s remote-cache, linux-sandbox ... (86 actions running) [9,149 / 9,191] 242 / 246 tests; Testing //expression:expression_test (shard 21 of 50); 222s remote-cache, linux-sandbox ... (84 actions running) [9,150 / 9,191] 242 / 246 tests; Testing //session:session_test (shard 30 of 50); 210s remote-cache, linux-sandbox ... (82 actions running) [9,151 / 9,191] 242 / 246 tests; Testing //session:session_test (shard 30 of 50); 214s remote-cache, linux-sandbox ... (80 actions running) [9,152 / 9,191] 242 / 246 tests; Testing //session:session_test (shard 30 of 50); 216s remote-cache, linux-sandbox ... (78 actions running) [9,153 / 9,191] 242 / 246 tests; Testing //session:session_test (shard 30 of 50); 217s remote-cache, linux-sandbox ... (76 actions running) [9,156 / 9,191] 242 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 1 of 2); 208s remote-cache, linux-sandbox ... (70 actions running) [9,158 / 9,191] 242 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 1 of 2); 209s remote-cache, linux-sandbox ... (66 actions running) [9,159 / 9,191] 242 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 1 of 2); 211s remote-cache, linux-sandbox ... (64 actions running) [9,163 / 9,191] 242 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 1 of 2); 213s remote-cache, linux-sandbox ... (56 actions running) [9,164 / 9,191] 242 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 1 of 2); 215s remote-cache, linux-sandbox ... (54 actions running) [9,164 / 9,191] 242 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 1 of 2); 217s remote-cache, linux-sandbox ... (54 actions running) [9,165 / 9,191] 242 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 1 of 2); 218s remote-cache, linux-sandbox ... (52 actions running) [9,165 / 9,191] 243 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 1 of 2); 219s remote-cache, linux-sandbox ... (52 actions running) [9,166 / 9,191] 243 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 1 of 2); 221s remote-cache, linux-sandbox ... (50 actions running) [9,167 / 9,191] 243 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 1 of 2); 222s remote-cache, linux-sandbox ... (48 actions running) [9,168 / 9,191] 243 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 1 of 2); 229s remote-cache, linux-sandbox ... (46 actions running) [9,169 / 9,191] 243 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 1 of 2); 238s remote-cache, linux-sandbox ... (44 actions running) [9,169 / 9,191] 243 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 1 of 2); 249s remote-cache, linux-sandbox ... (44 actions running) [9,169 / 9,191] 243 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 1 of 2); 254s remote-cache, linux-sandbox ... (44 actions running) [9,171 / 9,191] 243 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 1 of 2); 255s remote-cache, linux-sandbox ... (40 actions running) [9,171 / 9,191] 243 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 1 of 2); 267s remote-cache, linux-sandbox ... (40 actions running) [9,171 / 9,191] 243 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 1 of 2); 272s remote-cache, linux-sandbox ... (40 actions running) [9,171 / 9,191] 243 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 1 of 2); 273s remote-cache, linux-sandbox ... (40 actions running) [9,177 / 9,191] 243 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 1 of 2); 275s remote-cache, linux-sandbox ... (28 actions running) [9,179 / 9,191] 243 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 1 of 2); 278s remote-cache, linux-sandbox ... (24 actions running) [9,180 / 9,191] 243 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 1 of 2); 280s remote-cache, linux-sandbox ... (22 actions running) [9,181 / 9,191] 243 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 1 of 2); 284s remote-cache, linux-sandbox ... (20 actions running) [9,181 / 9,191] 243 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 1 of 2); 286s remote-cache, linux-sandbox ... (20 actions running) [9,184 / 9,191] 243 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 1 of 2); 288s remote-cache, linux-sandbox ... (14 actions running) FLAKY: //session:session_test (Summary) /home/jenkins/.tidb/tmp/45c44f383a26fe92ddbb5dda36c71ef8/execroot/__main__/bazel-out/k8-fastbuild/testlogs/session/session_test/shard_16_of_50/test_attempts/attempt_1.log INFO: From Testing //session:session_test (shard 16 of 50): ==================== Test output for //session:session_test (shard 16 of 50): === RUN TestUpgradeVersion74 [2024/05/06 16:32:38.342 +08:00] [INFO] [region_cache.go:2484] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 16:32:38.349 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:32:38.349 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:32:38.360 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:32:38.361 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:32:38.367 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:32:38.369 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=3e7a490e-17a8-4fc0-8ac6-ff58a9c5437d] ["ddl lease"=20ms] ["stats lease"=3s] ["index usage sync lease"=0s] [2024/05/06 16:32:38.535 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).Init\n\tdomain/domain.go:1074\ngithub.com/pingcap/tidb/session.(*domainMap).Get.func1\n\tsession/tidb.go:90\ngithub.com/pingcap/tidb/util.RunWithRetry\n\tutil/misc.go:69\ngithub.com/pingcap/tidb/session.(*domainMap).Get\n\tsession/tidb.go:76\ngithub.com/pingcap/tidb/session.createSessionWithOpt\n\tsession/session.go:3520\ngithub.com/pingcap/tidb/session.createSession\n\tsession/session.go:3516\ngithub.com/pingcap/tidb/session.runInBootstrapSession\n\tsession/session.go:3480\ngithub.com/pingcap/tidb/session.BootstrapSession\n\tsession/session.go:3309\ngithub.com/pingcap/tidb/session.createStoreAndBootstrap\n\tsession/main_test.go:88\ngithub.com/pingcap/tidb/session.TestUpgradeVersion74.func1\n\tsession/bootstrap_test.go:702\ngithub.com/pingcap/tidb/session.TestUpgradeVersion74\n\tsession/bootstrap_test.go:734\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1446\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.564 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=27.855547ms] [2024/05/06 16:32:38.569 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:32:38.570 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=35.443478ms] [2024/05/06 16:32:38.570 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=b79dcda6-7f50-4c9b-8092-9fd7d7e49eab] [runWorker=true] [2024/05/06 16:32:38.570 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:32:38.571 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:32:38.572 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 1, tp general"] [2024/05/06 16:32:38.573 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 2, tp add index"] [2024/05/06 16:32:38.574 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 16:32:38.574 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:32:38.575 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:32:38.576 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:32:38.583 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 16:32:38.586 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.611 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.621 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=10.794489ms] [2024/05/06 16:32:38.626 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:32:38.61 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:32:38.626 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:32:38.61 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 16:32:38.636 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.646 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.656 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.666 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.677 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.687 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.699 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.710 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.719 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.729 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.744 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.754 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.765 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.775 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.786 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.797 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.808 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.818 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.830 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.842 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.860 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.870 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.880 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.891 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.902 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.913 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.923 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.934 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.944 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.957 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.978 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.989 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:38.998 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.009 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.019 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.031 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.042 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.053 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.064 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.079 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.089 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.099 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.110 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.122 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.133 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.145 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.154 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.165 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.177 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.188 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.198 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.208 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.218 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.230 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.247 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.257 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.268 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.279 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.289 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.298 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.308 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.320 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.333 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.345 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.356 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.367 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.378 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.388 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.398 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.408 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.419 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.430 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.441 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.451 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.462 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.473 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.483 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.494 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.505 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.516 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.526 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.546 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.566 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.578 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.589 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.626 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.646 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:38.61 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:39.648 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.660 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:32:39.714 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=33.81186ms] [2024/05/06 16:32:39.720 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:32:39.720 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=40.863018ms] [2024/05/06 16:32:39.776 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:32:39.776 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=3] [version=1] [2024/05/06 16:32:39.776 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=100.092333ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:32:38.61 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:39.824 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:38.61 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:39.867 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=3] [2024/05/06 16:32:39.867 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:32:39.872 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.2896416\n# Parse_time: 0\n# Compile_time: 0.000644312\n# Rewrite_time: 0.000035763\n# Optimize_time: 0\n# Wait_TS: 0.000080635\n# DB: mysql\n# Is_internal: true\n# Digest: 0a22979ad136f741465cf206b13e5717b9758dda34f7cae5a7a925f91711d6a0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse mysql;\nCREATE DATABASE IF NOT EXISTS test;"] [2024/05/06 16:32:39.874 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 16:32:39.914 +08:00] [INFO] [session.go:3817] ["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 16:32:40.574 +08:00] [INFO] [info.go:1114] [SetTiFlashGroupConfig] [2024/05/06 16:32:40.698 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572860119482368] ["min commit ts"=449572860228272128] [key="dIAA///////+X3KAAAAAAAAABQ=="] [2024/05/06 16:32:40.698 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572860118695936] [info="{StartTs:449572860118695936 AttemptedCommitTs:449572860119482368 Key:748000fffffffffffe5f728000000000000005 MinCommitTs:449572860228272128}"] [2024/05/06 16:32:40.701 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572860118695936\n# Query_time: 0.61912109\n# Parse_time: 0\n# Compile_time: 0.113185447\n# Rewrite_time: 0.000332548\n# Optimize_time: 0.001490904\n# Wait_TS: 0.000099431\n# Prewrite_time: 0.001065601 Commit_time: 0.002086041 Get_commit_ts_time: 0.000028887 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 24247 Prewrite_region: 1\n# Is_internal: true\n# Digest: 1b73a00c73a03d7dc9dd08a1ea99474b2523e5f72366f740be5156fa244256c4\n# Num_cop_tasks: 0\n# Mem_max: 61570\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('0QLwQzAJMjdfMQkwCTAJTi9BCTAJdGltZToxLjIxbXMsIGxvb3BzOjEsIHByZXBhcmU6IDUzN8K1cywgaW5zZXJ0OjY3NC4zBRFMY29tbWl0X3R4bjoge3ByZXdyaXQBSSQwN21zLCBnZXRfESIUczoyOC45HTUQOjIuMDkBJhxzbG93ZXN0XxE/0F9ycGM6IHt0b3RhbDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0b3JlOiBzdG9yZTEsIH0sEYoYcHJpbWFyedZEAA1kCG51bQH+BcwQX2tleXMZDlxieXRlOjI0MjQ3fQkyNC4xIEtCCU4vQQo=')\ninsert into mysql.tidb_ddl_job(job_id, reorg, schema_ids, table_ids, job_meta, type, processing) values(5, false, \"1\", \"4\", 0x7b226964223a352c2274797065223a332c22736368656d615f6964223a312c227461626c655f6964223a342c22736368656d615f6e616d65223a226d7973716c222c227461626c655f6e616d65223a2275736572222c227374617465223a382c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b7b226964223a342c226e616d65223a7b224f223a2275736572222c224c223a2275736572227d2c2263686172736574223a22757466386d6234222c22636f6c6c617465223a22757466386d62345f62696e222c22636f6c73223a5b7b226964223a312c226e616d65223a7b224f223a22486f7374222c224c223a22686f7374227d2c226f6666736574223a302c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235342c22466c6167223a343039392c22466c656e223a3235352c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a322c226e616d65223a7b224f223a2255736572222c224c223a2275736572227d2c226f6666736574223a312c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235342c22466c6167223a343039392c22466c656e223a33322c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a332c226e616d65223a7b224f223a2261757468656e7469636174696f6e5f737472696e67222c224c223a2261757468656e7469636174696f6e5f737472696e67227d2c226f6666736574223a322c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235322c22466c6167223a302c22466c656e223a36353533352c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a342c226e616d65223a7b224f223a22706c7567696e222c224c223a22706c7567696e227d2c226f6666736574223a332c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235342c22466c6167223a302c22466c656e223a36342c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464(len:48537);"] [2024/05/06 16:32:40.702 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:32:39.93 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:32:40.702 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:39.93 +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 16:32:40.795 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:39.93 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:41.383 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=12.112297ms] [phyTblIDs="[4]"] [actionTypes="[8]"] [2024/05/06 16:32:41.384 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=13.675596ms] [2024/05/06 16:32:41.427 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:32:41.427 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=5] [version=2] [2024/05/06 16:32:41.429 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=60.244329ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:39.93 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:41.500 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:39.93 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:41.586 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=13.583892ms] [2024/05/06 16:32:41.840 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=5] [2024/05/06 16:32:41.840 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:32:41.842 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.941916457\n# Parse_time: 0\n# Compile_time: 0.014144701\n# Rewrite_time: 0.000017323\n# Optimize_time: 0\n# Wait_TS: 0.000074656\n# DB: mysql\n# Is_internal: true\n# Digest: 14c6b489558060bdbede877927034270db5af07c6621aa28f87eeaec8727e925\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.user ( Host CHAR(255), User CHAR(32), authentication_string TEXT, plugin CHAR(64), Select_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Insert_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Update_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Delete_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Process_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Grant_priv ENUM('N','Y') NOT NULL DEFAULT 'N', References_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_db_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Super_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Index_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_user_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Event_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_slave_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_client_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Trigger_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Account_locked ENUM('N','Y') NOT NULL DEFAULT 'N', Shutdown_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Reload_priv ENUM('N','Y') NOT NULL DEFAULT 'N', FILE_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Config_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N', Password_reuse_history smallint unsigned DEFAULT NULL, Password_reuse_time smallint unsigned DEFAULT NULL, User_attributes json, Token_issuer VARCHAR(255), Password_expired ENUM('N','Y') NOT NULL DEFAULT 'N', Password_last_changed TIMESTAMP DEFAULT CURRENT_TIMESTAMP(), Password_lifetime SMALLINT UNSIGNED DEFAULT NULL, PRIMARY KEY (Host, User));"] [2024/05/06 16:32:41.850 +08:00] [INFO] [session.go:3817] ["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 16:32:41.912 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:32:41.863 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:32:41.912 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:41.863 +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 16:32:41.995 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:41.863 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:42.113 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=2.470983ms] [phyTblIDs="[6]"] [actionTypes="[8]"] [2024/05/06 16:32:42.126 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:32:42.126 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=7] [version=3] [2024/05/06 16:32:42.127 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=24.760803ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:41.863 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:42.191 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:41.863 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:42.267 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=7] [2024/05/06 16:32:42.267 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:32:42.269 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.421793581\n# Parse_time: 0\n# Compile_time: 0.002918142\n# Rewrite_time: 0.000010802\n# Optimize_time: 0\n# Wait_TS: 0.000078403\n# DB: mysql\n# Is_internal: true\n# Digest: eeb59bc0d98f65a2a5aef8eaa99596260e746b00eed183baf856558ef03533ac\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.password_history ( Host char(255) NOT NULL DEFAULT '', User char(32) NOT NULL DEFAULT '', Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6), Password text, PRIMARY KEY (Host,User,Password_timestamp ) ) COMMENT='Password history for user accounts' ;"] [2024/05/06 16:32:42.274 +08:00] [INFO] [session.go:3817] ["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 16:32:42.342 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:32:42.289 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:32:42.342 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:42.289 +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 16:32:42.401 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:42.289 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:42.987 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572860719529985] ["min commit ts"=449572860749152257] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6OAD+] [2024/05/06 16:32:42.987 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572860696985600] [info="{StartTs:449572860696985600 AttemptedCommitTs:449572860719529985 Key:6d44423a3100000000fb00000000000000685461626c653a3800fe MinCommitTs:449572860749152257}"] [2024/05/06 16:32:42.993 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572860723724288\n# Query_time: 0.501533\n# Parse_time: 0\n# Compile_time: 0.011550517\n# Rewrite_time: 0.000916695\n# Optimize_time: 0.001842932\n# Wait_TS: 0.000084866\n# Cop_time: 0.486981656 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 175\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000012268\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2wP0FwEwCTMxXzcJMAkzMzIzLjMzCWRhdGE6U2VsZWN0aW9uXzYJMAl0aW1lOjQ4Ny40bXMsIGxvb3BzOjEsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuMzVtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMW1zLCBycGNfbnVtOiAzMTUsIHJwY190aW1lOiAyNTQuMW1zLCBjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzozMTQsIHRvdGFsX3RpbWU6MTQ4LjNtc30JMTc1IEJ5dGVzCU4vQQoxCTFfNgkxXzAJMzMyJQzAbGUobXlzcWwudGlkYl9tZGxfaW5mby52ZXJzaW9uLCAzKQkwCXRpa3ZfdGFzazp7dCEpGDEuMTZtcywtKAQwfQFcAQRcCjIJNDNfNQkxXzAJMTAwMDAJdGFibGU6MlwAgCwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCapwAA==')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 3;"] [2024/05/06 16:32:42.996 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=1.928022ms] [phyTblIDs="[8]"] [actionTypes="[8]"] [2024/05/06 16:32:43.002 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572860749152256\n# Query_time: 0.42364346\n# Parse_time: 0\n# Compile_time: 0.023572017\n# Rewrite_time: 0.003569699\n# Optimize_time: 0.017070903\n# Wait_TS: 0.000072758\n# Cop_time: 0.388208278 Process_time: 0.003 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0015 Cop_proc_p90: 0.003 Cop_proc_max: 0.003 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12631\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('0RO4MAkzXzEzCTAJMjIyNC44OAlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwRnByb2Nlc3NpbmcJMAl0aW1lOjM5My44bXMsIGxvb3BzOjEsIENvbmN1cnJlbmN5OjUJMTEuOCBLQglOL0EKMQkxNF8xNAkwboAAGWMUOmRlc2MsTocAFGpvYl9pZC6DAAAzHYMcCTAgQnl0ZXMRCBwKMgkxN18yOB34VGlubmVyIGpvaW4sIGVxdWFsOltlcShaDgE4aWQsIENvbHVtbiMxNSldHXcddaAsIGJ1aWxkX2hhc2hfdGFibGU6e3RvdGFsOjgxNS40wrVzLCBmZXRjaB0QBTIMOjBzfRGqEQgkCjMJMzFfNDEoQgFUACkduUBkYXRhOlNlbGVjdGlvbl80MBGOEDUyOC42BWY1iXBjb3BfdGFzazoge251bTogMSwgbWF4OiA4NjAuMQUrIWw0X2tleXM6IDAsIHJwY18RKQEMJeAUIDczMS4zBS6YY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uNf0cIDE1fQkxNzEtjhhOL0EKNAkxAbQEMV9ygwIMcmVvcklhBGt2CcIAewWMCDU3OA25CeQEMH0BVQEEHAo1CTQ0XzM5BVocNjY2Ni42Nwkphi7dAugsIHJhbmdlOlstaW5mLDkpLCAoOSwraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCUHvoo4ALDMJNl8yOShQcm9iZSG+NDY0MDAJZ3JvdXAgYnk6VUxALCBmdW5jczpmaXJzdHJvdygVGggpLT4VDDHiCDM5MTLnAlQsIHBhcnRpYWxfd29ya2VyOnt3YWxsKbYBLBQwMzYyNTlBowBjPZUINSwgQRQl6VwwLCB0b3Rfd2FpdDoxLjk1MzMwMjQ4NXMJFxRleGVjOjANDSWABSQQNDU0NDMBJEFMJDM5MC43MjI1NjIBaAhwOTUyEgAUfSwgZmluYqEAEDE4MTkwhTyeoQAYNDQ1NzA1Mw2UBaEYNzUuMTk3wmFfAcwVqBw0NTYxODA4c0n0AagUOTQ2NTc3LqgAERJZR0GgADNhVCWyFG5vdChlcTmWGCwgOSkpLCABFxRpc251bGwZGwApIecFfQFrBWZJpAwxCTM4kZBhAhA1CTZfMyHUCDgwMF0USnsEAHC1bFIEBSBzY2hlbWFfaWQB40aqBUX9CR5JZQhtaW4VrwA4MmACADEZuSXHCbkAMnJgAhw4OS4yNjk3MAUxXr8BADFJSVFgHDQ0MTY4ODM0Lr8BHDIyOC4yNzfCPsABGDQ0NDkyMTIB3DBheDozODguOTg0OTg2Nb8dEnJnAhwwLjA2MzY3MQE5nqgAGDc4MDk3MjEuqAAUNjYyLjIyqWEuaAIcNDg1MDU4NzYRqQFwDDIyNjhleHEQERJZaAA2oeAMMzYJMEkHpdYkSGFzaEFnZ18zMTWSCDg4LgXyNZJe0wUIMy41RXQIcHJvvdEBqQESBDogxaqh1KXgCDIzN6nuRbEQIDE3OS4tIMbhBTQsIFJlc29sdmVMb2NrOsFpHF9ycGM6MjM2Jf0AYY2RKDE1NS40bXN9CTE5LhAGADdhDgAxpbb+EAPOEANKOAMWWwh9IAA4JY42+wUIMy4zPZjdhxQ4CTQzXzOBRgwwCTEwYeJliDqFBnprBmGQmnAA')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (9) order by processing desc, job_id;"] [2024/05/06 16:32:43.026 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:32:43.026 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=9] [version=4] [2024/05/06 16:32:43.028 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=38.698819ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:42.289 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:43.083 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:42.289 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:43.149 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=9] [2024/05/06 16:32:43.150 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:32:43.151 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.879343165\n# Parse_time: 0\n# Compile_time: 0.002037815\n# Rewrite_time: 0.000013738\n# Optimize_time: 0\n# Wait_TS: 0.000081824\n# DB: mysql\n# Is_internal: true\n# Digest: 3bc9b46cf9e300a8d240915cf47216424544ed9f992c07151fba2e2cadc41632\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE 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 16:32:43.177 +08:00] [INFO] [session.go:3817] ["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),\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 16:32:43.333 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:32:43.206 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:32:43.333 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:43.206 +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),\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 16:32:43.397 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:43.206 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:43.704 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=5.406516ms] [phyTblIDs="[10]"] [actionTypes="[8]"] [2024/05/06 16:32:43.727 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:32:43.727 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=11] [version=5] [2024/05/06 16:32:43.728 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=32.154342ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:43.206 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:43.795 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:43.206 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:43.975 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=11] [2024/05/06 16:32:43.976 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:32:43.977 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.809285953\n# Parse_time: 0\n# Compile_time: 0.008997195\n# Rewrite_time: 0.000012913\n# Optimize_time: 0\n# Wait_TS: 0.000075543\n# DB: mysql\n# Is_internal: true\n# Digest: aeaf612801484f0311f850d36f60f29e6d904828682c1f3bb7307dff25ca3a15\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.db ( Host CHAR(255), DB CHAR(64), User CHAR(32), Select_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Insert_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Update_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Delete_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Grant_priv ENUM('N','Y') NOT NULL DEFAULT 'N', References_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Index_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Event_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Trigger_priv ENUM('N','Y') NOT NULL DEFAULT 'N', PRIMARY KEY (Host, DB, User));"] [2024/05/06 16:32:43.986 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:32:44.076 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:32:44 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:32:44.076 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:44 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:32:44.134 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:44 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:44.317 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=3.878473ms] [phyTblIDs="[12]"] [actionTypes="[8]"] [2024/05/06 16:32:44.376 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:32:44.377 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=13] [version=6] [2024/05/06 16:32:44.377 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=73.565047ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:44 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:44.431 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:44 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:44.546 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=13] [2024/05/06 16:32:44.546 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:32:44.548 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.565300379\n# Parse_time: 0\n# Compile_time: 0.003875447\n# Rewrite_time: 0.000012174\n# Optimize_time: 0\n# Wait_TS: 0.000069099\n# DB: mysql\n# Is_internal: true\n# Digest: e8b37dad6cc7f05ee1f0be61455667495826928a93ddd09b94e02fbaed113955\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tables_priv ( Host CHAR(255), DB CHAR(64), User CHAR(32), Table_name CHAR(64), Grantor CHAR(77), Timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, Table_priv SET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'), Column_priv SET('Select','Insert','Update','References'), PRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 16:32:44.560 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:32:44.652 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:32:44.576 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:32:44.652 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:44.576 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:32:44.732 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:44.576 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:44.867 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=2.696113ms] [phyTblIDs="[14]"] [actionTypes="[8]"] [2024/05/06 16:32:44.926 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:32:44.926 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=15] [version=7] [2024/05/06 16:32:44.926 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=72.581225ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:44.576 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:44.976 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:44.576 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:45.029 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=10.019615ms] [2024/05/06 16:32:45.059 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=15] [2024/05/06 16:32:45.059 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:32:45.061 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.508171402\n# Parse_time: 0\n# Compile_time: 0.007736634\n# Rewrite_time: 0.000012687\n# Optimize_time: 0\n# Wait_TS: 0.000081742\n# DB: mysql\n# Is_internal: true\n# Digest: a19edbb3caff8cc57619278ab6eb5f791d7a821432309abe7184d0a7bca66b4d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.columns_priv( Host CHAR(255), DB CHAR(64), User CHAR(32), Table_name CHAR(64), Column_name CHAR(64), Timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, Column_priv SET('Select','Insert','Update','References'), PRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 16:32:45.065 +08:00] [INFO] [session.go:3817] ["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(1024) DEFAULT NULL);"] [user=] [2024/05/06 16:32:45.124 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:32:45.077 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:32:45.124 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:45.077 +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(1024) DEFAULT NULL);"] [2024/05/06 16:32:45.215 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:45.077 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:45.321 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=1.839912ms] [phyTblIDs="[16]"] [actionTypes="[8]"] [2024/05/06 16:32:45.376 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:32:45.376 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=17] [version=8] [2024/05/06 16:32:45.376 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=60.19027ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:45.077 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:45.441 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:45.077 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:45.531 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=17] [2024/05/06 16:32:45.531 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:32:45.533 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.469479752\n# Parse_time: 0\n# Compile_time: 0.001678566\n# Rewrite_time: 0.000014799\n# Optimize_time: 0\n# Wait_TS: 0.000084447\n# DB: mysql\n# Is_internal: true\n# Digest: 55c1ea537145da60f32339dc7a3b69a3859f3f428fbae4e4023eb71dca836f47\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES( VARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY, VARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [2024/05/06 16:32:45.537 +08:00] [INFO] [session.go:3817] ["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 16:32:45.595 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=10.055236ms] [2024/05/06 16:32:45.603 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:45.562 +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 16:32:45.604 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:32:45.562 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:32:45.706 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:45.562 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:45.814 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=1.879265ms] [phyTblIDs="[18]"] [actionTypes="[8]"] [2024/05/06 16:32:45.878 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:32:45.878 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=19] [version=9] [2024/05/06 16:32:45.878 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=76.12191ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:45.562 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:45.967 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:45.562 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:46.044 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=19] [2024/05/06 16:32:46.045 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:32:46.046 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.511428994\n# Parse_time: 0\n# Compile_time: 0.001890194\n# Rewrite_time: 0.000011817\n# Optimize_time: 0\n# Wait_TS: 0.000063239\n# DB: mysql\n# Is_internal: true\n# Digest: 0cc4a9cf54472ccff7c4fb8d7c6e34e6bd96af08b450ad4c9677473f1f517cf2\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tidb( VARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY, VARIABLE_VALUE VARCHAR(1024) DEFAULT NULL, COMMENT VARCHAR(1024));"] [2024/05/06 16:32:46.065 +08:00] [INFO] [session.go:3817] ["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 16:32:46.173 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:32:46.106 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:32:46.173 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:46.106 +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 16:32:46.241 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:46.106 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:46.369 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=2.206479ms] [phyTblIDs="[20]"] [actionTypes="[8]"] [2024/05/06 16:32:46.426 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:32:46.426 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=21] [version=10] [2024/05/06 16:32:46.428 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=64.886144ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:46.106 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:46.486 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:46.106 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:46.564 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=21] [2024/05/06 16:32:46.565 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:32:46.566 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.514763775\n# Parse_time: 0\n# Compile_time: 0.014171327\n# Rewrite_time: 0.00402343\n# Optimize_time: 0\n# Wait_TS: 0.000088698\n# DB: mysql\n# Is_internal: true\n# Digest: ca851971407336dad93908a9f88f01d828a4e18f332111987f4a7675bced7ea4\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.help_topic ( help_topic_id INT(10) UNSIGNED NOT NULL, name CHAR(64) NOT NULL, help_category_id SMALLINT(5) UNSIGNED NOT NULL, description TEXT NOT NULL, example TEXT NOT NULL, url TEXT NOT NULL, PRIMARY KEY (help_topic_id) clustered, UNIQUE KEY name (name) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 16:32:46.573 +08:00] [INFO] [session.go:3817] ["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 16:32:46.683 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:32:46.591 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:32:46.683 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:46.591 +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 16:32:46.815 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:46.591 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:46.950 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=3.871735ms] [phyTblIDs="[22]"] [actionTypes="[8]"] [2024/05/06 16:32:46.976 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:32:46.976 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=23] [version=11] [2024/05/06 16:32:46.986 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=48.50964ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:46.591 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:47.059 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:46.591 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:47.616 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572861932732417] ["min commit ts"=449572862058561536] [key=bURETEpvYkhp/3N0b3J5AAAA/AAAAAAAAABoAAAAAAAAABf/AAAAAAAAAAD3] [2024/05/06 16:32:47.616 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572861917265921] [info="{StartTs:449572861917265921 AttemptedCommitTs:449572861932732417 Key:6d44444c4a6f624869ff73746f7279000000fc00000000000000680000000000000017ff0000000000000000f7 MinCommitTs:449572862058561536}"] [2024/05/06 16:32:47.650 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=23] [2024/05/06 16:32:47.651 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:32:47.653 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.082637354\n# Parse_time: 0\n# Compile_time: 0.002790122\n# Rewrite_time: 0.000012732\n# Optimize_time: 0\n# Wait_TS: 0.000062492\n# DB: mysql\n# Is_internal: true\n# Digest: db16a74bd407cb00f071eafe96456094f48fc00e802128fc486ef4847b8910b0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_meta ( version BIGINT(64) UNSIGNED NOT NULL, table_id BIGINT(64) NOT NULL, modify_count BIGINT(64) NOT NULL DEFAULT 0, count BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, snapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, INDEX idx_ver(version), UNIQUE INDEX tbl(table_id) );"] [2024/05/06 16:32:47.665 +08:00] [INFO] [session.go:3817] ["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 16:32:47.667 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [2024/05/06 16:32:47.755 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:32:47.68 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:32:47.755 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:47.68 +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 16:32:47.823 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:47.68 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:48.026 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=3.76366ms] [phyTblIDs="[24]"] [actionTypes="[8]"] [2024/05/06 16:32:48.076 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:32:48.076 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=25] [version=12] [2024/05/06 16:32:48.080 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=76.673891ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:47.68 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:48.152 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:47.68 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:48.313 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=25] [2024/05/06 16:32:48.313 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:32:48.315 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.654594851\n# Parse_time: 0\n# Compile_time: 0.004821494\n# Rewrite_time: 0.000012512\n# Optimize_time: 0\n# Wait_TS: 0.000070932\n# DB: mysql\n# Is_internal: true\n# Digest: 7780c45a0aac5f123ac85a7e601e79c5d7779e7c09a19953908e547605ed45d2\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_histograms ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, distinct_count BIGINT(64) NOT NULL, null_count BIGINT(64) NOT NULL DEFAULT 0, tot_col_size BIGINT(64) NOT NULL DEFAULT 0, modify_count BIGINT(64) NOT NULL DEFAULT 0, version BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, cm_sketch BLOB(6291456), stats_ver BIGINT(64) NOT NULL DEFAULT 0, flag BIGINT(64) NOT NULL DEFAULT 0, correlation DOUBLE NOT NULL DEFAULT 0, last_analyze_pos LONGBLOB DEFAULT NULL, UNIQUE INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:32:48.337 +08:00] [INFO] [session.go:3817] ["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 16:32:48.442 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:32:48.357 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:32:48.443 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:48.357 +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 16:32:48.502 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:48.357 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:48.681 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=3.311806ms] [phyTblIDs="[26]"] [actionTypes="[8]"] [2024/05/06 16:32:48.725 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:32:48.726 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=27] [version=13] [2024/05/06 16:32:48.726 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=50.06618ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:48.357 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:48.782 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:48.357 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:48.906 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=27] [2024/05/06 16:32:48.910 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:32:48.913 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.593709544\n# Parse_time: 0\n# Compile_time: 0.018023023\n# Rewrite_time: 0.000017755\n# Optimize_time: 0\n# Wait_TS: 0.000081078\n# DB: mysql\n# Is_internal: true\n# Digest: 5615b5212342304015b027afb253371dae02f19e53871cfbb034deb145dfce32\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_buckets ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, bucket_id BIGINT(64) NOT NULL, count BIGINT(64) NOT NULL, repeats BIGINT(64) NOT NULL, upper_bound LONGBLOB NOT NULL, lower_bound LONGBLOB , ndv BIGINT NOT NULL DEFAULT 0, UNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id) );"] [2024/05/06 16:32:48.922 +08:00] [INFO] [session.go:3817] ["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 16:32:48.990 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:32:48.938 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:32:48.991 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:48.938 +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 16:32:49.052 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:48.938 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:49.188 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=2.615674ms] [phyTblIDs="[28]"] [actionTypes="[8]"] [2024/05/06 16:32:49.227 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:32:49.227 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=29] [version=14] [2024/05/06 16:32:49.230 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=56.440392ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:48.938 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:49.287 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:48.938 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:49.909 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572862534090752] ["min commit ts"=449572862634754049] [key=bURETEpvYkhp/3N0b3J5AAAA/AAAAAAAAABoAAAAAAAAAB3/AAAAAAAAAAD3] [2024/05/06 16:32:49.910 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572862500274177] [info="{StartTs:449572862500274177 AttemptedCommitTs:449572862534090752 Key:6d44444c4a6f624869ff73746f7279000000fc0000000000000068000000000000001dff0000000000000000f7 MinCommitTs:449572862634754049}"] [2024/05/06 16:32:49.920 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572862586519552\n# Query_time: 0.342137203\n# Parse_time: 0\n# Compile_time: 0.032064917\n# Rewrite_time: 0.00304078\n# Optimize_time: 0.023821689\n# Wait_TS: 0.000088853\n# Cop_time: 0.298326767 Process_time: 0.001 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0005 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12630\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zhO4MAkzXzEzCTAJMjIzOC4xOQlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwRnByb2Nlc3NpbmcJMAl0aW1lOjMwNC4zbXMsIGxvb3BzOjEsIENvbmN1cnJlbmN5OjUJMTEuOCBLQglOL0EKMQkxNF8xNAkwboAAGWMUOmRlc2MsTocAFGpvYl9pZBmDCDMuNx2DHAkwIEJ5dGVzEQgcCjIJMTdfMjgd+FRpbm5lciBqb2luLCBlcXVhbDpbZXEoWg4BOGlkLCBDb2x1bW4jMTUpXS53AAA0HXd0LCBidWlsZF9oYXNoX3RhYmxlOnt0b3RhbDoxLjg4ASkQZmV0Y2gVDgUuDDowc30RqBEIJAozCTMxXzQxKEIBUAApHbdAZGF0YTpTZWxlY3Rpb25fNDARjBg0NzYuNMK1LocBcGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDk4NS42BSshajRfa2V5czogMCwgcnBjXxEpAQwl3hQgODkwLjUFLphjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb241+xwgMTV9CTE3MS2MGE4vQQo0CTEBtAQxX3KBAgxyZW9ySV8Ea3YJwgB7BYwQNzE3LjIFi0lrBDB9AVUBBBwKNQk0NF8zOQVaHDY2NjYuNjcJKYIu2wLwPCwgcmFuZ2U6Wy1pbmYsMjkpLCAoMjksK2luZl0sIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkbwlB76KQACwzCTZfMjkoUHJvYmUhwDQ2NDAwCWdyb3VwIGJ5OlVMQCwgZnVuY3M6Zmlyc3Ryb3coFRoIKS0+FQwx5BAzMDIuNUFHCf9YMSwgcGFydGlhbF93b3JrZXI6e3dhbGwpuAEsEDM1Mjk2RXgAYz2XGDUsIHRhc2sl61wwLCB0b3Rfd2FpdDoxLjUwNzcxNzM0MnMJFxRleGVjOjANDSWCBSQYOTQyNzMxc0lOAWgUMDc3NjgyAZkIcDk1MhIAFH0sIGZpbmKhABA0NTIzNoU8nqEAEDgzMDQ1NqEAFDEzMy4zM0n8Ac0VqRg4NTAzMzMzFakYMS43Nzk3NSURCakZEllKQaMAM2FXJbMUbm90KGVxOZccLCAyOSkpLCABGBRpc251bGwZHAgpKQlBJKUTBDEuBWctqQgJMziRkmEGEDUJNl8zIdYEODAuFgJKfQRhoQBlpW4ALE4GBSBzY2hlbWFfaWQB5EasBWUBCR5JZwhtaW4VrwA4MmICBDEJJTcQMzAwLjYhyQm5ADJ2YgIYMC4zODAxNKUDXsEBADFJS01iGDQ5NzEyMTZBPSGrRWFBQgQ3NkLAASA0OTc3MDg1NjQB3CxheDoyOTkuNjQ3MTlFMCHALhIAcmkCADABTQQ1OUWinqgAGDkyMTcxNTVN/QmpEDM5LjAxiYEBviUyJDEuNDk5NjMzNzVRaQGXEDk2OTU4ZasRqRESWWkANqHkDDM2CTBJB6XaJEhhc2hBZ2dfMzExkgFOJWE1kl7XBQgxLjPlBEE0udUBqQESCDogMSHYodil5AgyOTSp8gXGDCAxNTVJss7lBTQsIFJlc29sdmVMb2NrOsFtHF9ycGM6MjkzJf0AYY2THDgzbXN9CTE5LgsDADdhCwAxpbf+DQPODQNKNQMWWgh9HQA4JYs2+gUEMS5FTSmU3YcUOAk0M18zgUMMMAkxMGHeZYQ6hQZ6aQZhjJZvAA==')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (29) order by processing desc, job_id;"] [2024/05/06 16:32:49.930 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=29] [2024/05/06 16:32:49.930 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:32:49.934 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.016102157\n# Parse_time: 0\n# Compile_time: 0.004160395\n# Rewrite_time: 0.000014293\n# Optimize_time: 0\n# Wait_TS: 0.000084099\n# DB: mysql\n# Is_internal: true\n# Digest: 4f764dd084d16197c847e23500fcaf8b96dbbabd598c823de37967bfa2ad51cd\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.gc_delete_range ( job_id BIGINT NOT NULL COMMENT \"the DDL job ID\", element_id BIGINT NOT NULL COMMENT \"the schema element ID\", start_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", end_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", ts BIGINT NOT NULL COMMENT \"timestamp in uint64\", UNIQUE KEY delete_range_index (job_id, element_id) );"] [2024/05/06 16:32:49.943 +08:00] [INFO] [session.go:3817] ["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 16:32:50.036 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:32:49.973 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:32:50.036 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:49.973 +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 16:32:50.100 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:49.973 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:50.227 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=2.841013ms] [phyTblIDs="[30]"] [actionTypes="[8]"] [2024/05/06 16:32:50.276 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:32:50.276 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=31] [version=15] [2024/05/06 16:32:50.279 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=63.265582ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:49.973 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:50.341 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:49.973 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:50.423 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=31] [2024/05/06 16:32:50.423 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:32:50.425 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.484767299\n# Parse_time: 0\n# Compile_time: 0.002909222\n# Rewrite_time: 0.000015527\n# Optimize_time: 0\n# Wait_TS: 0.000094493\n# DB: mysql\n# Is_internal: true\n# Digest: 532cf71b38f2568975d61180716af7e2b05c9ca11023688224ed0c0eece42fa9\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done ( job_id BIGINT NOT NULL COMMENT \"the DDL job ID\", element_id BIGINT NOT NULL COMMENT \"the schema element ID\", start_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", end_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", ts BIGINT NOT NULL COMMENT \"timestamp in uint64\", UNIQUE KEY delete_range_done_index (job_id, element_id) );"] [2024/05/06 16:32:50.430 +08:00] [INFO] [session.go:3817] ["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 16:32:50.497 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:32:50.446 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:32:50.497 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:50.446 +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 16:32:50.573 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:50.446 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:50.685 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=3.200098ms] [phyTblIDs="[32]"] [actionTypes="[8]"] [2024/05/06 16:32:50.726 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:32:50.726 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=33] [version=16] [2024/05/06 16:32:50.726 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=48.072814ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:50.446 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:50.793 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:50.446 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:50.862 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=33] [2024/05/06 16:32:50.863 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:32:50.864 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.436255874\n# Parse_time: 0\n# Compile_time: 0.002338869\n# Rewrite_time: 0.00001295\n# Optimize_time: 0\n# Wait_TS: 0.000088476\n# DB: mysql\n# Is_internal: true\n# Digest: 28f04155dca9c7fd3a5e16199cefd152c629a57a64d0ccb2ed0f10309c23c59c\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_feedback ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, feedback BLOB NOT NULL, INDEX hist(table_id, is_index, hist_id) );"] [2024/05/06 16:32:50.876 +08:00] [INFO] [session.go:3817] ["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 16:32:50.963 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:32:50.896 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:32:50.963 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:50.896 +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 16:32:51.047 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:50.896 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:51.174 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=2.734158ms] [phyTblIDs="[34]"] [actionTypes="[8]"] [2024/05/06 16:32:51.226 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:32:51.226 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=35] [version=17] [2024/05/06 16:32:51.228 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=65.07673ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:50.896 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:51.283 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:50.896 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:51.364 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=35] [2024/05/06 16:32:51.364 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:32:51.374 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.501819766\n# Parse_time: 0\n# Compile_time: 0.003457906\n# Rewrite_time: 0.000016098\n# Optimize_time: 0\n# Wait_TS: 0.000064398\n# DB: mysql\n# Is_internal: true\n# Digest: 13e2fcff943423afddaa84c2d34108628854b5953bc7c41d2879240f077a5bd6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.role_edges ( FROM_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', FROM_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', TO_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', TO_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', WITH_ADMIN_OPTION ENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N', PRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER) );"] [2024/05/06 16:32:51.387 +08:00] [INFO] [session.go:3817] ["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 16:32:51.448 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:32:51.401 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:32:51.449 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:51.401 +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 16:32:51.525 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:51.401 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:51.653 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=2.347256ms] [phyTblIDs="[36]"] [actionTypes="[8]"] [2024/05/06 16:32:51.675 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:32:51.675 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=37] [version=18] [2024/05/06 16:32:51.677 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=32.608243ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:51.401 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:51.741 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:51.401 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:51.843 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=37] [2024/05/06 16:32:51.844 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:32:51.846 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.462108165\n# Parse_time: 0\n# Compile_time: 0.003181842\n# Rewrite_time: 0.000011861\n# Optimize_time: 0\n# Wait_TS: 0.000083731\n# DB: mysql\n# Is_internal: true\n# Digest: 9e6b544fb0287e9d8a74031560ed0cd6a5b4e54db073b893a68a76b05d929781\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.default_roles ( HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', DEFAULT_ROLE_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%', DEFAULT_ROLE_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', PRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER) );"] [2024/05/06 16:32:51.865 +08:00] [INFO] [session.go:3817] ["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 16:32:51.980 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:32:51.879 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:32:51.981 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:51.879 +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 16:32:52.090 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:51.879 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:52.277 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=3.333755ms] [phyTblIDs="[38]"] [actionTypes="[8]"] [2024/05/06 16:32:52.325 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:32:52.326 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=39] [version=19] [2024/05/06 16:32:52.328 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=58.852041ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:51.879 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:52.383 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:51.879 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:52.505 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=39] [2024/05/06 16:32:52.505 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:32:52.507 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.652900884\n# Parse_time: 0\n# Compile_time: 0.011566708\n# Rewrite_time: 0.000017427\n# Optimize_time: 0\n# Wait_TS: 0.000104646\n# DB: mysql\n# Is_internal: true\n# Digest: 0a4bc55a9ab72ef62ddaa1ee6472d7872306066fd783a8bb67047a497fbb4dbe\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.bind_info ( original_sql TEXT NOT NULL, bind_sql TEXT NOT NULL, default_db TEXT NOT NULL, status TEXT NOT NULL, create_time TIMESTAMP(3) NOT NULL, update_time TIMESTAMP(3) NOT NULL, charset TEXT NOT NULL, collation TEXT NOT NULL, source VARCHAR(10) NOT NULL DEFAULT 'unknown', sql_digest varchar(64), plan_digest varchar(64), INDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\", INDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\" ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 16:32:52.563 +08:00] [INFO] [session.go:3817] ["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 16:32:53.152 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572863382388736\n# Query_time: 0.551597965\n# Parse_time: 0\n# Compile_time: 0.046822432\n# Rewrite_time: 0.00030085\n# Optimize_time: 0.002265856\n# Wait_TS: 0.000076662\n# Prewrite_time: 0.000718367 Commit_time: 0.000998362 Get_commit_ts_time: 0.000021054 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 4163 Prewrite_region: 1\n# Is_internal: true\n# Digest: 1b73a00c73a03d7dc9dd08a1ea99474b2523e5f72366f740be5156fa244256c4\n# Num_cop_tasks: 0\n# Mem_max: 16911\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('1gLQMAkyN18xCTAJMAlOL0EJMAl0aW1lOjg3Mi41wrVzLCBsb29wczoxLCBwcmVwYXJlOiA0MjINHCRpbnNlcnQ6NDUwBStoY29tbWl0X3R4bjoge3ByZXdyaXRlOjcxOC40BSAMZ2V0XxEkGHM6MjEuMcIBYgkTCDo5OREoHHNsb3dlc3RfEUPQX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwNVxxfcHJpbWFyedZEAA1kCG51bSECBdAQX2tleXMZDlhieXRlOjQxNjN9CTQuNTEgS0IJTi9BCg==')\ninsert into mysql.tidb_ddl_job(job_id, reorg, schema_ids, table_ids, job_meta, type, processing) values(41, false, \"1\", \"40\", 0x7b226964223a34312c2274797065223a332c22736368656d615f6964223a312c227461626c655f6964223a34302c22736368656d615f6e616d65223a226d7973716c222c227461626c655f6e616d65223a2273746174735f746f705f6e222c227374617465223a382c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b7b226964223a34302c226e616d65223a7b224f223a2273746174735f746f705f6e222c224c223a2273746174735f746f705f6e227d2c2263686172736574223a22757466386d6234222c22636f6c6c617465223a22757466386d62345f62696e222c22636f6c73223a5b7b226964223a312c226e616d65223a7b224f223a227461626c655f6964222c224c223a227461626c655f6964227d2c226f6666736574223a302c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a382c22466c6167223a343130352c22466c656e223a36342c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a322c226e616d65223a7b224f223a2269735f696e646578222c224c223a2269735f696e646578227d2c226f6666736574223a312c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a312c22466c6167223a343039372c22466c656e223a322c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a332c226e616d65223a7b224f223a22686973745f6964222c224c223a22686973745f6964227d2c226f6666736574223a322c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a382c22466c6167223a343039372c22466c656e223a36342c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a342c226e616d65223a7b224f223a2276616c7565222c224c223a2276616c7565227d2c226f6666736574223a332c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235312c22466c6167223a3132382c22466c656e223a343239343936373239352c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c22(len:8371);"] [2024/05/06 16:32:53.153 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:32:52.575 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:32:53.153 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:52.575 +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 16:32:53.238 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:52.575 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:53.343 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=2.42264ms] [phyTblIDs="[40]"] [actionTypes="[8]"] [2024/05/06 16:32:53.375 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:32:53.376 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=41] [version=20] [2024/05/06 16:32:53.376 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=42.160056ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:52.575 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:53.435 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:52.575 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:53.518 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=41] [2024/05/06 16:32:53.518 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:32:53.520 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.958932866\n# Parse_time: 0\n# Compile_time: 0.002260945\n# Rewrite_time: 0.000012623\n# Optimize_time: 0\n# Wait_TS: 0.00008753\n# DB: mysql\n# Is_internal: true\n# Digest: 04a90564803373a6eb3f5a52e8794d25c4d28f6c18af7899b0b9f1bf1539ec72\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_top_n ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, value LONGBLOB, count BIGINT(64) UNSIGNED NOT NULL, INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:32:53.525 +08:00] [INFO] [session.go:3817] ["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 16:32:53.597 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:32:53.54 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:32:53.597 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:53.54 +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 16:32:53.684 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:53.54 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:53.826 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=1.880488ms] [phyTblIDs="[42]"] [actionTypes="[8]"] [2024/05/06 16:32:53.876 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:32:53.876 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=43] [version=21] [2024/05/06 16:32:53.879 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=68.397976ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:53.54 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:53.928 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:53.54 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:53.981 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=43] [2024/05/06 16:32:53.982 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:32:53.983 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.459196879\n# Parse_time: 0\n# Compile_time: 0.001894832\n# Rewrite_time: 0.000012146\n# Optimize_time: 0\n# Wait_TS: 0.000071529\n# DB: mysql\n# Is_internal: true\n# Digest: 3e05fb8977f83f4e32022552aded3680a039cddc4239c339119a655dc1cffdbb\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist ( name CHAR(100) NOT NULL, store_type CHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb', reason VARCHAR(200) );"] [2024/05/06 16:32:53.986 +08:00] [INFO] [session.go:3817] ["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 16:32:54.048 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:32:53.999 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:32:54.048 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:53.999 +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 16:32:54.116 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:53.999 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:54.173 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=1.580803ms] [phyTblIDs="[44]"] [actionTypes="[8]"] [2024/05/06 16:32:54.226 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:32:54.226 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=45] [version=22] [2024/05/06 16:32:54.227 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=60.356603ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:53.999 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:54.298 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:53.999 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:54.345 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=45] [2024/05/06 16:32:54.345 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:32:54.349 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.36393465\n# Parse_time: 0\n# Compile_time: 0.001956653\n# Rewrite_time: 0.000008916\n# Optimize_time: 0\n# Wait_TS: 0.00008619\n# DB: mysql\n# Is_internal: true\n# Digest: aee36d5dc7131e4b6e3321cc046ae8b5ec8156ec1ef82481df0b97b8c734325f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist ( name CHAR(100) NOT NULL );"] [2024/05/06 16:32:54.359 +08:00] [INFO] [session.go:3817] ["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 16:32:54.440 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:32:54.374 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:32:54.440 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:54.374 +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 16:32:54.504 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:54.374 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:54.643 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=2.816337ms] [phyTblIDs="[46]"] [actionTypes="[8]"] [2024/05/06 16:32:54.676 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:32:54.676 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=47] [version=23] [2024/05/06 16:32:54.676 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=42.223115ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:54.374 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:54.740 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:54.374 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:54.832 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=47] [2024/05/06 16:32:54.832 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:32:54.834 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.477744026\n# Parse_time: 0\n# Compile_time: 0.003347411\n# Rewrite_time: 0.000013454\n# Optimize_time: 0\n# Wait_TS: 0.000078649\n# DB: mysql\n# Is_internal: true\n# Digest: bd2a0d9809689d30e22f8d82b29b4ee110d16cda3353b77d74a1938afb746386\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_extended ( name varchar(32) NOT NULL, type tinyint(4) NOT NULL, table_id bigint(64) NOT NULL, column_ids varchar(32) NOT NULL, stats blob DEFAULT NULL, version bigint(64) unsigned NOT NULL, status tinyint(4) NOT NULL, PRIMARY KEY(name, table_id), KEY idx_1 (table_id, status, version), KEY idx_2 (status, version) );"] [2024/05/06 16:32:54.841 +08:00] [INFO] [session.go:3817] ["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 16:32:54.922 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:32:54.856 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:32:54.922 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:54.856 +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 16:32:54.988 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:54.856 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:55.134 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=2.396717ms] [phyTblIDs="[48]"] [actionTypes="[8]"] [2024/05/06 16:32:55.176 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:32:55.176 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=49] [version=24] [2024/05/06 16:32:55.177 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=54.62986ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:54.856 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:55.234 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:54.856 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:55.330 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=49] [2024/05/06 16:32:55.330 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:32:55.331 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.493558994\n# Parse_time: 0\n# Compile_time: 0.003683346\n# Rewrite_time: 0.000014271\n# Optimize_time: 0\n# Wait_TS: 0.000085438\n# DB: mysql\n# Is_internal: true\n# Digest: f72fffa4e6072164db3e01e2e29568b0b93c5045737047be527343b1737b0882\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.schema_index_usage ( TABLE_ID bigint(64), INDEX_ID bigint(21), QUERY_COUNT bigint(64), ROWS_SELECTED bigint(64), LAST_USED_AT timestamp, PRIMARY KEY(TABLE_ID, INDEX_ID) );"] [2024/05/06 16:32:55.338 +08:00] [INFO] [session.go:3817] ["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 16:32:55.410 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:32:55.352 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:32:55.411 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:55.352 +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 16:32:55.483 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:55.352 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:55.627 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=2.341164ms] [phyTblIDs="[50]"] [actionTypes="[8]"] [2024/05/06 16:32:55.676 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:32:55.676 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=51] [version=25] [2024/05/06 16:32:55.678 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=82.871611ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:55.352 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:55.738 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:55.352 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:55.820 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=51] [2024/05/06 16:32:55.821 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:32:55.824 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.487775995\n# Parse_time: 0\n# Compile_time: 0.002006874\n# Rewrite_time: 0.000011281\n# Optimize_time: 0\n# Wait_TS: 0.000078422\n# DB: mysql\n# Is_internal: true\n# Digest: 27ef2533f9d97f96c8c86a69a0de51aad04499856acd05fe4a4b93fb5b6043d0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, value LONGBLOB, INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:32:55.830 +08:00] [INFO] [session.go:3817] ["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 16:32:55.892 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:32:55.845 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:32:55.892 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:55.845 +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 16:32:55.996 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:55.845 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:56.091 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=2.379445ms] [phyTblIDs="[52]"] [actionTypes="[8]"] [2024/05/06 16:32:56.125 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:32:56.126 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=53] [version=26] [2024/05/06 16:32:56.126 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=38.242454ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:55.845 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:56.175 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:55.845 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:56.264 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=53] [2024/05/06 16:32:56.264 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:32:56.266 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.438490263\n# Parse_time: 0\n# Compile_time: 0.002990417\n# Rewrite_time: 0.000012201\n# Optimize_time: 0\n# Wait_TS: 0.000085259\n# DB: mysql\n# Is_internal: true\n# Digest: 79c6e54229df7b01d20ffaf8ac1077aa9ef39e604df30d5ce852dd7049cc3ddd\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.global_grants ( USER char(32) NOT NULL DEFAULT '', HOST char(255) NOT NULL DEFAULT '', PRIV char(32) NOT NULL DEFAULT '', WITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N', PRIMARY KEY (USER,HOST,PRIV) );"] [2024/05/06 16:32:56.274 +08:00] [INFO] [session.go:3817] ["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 16:32:56.332 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:32:56.292 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:32:56.332 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:56.292 +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 16:32:56.907 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572864367263744\n# Query_time: 0.50694762\n# Parse_time: 0\n# Compile_time: 0.001984945\n# Rewrite_time: 0.002861028\n# Optimize_time: 0.005229138\n# Wait_TS: 0.000112706\n# Prewrite_time: 0.000867528 Commit_time: 0.000651145 Get_commit_ts_time: 0.000021534 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 3350 Prewrite_region: 1\n# Is_internal: true\n# Digest: bb9a0484a27cea37dfc9b79800bc11ddc72f4ac11810a6eb126d600a567ce029\n# Num_cop_tasks: 0\n# Mem_max: 12567\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('ogPwTDAJMjhfMwkwCTAJTi9BCTAJdGltZToxLjYybXMsIGxvb3BzOjEsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo4NjcuNcK1cywgZ2V0X2NvCSQQczoyMS4JFwk3VDo2NTEuMcK1cywgc2xvd2VzdF9wcmUFQ9BfcnBjOiB7dG90YWw6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG9yZTogc3RvcmUxLCB9LA1XHF9wcmltYXJ51kQADWQIbnVtAeAJjQxrZXlzGQ7wPmJ5dGU6MzM1MH0JNC4yNyBLQglOL0EKMQkzNl8xCTAJMQl0YWJsZTp0aWRiX2RkbF9qb2IsIGhhbmRsZTo1NQEgIUwINDg2LQ4pTigyLCBHZXQ6e251bQW6DDEsIHQB/wBfBS5EMTU3LjbCtXN9CU4vQQlOL0EK')\n# Plan_digest: 3fea32741ba131a439f08d925bc0d60ce688c732cc613c6d3625da6592028edc\nupdate mysql.tidb_ddl_job set processing = 1 where job_id = 55;"] [2024/05/06 16:32:56.909 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:56.292 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:57.003 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=2.011838ms] [phyTblIDs="[54]"] [actionTypes="[8]"] [2024/05/06 16:32:57.026 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:32:57.027 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=55] [version=27] [2024/05/06 16:32:57.029 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=30.551051ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:56.292 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:57.092 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:56.292 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:57.196 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=55] [2024/05/06 16:32:57.196 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:32:57.198 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.926749\n# Parse_time: 0\n# Compile_time: 0.002753647\n# Rewrite_time: 0.000014614\n# Optimize_time: 0\n# Wait_TS: 0.000087324\n# DB: mysql\n# Is_internal: true\n# Digest: 08f858a5bd3a1fd5dfd809dd4b9d6c72db69f874b06ad0e91987f9e89a5cf89a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist ( id bigint(64) auto_increment, filter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\", filter_value varchar(32) NOT NULL, key idx(filter_type), primary key(id) );"] [2024/05/06 16:32:57.203 +08:00] [INFO] [session.go:3817] ["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 16:32:57.265 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:32:57.215 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:32:57.265 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:57.215 +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 16:32:57.341 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:57.215 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:57.441 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=2.212604ms] [phyTblIDs="[56]"] [actionTypes="[8]"] [2024/05/06 16:32:57.476 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:32:57.476 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=57] [version=28] [2024/05/06 16:32:57.476 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=42.763186ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:57.215 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:57.525 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:57.215 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:58.071 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572864673710080] ["min commit ts"=449572864803733505] [key=bURETEpvYkhp/3N0b3J5AAAA/AAAAAAAAABoAAAAAAAAADn/AAAAAAAAAAD3] [2024/05/06 16:32:58.071 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572864660865024] [info="{StartTs:449572864660865024 AttemptedCommitTs:449572864673710080 Key:6d44444c4a6f624869ff73746f7279000000fc00000000000000680000000000000039ff0000000000000000f7 MinCommitTs:449572864803733505}"] [2024/05/06 16:32:58.088 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572864679739392\n# Query_time: 0.509350424\n# Parse_time: 0\n# Compile_time: 0.01718893\n# Rewrite_time: 0.00285149\n# Optimize_time: 0.011699976\n# Wait_TS: 0.000086675\n# Cop_time: 0.476020574 Process_time: 0.001 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0005 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12630\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zhO4MAkzXzEzCTAJMjI1Ni44MwlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwRnByb2Nlc3NpbmcJMAl0aW1lOjQ4Ni4zbXMsIGxvb3BzOjEsIENvbmN1cnJlbmN5OjUJMTEuOCBLQglOL0EKMQkxNF8xNAkwboAAGWMUOmRlc2MsTocAFGpvYl9pZBmDCDUuOB2DHAkwIEJ5dGVzEQgcCjIJMTdfMjgd+FRpbm5lciBqb2luLCBlcXVhbDpbZXEoWg4BOGlkLCBDb2x1bW4jMTUpXS53AAA1HXdwLCBidWlsZF9oYXNoX3RhYmxlOnt0b3RhbDoxLjMFKRBmZXRjaBUOBS4MOjBzfRGoEQgkCjMJMzFfNDEoQgFQACkdt0BkYXRhOlNlbGVjdGlvbl80MBGMGDg1Ni43wrUuhwFwY29wX3Rhc2s6IHtudW06IDEsIG1heDogODY1LjMFKyFqNF9rZXlzOiAwLCBycGNfESkBDCXeFCA3NzcuNQUumGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbjX7HCAxNX0JMTcxLYwYTi9BCjQJMQG0BDFfcoECDHJlb3JJXwRrdgnCAHsFjBA2NTYuMQWLSWsEMH0BVQEEHAo1CTQ0XzM5BVocNjY2Ni42Nwkpgi7bAvA8LCByYW5nZTpbLWluZiw1NyksICg1NywraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCUHvopAALDMJNl8yOShQcm9iZSHANDY0MDAJZ3JvdXAgYnk6VUxALCBmdW5jczpmaXJzdHJvdygVGggpLT4VDDHkEDQ4MC4yMnACTHBhcnRpYWxfd29ya2VyOnt3YWxsKbgkNDc5Ljk0NTc4NgExAGM9lwg1LCBBFiXrXDAsIHRvdF93YWl0OjIuMzk1NTEzMTc0cwkXFGV4ZWM6MA0NJYIJJBQ5OTA5M3NJTgFoFDIxODE5NwFoCHA5NTISABR9LCBmaW5WoQAcODQuNTI4MjSyoQAYNjc3NTUzNg2UBaEYNTMuMzEywkH7AcwVqBg2ODU3NjA5HagMOTE2MYWqEacNEVlHQaAAM2FUJbAUbm90KGVxOZQcLCA1NykpLCABGBRpc251bGwZHAApIeYFfAg0NzkhC0mjDDEJMziRjWEBEDUJNl8zIdEIODAwXRFKeARhnABlpWlSAQUgc2NoZW1hX2lkAeBGpwVF/AkeSWIIbWluFa0AODJdAgAxEbcIOC40GbkEMixyXQIYOC4wMzE2OXK8AQAxSUZRXRw4NjUyMTUzNS68ARwyOTUuMDg5wj69ARQ4Njk2MjRBiIGyIDQ3Ny43NjY5MgWgKb0ZEm5kAhg3OS4wNzExdmQCPqgAFDk0NzU5NkE5QVBFZBgxODIuNjU2RqgAGDk3MDg2NzghhQxheDo0IRgQMDk1NzEhSQmpBDguERJZZwA2od8MMzYJMEkHpdUkSGFzaEFnZ18zMTmSBDcuBUlJSwgyLCBe0gUIMi4wRXRBNLnQAb4BEgQ6IAVGodOl3wg0OTSp7UWvECAyNzIuLcgAcMLgBTQsIFJlc29sdmVMb2NrOsFoHF9ycGM6NDkzJf0AYY2OKDExOS43bXN9CTE5Lg4DADdhDgAxpbX+EAPOEANKOAMWWAh9IAA4JY42+AUIMS425c4pmN2GFDgJNDNfM4FFDDAJMTBh4mWIOoQGemgGYZCacAA=')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (57) order by processing desc, job_id;"] [2024/05/06 16:32:58.098 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=57] [2024/05/06 16:32:58.099 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:32:58.100 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.899517223\n# Parse_time: 0\n# Compile_time: 0.002122973\n# Rewrite_time: 0.000012702\n# Optimize_time: 0\n# Wait_TS: 0.000068469\n# DB: mysql\n# Is_internal: true\n# Digest: 3a5634ff31bd7d32849c5404b7ffc419c7a7074307b815e5369eb6ca363cbcd0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.column_stats_usage ( table_id BIGINT(64) NOT NULL, column_id BIGINT(64) NOT NULL, last_used_at TIMESTAMP, last_analyzed_at TIMESTAMP, PRIMARY KEY (table_id, column_id) CLUSTERED );"] [2024/05/06 16:32:58.110 +08:00] [INFO] [session.go:3817] ["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 16:32:58.171 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:32:58.126 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:32:58.171 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:58.126 +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 16:32:58.238 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:58.126 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:58.369 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=2.096363ms] [phyTblIDs="[58]"] [actionTypes="[8]"] [2024/05/06 16:32:58.425 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:32:58.426 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=59] [version=29] [2024/05/06 16:32:58.426 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=82.032958ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:58.126 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:58.477 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:58.126 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:58.535 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=59] [2024/05/06 16:32:58.536 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:32:58.537 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.430659034\n# Parse_time: 0\n# Compile_time: 0.003311277\n# Rewrite_time: 0.000022602\n# Optimize_time: 0\n# Wait_TS: 0.00008625\n# DB: mysql\n# Is_internal: true\n# Digest: d5bebde055ca14bff3e131e086a86c4095b9d04ea6fc326b4c2f16ffd61fbd2d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.table_cache_meta ( tid bigint(11) NOT NULL DEFAULT 0, lock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE', lease bigint(20) NOT NULL DEFAULT 0, oldReadLease bigint(20) NOT NULL DEFAULT 0, PRIMARY KEY (tid) );"] [2024/05/06 16:32:58.546 +08:00] [INFO] [session.go:3817] ["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 16:32:58.548 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [2024/05/06 16:32:58.638 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:32:58.565 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:32:58.638 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:58.565 +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 16:32:58.741 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:58.565 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:58.870 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=2.552004ms] [phyTblIDs="[60]"] [actionTypes="[8]"] [2024/05/06 16:32:58.926 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:32:58.926 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=61] [version=30] [2024/05/06 16:32:58.928 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=62.522219ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:58.565 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:58.983 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:58.565 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:59.115 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=61] [2024/05/06 16:32:59.116 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:32:59.117 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.574949221\n# Parse_time: 0\n# Compile_time: 0.003785211\n# Rewrite_time: 0.000012998\n# Optimize_time: 0\n# Wait_TS: 0.000082293\n# DB: mysql\n# Is_internal: true\n# Digest: 987fcd9b9a604209ec1101d918419b993c42f84fe228e20aee2fcca2931ff93e\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.analyze_options ( table_id BIGINT(64) NOT NULL, sample_num BIGINT(64) NOT NULL DEFAULT 0, sample_rate DOUBLE NOT NULL DEFAULT -1, buckets BIGINT(64) NOT NULL DEFAULT 0, topn BIGINT(64) NOT NULL DEFAULT -1, column_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT', column_ids TEXT(19372), PRIMARY KEY (table_id) CLUSTERED );"] [2024/05/06 16:32:59.127 +08:00] [INFO] [session.go:3817] ["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\t);"] [user=] [2024/05/06 16:32:59.229 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:32:59.144 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:32:59.229 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:59.144 +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\t);"] [2024/05/06 16:32:59.296 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:59.144 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:59.429 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=5.03828ms] [phyTblIDs="[62]"] [actionTypes="[8]"] [2024/05/06 16:32:59.476 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:32:59.476 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=63] [version=31] [2024/05/06 16:32:59.477 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=56.300698ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:32:59.144 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:32:59.533 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:32:59.144 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:00.116 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572865209532417] ["min commit ts"=449572865318584321] [key=bURETEpvYkhp/3N0b3J5AAAA/AAAAAAAAABoAAAAAAAAAD//AAAAAAAAAAD3] [2024/05/06 16:33:00.116 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572865187250176] [info="{StartTs:449572865187250176 AttemptedCommitTs:449572865209532417 Key:6d44444c4a6f624869ff73746f7279000000fc0000000000000068000000000000003fff0000000000000000f7 MinCommitTs:449572865318584321}"] [2024/05/06 16:33:00.148 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=63] [2024/05/06 16:33:00.148 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:00.150 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.026760881\n# Parse_time: 0\n# Compile_time: 0.004589489\n# Rewrite_time: 0.000011847\n# Optimize_time: 0\n# Wait_TS: 0.000078098\n# DB: mysql\n# Is_internal: true\n# Digest: 11757f6de6b3d2a64e92f14cd7b7f739729563ede3b0139d016148eba0b27ebf\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_history ( table_id bigint(64) NOT NULL, stats_data longblob NOT NULL, seq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice', version bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN', create_time datetime(6) NOT NULL, UNIQUE KEY table_version_seq (table_id, version, seq_no), KEY table_create_time (table_id, create_time, seq_no) );"] [2024/05/06 16:33:00.158 +08:00] [INFO] [session.go:3817] ["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\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\t);"] [user=] [2024/05/06 16:33:00.236 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:00.172 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:00.236 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:00.172 +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\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\t);"] [2024/05/06 16:33:00.814 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572865390149632\n# Query_time: 0.511974056\n# Parse_time: 0\n# Compile_time: 0.001737844\n# Rewrite_time: 0.003066441\n# Optimize_time: 0.00738108\n# Wait_TS: 0.000102688\n# Prewrite_time: 0.000795754 Commit_time: 0.000909904 Get_commit_ts_time: 0.000019696 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 4726 Prewrite_region: 1\n# Is_internal: true\n# Digest: bb9a0484a27cea37dfc9b79800bc11ddc72f4ac11810a6eb126d600a567ce029\n# Num_cop_tasks: 0\n# Mem_max: 18071\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('ogPwTDAJMjhfMwkwCTAJTi9BCTAJdGltZTo2LjI2bXMsIGxvb3BzOjEsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo3OTUuOMK1cywgZ2V0X2NvCSQgczoxOS43wrVzETcUOjkwOS45BREgc2xvd2VzdF9wDUPoX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwgY29tbWkBRRBpbWFyedZEAA1kCG51bQHgBdAQX2tleXMZDvA+Ynl0ZTo0NzI2fQk1LjY1IEtCCU4vQQoxCTM2XzEJMAkxCXRhYmxlOnRpZGJfZGRsX2pvYiwgaGFuZGxlOjY1ASAhTBA1NzEuMgX9KU4oMiwgR2V0OntudW0FugwxLCB0Af8AXwUuRDE4OC43wrVzfQlOL0EJTi9BCg==')\n# Plan_digest: 3fea32741ba131a439f08d925bc0d60ce688c732cc613c6d3625da6592028edc\nupdate mysql.tidb_ddl_job set processing = 1 where job_id = 65;"] [2024/05/06 16:33:00.816 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:00.172 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:00.976 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=10.83655ms] [phyTblIDs="[64]"] [actionTypes="[8]"] [2024/05/06 16:33:00.977 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=11.91916ms] [2024/05/06 16:33:01.026 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:01.026 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=65] [version=32] [2024/05/06 16:33:01.027 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=64.539133ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:00.172 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:01.084 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:00.172 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:01.181 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=65] [2024/05/06 16:33:01.181 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:01.183 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.027708224\n# Parse_time: 0\n# Compile_time: 0.003009929\n# Rewrite_time: 0.000011619\n# Optimize_time: 0\n# Wait_TS: 0.000086468\n# DB: mysql\n# Is_internal: true\n# Digest: ebccd6f5d49fb0fcff4d7dc20bb3ae798d172a92ba5f6709445c980166f7e32f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_meta_history ( table_id bigint(64) NOT NULL, modify_count bigint(64) NOT NULL, count bigint(64) NOT NULL, version bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN', create_time datetime(6) NOT NULL, UNIQUE KEY table_version (table_id, version), KEY table_create_time (table_id, create_time) );"] [2024/05/06 16:33:01.197 +08:00] [INFO] [session.go:3817] ["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 16:33:01.326 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:01.218 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:01.326 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:01.218 +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 16:33:01.406 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:01.218 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:04.621 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000043, primary: 6d44423a3100000000fb00000000000000685461626c653a3636ff0000000000000000f7, txnStartTS: 449572865679032320, lockForUpdateTS:0, minCommitTs:0, ttl: 3198, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:33:04.627 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000043, primary: 6d44423a3100000000fb00000000000000685461626c653a3636ff0000000000000000f7, txnStartTS: 449572865679032320, lockForUpdateTS:0, minCommitTs:0, ttl: 3198, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:33:04.628 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000043, primary: 6d44423a3100000000fb00000000000000685461626c653a3636ff0000000000000000f7, txnStartTS: 449572865679032320, lockForUpdateTS:0, minCommitTs:0, ttl: 3198, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:33:04.628 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000043, primary: 6d44423a3100000000fb00000000000000685461626c653a3636ff0000000000000000f7, txnStartTS: 449572865679032320, lockForUpdateTS:0, minCommitTs:0, ttl: 3198, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:33:04.628 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000043, primary: 6d44423a3100000000fb00000000000000685461626c653a3636ff0000000000000000f7, txnStartTS: 449572865679032320, lockForUpdateTS:0, minCommitTs:0, ttl: 3198, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:33:04.628 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000043, primary: 6d44423a3100000000fb00000000000000685461626c653a3636ff0000000000000000f7, txnStartTS: 449572865679032320, lockForUpdateTS:0, minCommitTs:0, ttl: 3198, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:33:04.628 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000043, primary: 6d44423a3100000000fb00000000000000685461626c653a3636ff0000000000000000f7, txnStartTS: 449572865679032320, lockForUpdateTS:0, minCommitTs:0, ttl: 3198, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:33:04.628 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000043, primary: 6d44423a3100000000fb00000000000000685461626c653a3636ff0000000000000000f7, txnStartTS: 449572865679032320, lockForUpdateTS:0, minCommitTs:0, ttl: 3198, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:33:04.630 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000043, primary: 6d44423a3100000000fb00000000000000685461626c653a3636ff0000000000000000f7, txnStartTS: 449572865679032320, lockForUpdateTS:0, minCommitTs:0, ttl: 3198, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:33:04.631 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000043, primary: 6d44423a3100000000fb00000000000000685461626c653a3636ff0000000000000000f7, txnStartTS: 449572865679032320, lockForUpdateTS:0, minCommitTs:0, ttl: 3198, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:33:04.631 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000043, primary: 6d44423a3100000000fb00000000000000685461626c653a3636ff0000000000000000f7, txnStartTS: 449572865679032320, lockForUpdateTS:0, minCommitTs:0, ttl: 3198, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:33:04.634 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000043, primary: 6d44423a3100000000fb00000000000000685461626c653a3636ff0000000000000000f7, txnStartTS: 449572865679032320, lockForUpdateTS:0, minCommitTs:0, ttl: 3198, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:33:04.635 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000043, primary: 6d44423a3100000000fb00000000000000685461626c653a3636ff0000000000000000f7, txnStartTS: 449572865679032320, lockForUpdateTS:0, minCommitTs:0, ttl: 3198, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:33:04.638 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000043, primary: 6d44423a3100000000fb00000000000000685461626c653a3636ff0000000000000000f7, txnStartTS: 449572865679032320, lockForUpdateTS:0, minCommitTs:0, ttl: 3198, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:33:04.638 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000043, primary: 6d44423a3100000000fb00000000000000685461626c653a3636ff0000000000000000f7, txnStartTS: 449572865679032320, lockForUpdateTS:0, minCommitTs:0, ttl: 3198, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:33:04.639 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000043, primary: 6d44423a3100000000fb00000000000000685461626c653a3636ff0000000000000000f7, txnStartTS: 449572865679032320, lockForUpdateTS:0, minCommitTs:0, ttl: 3198, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:33:04.647 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572865731985408\n# Query_time: 3.045001822\n# Parse_time: 0\n# Compile_time: 0.007097911\n# Rewrite_time: 0.000950788\n# Optimize_time: 0.002916676\n# Wait_TS: 0.000112293\n# Cop_time: 3.034772781 Process_time: 0.002 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.002 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 177\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000012731\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2gPweTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6My4wNHMsIGxvb3BzOjEsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDIuNDZtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMm1zLCBycGNfBTYUMjM5OCwgAQ8AdAFlFCAxLjgycwVd8ExyX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzoyMzk3LAGADGFsX3QBZHg3MTIuNW1zfQkxNzcgQnl0ZXMJTi9BCjEJMV82CTFfOQqobGUobXlzcWwudGlkYl9tZGxfaW5mby52ZXJzaW9uLCAzMikJMAl0aWt2XyUJBHt0AV8MMi4xOQHjAGwlKQQwfQFdAQQYCjIJNDNfNQViLDEwMDAwCXRhYmxlOjJdAHwsIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkb65wAA==')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 32;"] [2024/05/06 16:33:04.651 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 6d446966663a333300fe0000000000000073, primary: 6d44423a3100000000fb00000000000000685461626c653a3636ff0000000000000000f7, txnStartTS: 449572865679032320, lockForUpdateTS:0, minCommitTs:449572865679032321, ttl: 3198, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:33:04.652 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572865998323712\n# Query_time: 2.063996546\n# Parse_time: 0\n# Compile_time: 0.038735895\n# Rewrite_time: 0.005483158\n# Optimize_time: 0.024357152\n# Wait_TS: 0.000084256\n# Cop_time: 2.01441903 Process_time: 0.007 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0035 Cop_proc_p90: 0.005 Cop_proc_max: 0.005 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12633\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zhO4MAkzXzEzCTAJMjI2My40OQlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwQ3Byb2Nlc3NpbmcJMAl0aW1lOjIuMDJzLCBsb29wczoxLCBDb25jdXJyZW5jeTo1CTExLjggS0IJTi9BCjEJMTRfMTQJcn4AGWEUOmRlc2MsToUAFGpvYl9pZFaBABwJMCBCeXRlcxEIHAoyCTE3XzI4HfRUaW5uZXIgam9pbiwgZXF1YWw6W2VxKFoKAQRpZAHTIGx1bW4jMTUpXVZ1AJgsIGJ1aWxkX2hhc2hfdGFibGU6e3RvdGFsOjMuMW1zLCBmZXRjaDoNDQUsDDowc30RpBEIJAozCTMxXzQxKEIBTgApHbNAZGF0YTpTZWxlY3Rpb25fNDAZiAQzNAFhNX9oY29wX3Rhc2s6IHtudW06IDEsIG1heDogMy4zASghXzRfa2V5czogMCwgdG90XwESCDogMgEdDHJwY18RNQEMJeAQIDMuMTgBHphjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb241/RwgMTV9CTE3Ny2QGE4vQQo0CTEBvAQxX3IDAgxyZW9ySV8Ea3YJzAB7BYoIMi4xBacJ7AQwfQFTAQQcCjUJNDRfMzkFWBw2NjY2LjY3CSmGLtkC8DwsIHJhbmdlOlstaW5mLDY3KSwgKDY3LCtpbmZdLCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG8JQe2ajgAsMwk2XzI5KFByb2JlIcQ4NjQwMAlncm91cCBieTpDUUxALCBmdW5jczpmaXJzdHJvdygVGggpLT4VDDnoNmYDTHBhcnRpYWxfd29ya2VyOnt3YWxsKbA4Mi4wMTY1MDkzNjZzLCBjPZEINSwgQRol4y39RHdhaXQ6MTAuMDc3NTUwODA0c0kVFGV4ZWM6MA0NJX0JJRA3OTI1MQFYQVQBajA1NTg0MzU4cywgcDk1MhIAFH0sIGZpbmajABA4MDUyMAFLoqMAGDg3NjAzNTUNlgWjHDgzLjgyNcK1DRQZqiA4ODgyNzc3cywZqhA4MDUxNAE+FaoNEllJQaAAM2FcJbQUbm90KGVxOZgcLCA2NykpLCABGBRpc251bGwZHAApIeoFfzYQBQgJMziRkWEBEDUJNl8zIdUIODAwXRVKfARhlwBlpWlSAwUgc2NoZW1hX2lkAeJGpwVF/gkeSWYIbWluFa0AODJhAgAxSrcACDIsIHZhAhQ0NzE2MzEhX16+AQAxSUlZYRQwMTY5NDYhgIF2Jb4cMjY5LjIxMsJGvwEUMDU0OTk4wVhRaRA0MTcwMQUSMb8REnppAhQ0OTQ1NjlqCwNCqgAUMTcyMzk2MgsDFDE1NC4wNU5pAhgxOTEwOTQxIYcEYXgh/RgxNDUwNjM0QdoVqg0SWWkANqHpDDM2CTBJCaXfJEhhc2hBZ2dfMzE9lAFZifAAMmHNAHCpEAAgNtwFEDUuNTZtYYMIcm9jTt0FADUBHaHRqd0MNTc2LAUPRbAQIDEuMTMlH8bfBTQsIFJlc29sdmVMb2NrOgGVHF9ycGM6MTU3gWzhAQlkLDUwNS45bXN9CTE5M90PADdhDgAxpbf+EAPOEANKOAMWWgh9IAA4JYw2+gUINS4zJW8pmN2IFDgJNDNfM4FFDDAJMTBh4mWIOoYGemoGYZCacAA=')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (67) order by processing desc, job_id;"] [2024/05/06 16:33:05.121 +08:00] [ERROR] [mvcc.go:1021] ["commit failed, no correspond lock found"] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6Njb/AAAAAAAAAAD3] ["start ts"=449572865679032320] [lock="{{0 0 0 0 0 false 0 false 0} [] [] []}"] [error="retryable: lock not found"] [stack="github.com/pingcap/tidb/store/mockstore/unistore/tikv.(*MVCCStore).Commit\n\tstore/mockstore/unistore/tikv/mvcc.go:1021\ngithub.com/pingcap/tidb/store/mockstore/unistore/tikv.(*Server).KvCommit\n\tstore/mockstore/unistore/tikv/server.go:366\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:183\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).sendReqToRegion\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1421\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReqCtx\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1177\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReq\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:234\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionCommit.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:98\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1036\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:969\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:788\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:222\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitTxn\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1701\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1692\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:33:05.125 +08:00] [WARN] [session.go:1025] ["can not retry txn"] [label=internal] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 16:33:05.126 +08:00] [WARN] [session.go:1041] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [2024/05/06 16:33:05.127 +08:00] [INFO] [job_table.go:255] ["[ddl] handle ddl job failed"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:01.218 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:05.172 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:01.218 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:05.310 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=337.682µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:05.325 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=301.132µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:05.348 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=287.637µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:05.364 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=317.042µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:05.381 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=285.817µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:05.397 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=275.438µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:05.412 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=414.003µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:05.429 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=289.282µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:05.441 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=324.62µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:05.470 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=313.485µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:05.965 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572866743074816] ["min commit ts"=449572866776891393] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6Njb/AAAAAAAAAAD3] [2024/05/06 16:33:05.965 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572866666528768] [info="{StartTs:449572866666528768 AttemptedCommitTs:449572866743074816 Key:6d44423a3100000000fb00000000000000685461626c653a3636ff0000000000000000f7 MinCommitTs:449572866776891393}"] [2024/05/06 16:33:05.970 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572866746744832\n# Query_time: 0.496189707\n# Parse_time: 0\n# Compile_time: 0.00469312\n# Rewrite_time: 0.000815859\n# Optimize_time: 0.001863603\n# Wait_TS: 0.000077406\n# Cop_time: 0.489200536 Process_time: 0.011 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.011 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 177\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000011616\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('3QPwfTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6NDg5LjZtcywgbG9vcHM6MSwgY29wX3Rhc2s6IHtudW06IDEsIG1heDogMTEuM21zLCBwcm9jX2tleXM6IDAsIHRvdF9wcm9jOiAxMW1zLCBycGNfbgE3JDQ0NiwgcnBjX3QBZxwgMjk4LjFtcwVf8HlyX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzo0NDUsIHRvdGFsX3RpbWU6MTE1Ljdtc30JMTc3IEJ5dGVzCU4vQQoxCTFfNgkxXzAJMy0NqGxlKG15c3FsLnRpZGJfbWRsX2luZm8udmVyc2lvbiwgMzIpCTAJdGlrdl8lCgR7dAHEBDExCcIAbCUqBDB9AV0BBFwKMgk0M181CTFfMAkxMDAwMAl0YWJsZToyXQB8LCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG+ucAA=')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 32;"] [2024/05/06 16:33:05.975 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572866776891392\n# Query_time: 0.396216764\n# Parse_time: 0\n# Compile_time: 0.017318235\n# Rewrite_time: 0.003073766\n# Optimize_time: 0.011498869\n# Wait_TS: 0.000085868\n# Cop_time: 0.365616349 Process_time: 0.001 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0005 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12631\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('yBO4MAkzXzEzCTAJMjI2My40OQlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwRnByb2Nlc3NpbmcJMAl0aW1lOjM3MC40bXMsIGxvb3BzOjEsIENvbmN1cnJlbmN5OjUJMTEuOCBLQglOL0EKMQkxNF8xNAkwboAAGWMUOmRlc2MsTocAFGpvYl9pZBWDDDY5LjgdgxwJMCBCeXRlcxEIHAoyCTE3XzI4HfhUaW5uZXIgam9pbiwgZXF1YWw6W2VxKFoOAThpZCwgQ29sdW1uIzE1KV0udwAANh13cCwgYnVpbGRfaGFzaF90YWJsZTp7dG90YWw6MS40BaAQZmV0Y2gVDgUuDDowc30RqBEIJAozCTMxXzQxKEIBUAApHbdAZGF0YTpTZWxlY3Rpb25fNDARjBg5ODAuNMK1LocBbGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuMjkBtiFoNF9rZXlzOiAwLCBycGNfEScBDCXcDCAxLjEFuZhjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb2419xwgMTV9CTE3MS2IGE4vQQo0CTEBsAQxX3J9AgxyZW9ySVsEa3YJvgB7BYoQOTg2Ljcd4AQwfQFVAQQcCjUJNDRfMzkFWhw2NjY2LjY3CSl+LtcC8DwsIHJhbmdlOlstaW5mLDY3KSwgKDY3LCtpbmZdLCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG8JQeuikAAsMwk2XzI5KFByb2JlIbw0NjQwMAlncm91cCBieTpVSEAsIGZ1bmNzOmZpcnN0cm93KBUaCCktPhUMMeAQMzY4LjEhtnVmTHBhcnRpYWxfd29ya2VyOnt3YWxsKbYgMzY3Ljg2ODM2BTEAYz2XCDUsIEESJelcMCwgdG90X3dhaXQ6MS44MzcxMzA4MDZzCRcUZXhlYzowDQ0lggUkGDMwMjUxMXNJSgFoEDYyNDExBWgIcDk1MhIAFH0sIGZpblqhABQ4LjExNDIJOaKhABA3MzYwMAF9AbgFoRg1NC4xNjjCQfcBFBmoFDgxNDYzOB2oEDU4MDM5Za0RqBESWUlBogAzYVIlshRub3QoZXE5lhwsIDY3KSksIAEYFGlzbnVsbBkcBCkpOagANzIOBQgJMziRjWEFEDUJNl8zIdUIODAwXRVKeARhngBlpWlSAQUgc2NoZW1hX2lkAeRGpwVlAAkeSWYIbWluFa8AODJhAgQxCSU3DDM2Ni6FF0lhBDIscmECHDYuNzM0ODk3QZJewAEAMUlKVWEUMDAwOTA1MsABHDIzMy43MDPCQsEBGDA0MDExOTQB3QRheAWcFDIyMTA1MwFwKcEANhUScmkCFDYuODg1N5HFAG6VoS4KAz6pABgxNTQ0MTQzTf1FaRgzMTMuMTY2RqkAFDE5MzI5MVlqFDYuNDM3MF1pFRFZaAA2od4MMzYJMEkGpdQkSGFzaEFnZ18zMT2RAe41jwhjb3CpEQAgPs8FBDgyASkIcHJvvc9hDwESBDogZZ2h0qXeCDM0OKnsJfUMIDIxNMnDzuEFNCwgUmVzb2x2ZUxvY2s6AZYcX3JwYzozNDcl+gBhjY8EOTeBugx9CTE5Lg8GADdhCgAxpbX+DAPODANKNAMWVAh9HAA4JYs2+AUAMSkvKZbdhRg4CTQzXzM0BdAEMTBh3WWDOoMGemcGYYuWbwA=')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (67) order by processing desc, job_id;"] [2024/05/06 16:33:05.977 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=4.827062ms] [phyTblIDs="[66]"] [actionTypes="[8]"] [2024/05/06 16:33:06.026 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:06.026 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=67] [version=34] [2024/05/06 16:33:06.027 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=60.529347ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:01.218 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:06.084 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:01.218 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:06.209 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=67] [2024/05/06 16:33:06.209 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:06.211 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 5.02046687\n# Parse_time: 0\n# Compile_time: 0.006421137\n# Rewrite_time: 0.000029084\n# Optimize_time: 0\n# Wait_TS: 0.000088493\n# DB: mysql\n# Is_internal: true\n# Digest: bfb9a3ff60c3c60c054a207c0a0db06c87e29edbe94005d8d5c89fe484f4f90a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.analyze_jobs ( id BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT, update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, table_schema CHAR(64) NOT NULL DEFAULT '', table_name CHAR(64) NOT NULL DEFAULT '', partition_name CHAR(64) NOT NULL DEFAULT '', job_info TEXT NOT NULL, processed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, start_time TIMESTAMP, end_time TIMESTAMP, state ENUM('pending', 'running', 'finished', 'failed') NOT NULL, fail_reason TEXT, instance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job', process_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job', PRIMARY KEY (id), KEY (update_time) );"] [2024/05/06 16:33:06.215 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=34] [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 16:33:06.268 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:06.243 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:06.269 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:06.243 +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 16:33:06.351 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:06.243 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:06.428 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=1.620687ms] [phyTblIDs="[68]"] [actionTypes="[8]"] [2024/05/06 16:33:06.476 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:06.476 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=69] [version=35] [2024/05/06 16:33:06.478 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=52.699996ms] [job="ID:69, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:06.243 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:06.529 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:06.243 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:06.626 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=69] [2024/05/06 16:33:06.626 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:06.628 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.4138177\n# Parse_time: 0\n# Compile_time: 0.001641083\n# Rewrite_time: 0.000011115\n# Optimize_time: 0\n# Wait_TS: 0.000085672\n# DB: mysql\n# Is_internal: true\n# Digest: 85d0480e8afeca7d94d07ca1a681df6c7f89f1fda753ceb6e02b51caf3714c1c\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.advisory_locks ( lock_name VARCHAR(64) NOT NULL PRIMARY KEY );"] [2024/05/06 16:33:06.742 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:06.669 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:06.742 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:33:06.669 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] [2024/05/06 16:33:06.809 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:06.669 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:06.958 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=2.508816ms] [phyTblIDs="[70]"] [actionTypes="[2097152]"] [2024/05/06 16:33:06.976 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:06.976 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=71] [version=36] [2024/05/06 16:33:06.976 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=26.507668ms] [job="ID:71, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:33:06.669 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:07.024 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:71, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:06.669 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:07.108 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=71] [2024/05/06 16:33:07.108 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:07.110 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.477094966\n# Parse_time: 0\n# Compile_time: 0.007021445\n# Rewrite_time: 0.00369416\n# Optimize_time: 0\n# Wait_TS: 0.000080793\n# DB: mysql\n# Is_internal: true\n# Digest: 812c81f344f5d0c8b8aedcb68ff1dca865b59104853273f7e66b8abff5429992\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE OR REPLACE VIEW mysql.tidb_mdl_view as ( select JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID );"] [2024/05/06 16:33:07.116 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [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 16:33:07.191 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:07.13 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:07.191 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:07.13 +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 16:33:07.265 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:07.13 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:07.412 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=2.635561ms] [phyTblIDs="[72]"] [actionTypes="[8]"] [2024/05/06 16:33:07.476 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:07.476 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=73] [version=37] [2024/05/06 16:33:07.476 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=78.193556ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:07.13 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:07.538 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:07.13 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:08.126 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572867309568000] ["min commit ts"=449572867405774850] [key=bURETEpvYkhp/3N0b3J5AAAA/AAAAAAAAABoAAAAAAAAAEn/AAAAAAAAAAD3] [2024/05/06 16:33:08.126 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572867281780736] [info="{StartTs:449572867281780736 AttemptedCommitTs:449572867309568000 Key:6d44444c4a6f624869ff73746f7279000000fc00000000000000680000000000000049ff0000000000000000f7 MinCommitTs:449572867405774850}"] [2024/05/06 16:33:08.140 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572867307732992\n# Query_time: 0.538252888\n# Parse_time: 0\n# Compile_time: 0.018847258\n# Rewrite_time: 0.003131139\n# Optimize_time: 0.011569866\n# Wait_TS: 0.000096892\n# Cop_time: 0.489734572 Process_time: 0.002 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.001 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12631\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('1RO4MAkzXzEzCTAJMjI2Ny40OAlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwRnByb2Nlc3NpbmcJMAl0aW1lOjQ5NC4xbXMsIGxvb3BzOjEsIENvbmN1cnJlbmN5OjUJMTEuOCBLQglOL0EKMQkxNF8xNAkwboAAGWMUOmRlc2MsTocAFGpvYl9pZBmDCDMuNR2DHAkwIEJ5dGVzEQgcCjIJMTdfMjgd+FRpbm5lciBqb2luLCBlcXVhbDpbZXEoWg4BOGlkLCBDb2x1bW4jMTUpXS53ADb6AJBidWlsZF9oYXNoX3RhYmxlOnt0b3RhbDo3MTDCtXMsIGZldGNoFQ4FLgw6MHN9EagRCCQKMwkzMV80MShCAVAAKR23QGRhdGE6U2VsZWN0aW9uXzQwFYwMMzAuNAVkNYdsY29wX3Rhc2s6IHtudW06IDEsIG1heDogMS41MiEtIWg0X2tleXM6IDAsIHRvdF8BEgQ6IAXTDHJwY18RNgEMJesQIDEuMzkBO5hjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25VBhwgMTV9CTE3NS2XGE4vQQo0CTEBvwQxX3KMAgxyZW9ySWoEa3YJzQB7BYoMMS4xOAGJCe0EMH0BUwEEHAo1CTQ0XzM5BVgcNjY2Ni42Nwkpiy7kAvA8LCByYW5nZTpbLWluZiw3MyksICg3MywraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCUH4mo4ALDMJNl8yOShQcm9iZSHHNDY0MDAJZ3JvdXAgYnk6VVNALCBmdW5jczpmaXJzdHJvdygVGggpLT4VDDXrDDkyLjMZ/VgxLCBwYXJ0aWFsX3dvcmtlcjp7d2FsbCmyASwUMDkwMzg3ATEAYz2TCDUsIEEdJeUt/0B3YWl0OjIuNDU4NDIxMTcxc0kWFGV4ZWM6MA0NJX4FJBg1NTMwNzhzSVUgNDkxLjc2MDc0BZkIcDk1MhIAFH0sIGZpbmKhABAyMTU4MkWTnqEAEDkzNTc0BX1BtwWhADUh6wQ3wmFmARQVqBg5NDQwOTYyHagQOTQyMDIlEBGoERJZRxA0CTFfM2FdJbIUbm90KGVxOZYcLCA3MykpLCABGBRpc251bGwZHAApIegFfiUUIXdJpQwxCTM4kZhhARA1CTZfMyHVCDgwMF0VSoMEYZcAZaV0UgwFIHNjaGVtYV9pZAHkRrIFRf4JHklmCG1pbhWvADgyYQIAMRm5JY8JuQAydmECFDEuMDMwOQUwXr8BADFJSVVgFDI0MDY0MSGUIaslvxwyNDcuMjgzwkLAARQyNzY1NTVBjIG9IDQ5MC42NTI1MKXvKcAZEnJoAhgxLjE1Mzk2IZGeqAAYNDIyMDI5NE37CagUMDkuNjE5RqgAFDQ0NzExMyGDBGF4BacUOTUyNzA0AW8RpxESWWcANqHoDDM2CTBJBaXeJEhhc2hBZ2dfMzE5kAAwOpABZtsFADYpGQhyb2OG2wUMNDkwLL3dCDI3Nglnzt4FNCwgUmVzb2x2ZUxvY2s6wXEcX3JwYzo0ODkl/ABhjZAAMcFAEH0JMTkx3QsAN2EKADGls/4MA84MA0o0AxZfCH0cADgljD72BQA05StpJt2EGDgJNDNfMzQF0QQxMGHeZYQ6ggZ6ZgZhjJpwAA==')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (73) order by processing desc, job_id;"] [2024/05/06 16:33:08.152 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=73] [2024/05/06 16:33:08.153 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:08.155 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.041195004\n# Parse_time: 0\n# Compile_time: 0.002607043\n# Rewrite_time: 0.000011832\n# Optimize_time: 0\n# Wait_TS: 0.000100934\n# DB: mysql\n# Is_internal: true\n# Digest: 3d2f349b1c68ee2b30e34bad8bb3838af6c40d7a26072b2d29d801d7fedbac48\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.plan_replayer_status ( sql_digest VARCHAR(128), plan_digest VARCHAR(128), origin_sql TEXT, token VARCHAR(128), update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fail_reason TEXT, instance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 16:33:08.160 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [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 16:33:08.227 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:08.173 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:08.227 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:08.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 16:33:08.305 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:08.173 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:08.408 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=2.155211ms] [phyTblIDs="[74]"] [actionTypes="[8]"] [2024/05/06 16:33:08.426 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:08.426 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=75] [version=38] [2024/05/06 16:33:08.426 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=38] ["take time"=30.898888ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:08.173 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:08.492 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:08.173 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:08.559 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=75] [2024/05/06 16:33:08.562 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:08.563 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.405762506\n# Parse_time: 0\n# Compile_time: 0.002202434\n# Rewrite_time: 0.000016125\n# Optimize_time: 0\n# Wait_TS: 0.000078534\n# DB: mysql\n# Is_internal: true\n# Digest: 8d9754df14c826803fed84f1ae3eb8fc9729e76a793b6be6bf25967f1929d039\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.plan_replayer_task ( sql_digest VARCHAR(128) NOT NULL, plan_digest VARCHAR(128) NOT NULL, update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 16:33:08.571 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [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 16:33:08.642 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:08.594 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:08.643 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:08.594 +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 16:33:08.696 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:08.594 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:08.802 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=1.862314ms] [phyTblIDs="[76]"] [actionTypes="[8]"] [2024/05/06 16:33:08.826 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:08.826 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=77] [version=39] [2024/05/06 16:33:08.828 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=39] ["take time"=38.351684ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:08.594 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:08.900 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:08.594 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:08.976 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=77] [2024/05/06 16:33:08.976 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:08.977 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.410015428\n# Parse_time: 0\n# Compile_time: 0.003455244\n# Rewrite_time: 0.000012544\n# Optimize_time: 0\n# Wait_TS: 0.000077749\n# DB: mysql\n# Is_internal: true\n# Digest: b57fdc4b14aba5f29d915d04e5e4557f60a758fd65ec571368527cd45c6ef82a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_table_locked( table_id bigint(64) NOT NULL, modify_count bigint(64) NOT NULL DEFAULT 0, count bigint(64) NOT NULL DEFAULT 0, version bigint(64) UNSIGNED NOT NULL DEFAULT 0, PRIMARY KEY (table_id));"] [2024/05/06 16:33:08.987 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [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 16:33:08.996 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=14.223573ms] [2024/05/06 16:33:09.113 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:09.006 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:09.113 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:09.006 +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 16:33:09.181 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:09.006 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:09.428 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=4.400019ms] [phyTblIDs="[78]"] [actionTypes="[8]"] [2024/05/06 16:33:09.476 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:09.476 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=79] [version=40] [2024/05/06 16:33:09.476 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=40] ["take time"=64.031502ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:09.006 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:09.531 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:09.006 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:09.666 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=79] [2024/05/06 16:33:09.667 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:09.669 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.685445868\n# Parse_time: 0\n# Compile_time: 0.003528584\n# Rewrite_time: 0.000025991\n# Optimize_time: 0\n# Wait_TS: 0.000064639\n# DB: mysql\n# Is_internal: true\n# Digest: a30bd3c3a49070c554e65922e84c6b76e646842e3925a859fcde73941a7cb423\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status ( table_id bigint(64) PRIMARY KEY, parent_table_id bigint(64), table_statistics text DEFAULT NULL, last_job_id varchar(64) DEFAULT NULL, last_job_start_time timestamp NULL DEFAULT NULL, last_job_finish_time timestamp NULL DEFAULT NULL, last_job_ttl_expire timestamp NULL DEFAULT NULL, last_job_summary text DEFAULT NULL, current_job_id varchar(64) DEFAULT NULL, current_job_owner_id varchar(64) DEFAULT NULL, current_job_owner_addr varchar(256) DEFAULT NULL, current_job_owner_hb_time timestamp, current_job_start_time timestamp NULL DEFAULT NULL, current_job_ttl_expire timestamp NULL DEFAULT NULL, current_job_state text DEFAULT NULL, current_job_status varchar(64) DEFAULT NULL, current_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 16:33:10.342 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=10.721948ms] [2024/05/06 16:33:10.500 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572867845914624\n# Query_time: 0.564224687\n# Parse_time: 0\n# Compile_time: 0.242594572\n# Rewrite_time: 0.006696175\n# Optimize_time: 0\n# Wait_TS: 0.000122917\n# DB: mysql\n# Is_internal: true\n# Digest: ca2019e08a331284bd0c64be228a0537fcf9f5983e95d94b67ef42dcb8f54385\n# Num_cop_tasks: 0\n# Mem_max: 350789\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: true\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('oAPwPDAJMjdfMQkwCTAJTi9BCTAJdGltZTozMDcuNW1zLCBsb29wczoxLCBwcmVwYXJlOiB7dG90YWw6IDU2LjkBIkxhdXRvX2lkX2FsbG9jYXRvcjogewUMZF9jbnQ6IDEsIEdldDp7bnVtX3JwYzo0LCB0AUEAXwVouDQ3Mi4ywrVzfSwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjUwMi4xwrVzLCBnZXRfESQIczoyCRUJERA6NTE3wgEkHHNsb3dlc3RfET8FcgQgewVxaDogMC4wMDBzLCByZWdpb25faWQ6IDIsIHN0bwHXBQcIMSwgGYoYcHJpbWFyedZEAA1kGG51bToxLCAFzBBfa2V5cxkOmGJ5dGU6MzJ9fX0sIGluc2VydDoyNTAuNm1zCTk0LjYgS0IJTi9BCg==')\nINSERT HIGH_PRIORITY INTO mysql.GLOBAL_VARIABLES VALUES (\"innodb_replication_delay\", \"0\"), (\"max_execution_time\", \"0\"), (\"innodb_stats_persistent\", \"ON\"), (\"tidb_opt_insubq_to_join_and_agg\", \"ON\"), (\"tidb_track_aggregate_memory_usage\", \"ON\"), (\"tidb_ttl_scan_worker_count\", \"4\"), (\"sql_log_off\", \"0\"), (\"tidb_table_cache_lease\", \"3\"), (\"time_zone\", \"SYSTEM\"), (\"tidb_stmt_summary_max_sql_length\", \"4096\"), (\"tidb_skip_isolation_level_check\", \"OFF\"), (\"tiflash_fine_grained_shuffle_stream_count\", \"0\"), (\"myisam_max_sort_file_size\", \"9223372036853727232\"), (\"mysql_native_password_proxy_users\", \"\"), (\"rpl_semi_sync_master_wait_for_slave_count\", \"1\"), (\"query_cache_wlock_invalidate\", \"OFF\"), (\"innodb_flush_log_at_trx_commit\", \"1\"), (\"session_track_system_variables\", \"\"), (\"sql_select_limit\", \"18446744073709551615\"), (\"innodb_api_trx_level\", \"0\"), (\"tidb_opt_agg_push_down\", \"OFF\"), (\"tidb_window_concurrency\", \"-1\"), (\"innodb_ft_enable_stopword\", \"ON\"), (\"long_query_time\", \"10.000000\"), (\"max_connect_errors\", \"100\"), (\"query_cache_limit\", \"1048576\"), (\"tidb_index_serial_scan_concurrency\", \"1\"), (\"flush_time\", \"0\"), (\"sync_relay_log\", \"10000\"), (\"innodb_fill_factor\", \"\"), (\"tidb_gc_life_time\", \"10m0s\"), (\"disconnect_on_expired_password\", \"ON\"), (\"tidb_enable_tiflash_read_for_write_stmt\", \"OFF\"), (\"tidb_tmp_table_max_size\", \"67108864\"), (\"sync_master_info\", \"10000\"), (\"group_concat_max_len\", \"1024\"), (\"information_schema_stats_expiry\", \"86400\"), (\"div_precision_increment\", \"4\"), (\"debug\", \"\"), (\"innodb_stats_auto_recalc\", \"1\"), (\"validate_password.length\", \"8\"), (\"rpl_semi_sync_master_enabled\", \"OFF\"), (\"tidb_enable_new_only_full_group_by_check\", \"OFF\"), (\"sync_binlog\", \"0\"), (\"range_alloc_block_size\", \"4096\"), (\"tidb_query_log_max_len\", \"4096\"), (\"max_statement_time\", \"\"), (\"tidb_merge_join_concurrency\", \"1\"), (\"innodb_file_format_max\", \"Antelope\"), (\"max_allowed_packet\", \"67108864\"), (\"min_examined_row_limit\", \"0\"), (\"tidb_opt_fix_control\", \"\"), (\"optimizer_trace_limit\", \"1\"), (\"tidb_enable_ordered_result_mode\", \"OFF\"), (\"tidb_enable_stmt_summary\", \"ON\"), (\"innodb_flushing_avg_loops\", \"30\"), (\"require_secure_transport\", \"OFF\"), (\"expire_logs_days\", \"0\"), (\"tiflash_fastscan\", \"OFF\"), (\"tidb_enable_null_aware_anti_join\", \"OFF\"), (\"tidb_opt_concurrency_factor\", \"3\"), (\"tidb_enable_tso_follower_proxy\", \"OFF\"), (\"tidb_enable_noop_functions\", \"OFF\"), (\"ndb_log_updated_only\", \"\"), (\"low_priority_updates\", \"OFF\"), (\"innodb_io_capacity_max\", \"2000\"), (\"collation_connection\", \"utf8mb4_bin\"), (\"binlog_error_action\", \"IGNORE_ERROR\"), (\"innodb_lock_wait_timeout\", \"50\"), (\"tidb_opt_cpu_factor\", \"3\"), (\"tidb_analyze_version\", \"2\"), (\"tidb_hashagg_partial_concurrency\", \"-1\"), (\"ndb_distribution\", \"\"), (\"tidb_gc_scan_lock_mode\", \"LEGACY\"), (\"tidb_prepared_plan_cache_memory_guard_ratio\", \"0.1\"), (\"tidb_txn_mode\", \"pessimistic\"), (\"binlog_order_commits\", \"ON\"), (\"character_set_client\", \"utf8mb4\"), (\"delay_key_write\", \"ON\"), (\"max_binlog_cache_size\", \"18446744073709547520\"), (\"optimizer_trace_offset\", \"-1\"), (\"tidb_regard_null_as_point\", \"ON\"), (\"tidb_replica_read\", \"leader\"), (\"innodb_concurrency_tickets\", \"5000\"), (\"binlog_stmt_cache_size\", \"32768\"), (\"tidb_enable_local_txn\", \"OFF\"), (\"max_binlog_size\", \"1073741824\"), (\"tidb_enable_fast_analyze\", \"OFF\"), (\"character_set_database\", \"utf8mb4\"), (\"ndb_force_send\", \"\"), (\"tidb_source_id\", \"1\"), (\"skip_name_resolve\", \"OFF\"), (\"optimizer_trace_features\", \"greedy_search=on,range_optimizer=on,dynamic_range=on,repeated_subselect=on\"), (\"tx_isolation\", \"REPEATABLE-READ\"), (\"tidb_committer_concurrency\", \"128\"), (\"tidb_enable_auto_analyze\", \"OFF\"), (\"completion_type\", \"NO_CHAIN\"), (\"query_prealloc_size\", \"8192\"), (\"eq_range_index_dive_limit\", \"200\"), (\"binlog_cache_size\", \"32768\"), (\"tidb_opt_advanced_join_hint\", \"OFF\"), (\"binlog_group_commit_sync_no_delay_count\", \"\"), (\"character_set_filesystem\", \"binary\"), (\"tidb_min_paging_size\", \"128\"), (\"tidb_analyze_partition_concurrency\", \"1\"), (\"bulk_insert_buffer_size\", \"8388608\"), (\"collation_server\", \"utf8mb4_bin\"), (\"host_cache_size\", \"279\"), (\"autocommit\", \"ON\"), ((len:21519);"] [2024/05/06 16:33:10.784 +08:00] [INFO] [bootstrap.go:529] ["bootstrap successful"] ["take time"=32.207808957s] [2024/05/06 16:33:10.789 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:33:10.789 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 13, tp add index"] ["take time"=29.89µs] [2024/05/06 16:33:10.789 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 4, tp add index"] ["take time"=23.148µs] [2024/05/06 16:33:10.789 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 5, tp add index"] ["take time"=20.989µs] [2024/05/06 16:33:10.789 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 6, tp add index"] ["take time"=19.249µs] [2024/05/06 16:33:10.789 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 7, tp add index"] ["take time"=32.015µs] [2024/05/06 16:33:10.789 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 8, tp add index"] ["take time"=19.274µs] [2024/05/06 16:33:10.789 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 9, tp add index"] ["take time"=13.669µs] [2024/05/06 16:33:10.789 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 10, tp add index"] ["take time"=18.283µs] [2024/05/06 16:33:10.790 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 11, tp add index"] ["take time"=13.894µs] [2024/05/06 16:33:10.790 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 12, tp add index"] ["take time"=19.091µs] [2024/05/06 16:33:10.790 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:33:10.790 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 3, tp general"] ["take time"=15.154µs] [2024/05/06 16:33:10.790 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 1, tp general"] ["take time"=2.163µs] [2024/05/06 16:33:10.790 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 2, tp add index"] ["take time"=2.208µs] [2024/05/06 16:33:10.790 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:33:10.790 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:33:10.809 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=b79dcda6-7f50-4c9b-8092-9fd7d7e49eab] ["take time"=20.787843ms] [2024/05/06 16:33:10.809 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=b79dcda6-7f50-4c9b-8092-9fd7d7e49eab] [2024/05/06 16:33:10.809 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:33:10.809 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:33:10.809 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:33:10.810 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:33:10.810 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:33:10.820 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:33:10.821 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=32.31548ms] [2024/05/06 16:33:10.821 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=3e7a490e-17a8-4fc0-8ac6-ff58a9c5437d] ["ddl lease"=20ms] ["stats lease"=3s] ["index usage sync lease"=0s] [2024/05/06 16:33:10.927 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=40] ["start time"=104.415918ms] [2024/05/06 16:33:10.933 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:33:10.934 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=111.825442ms] [2024/05/06 16:33:10.934 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=137deb46-ebf9-41dc-b239-b60eb96e7eff] [runWorker=true] [2024/05/06 16:33:10.937 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:33:10.937 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:33:10.937 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 14, tp general"] [2024/05/06 16:33:10.937 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 15, tp add index"] [2024/05/06 16:33:10.940 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:33:10.941 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:33:10.941 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:33:10.941 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:33:11.010 +08:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 16:33:11.393 +08:00] [INFO] [domain.go:1944] ["init stats info time"] ["take time"=72.30083ms] [2024/05/06 16:33:11.849 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572868283170816\n# Conn_ID: 1\n# Query_time: 0.51202649\n# Parse_time: 0.001166869\n# Compile_time: 0.002294497\n# Rewrite_time: 0\n# Optimize_time: 0\n# Wait_TS: 0.000104604\n# Prewrite_time: 0.000495402 Commit_time: 0.003672089 Get_commit_ts_time: 0.000020599 Slowest_prewrite_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 88 Prewrite_region: 1\n# Index_names: [tidb:PRIMARY]\n# Is_internal: false\n# Digest: 03cfdb54af8fa489f6720a515bd5a7f7a1a9b2a7410e045497c1df79b055a522\n# Num_cop_tasks: 0\n# Mem_max: 8788\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('qQPwTDAJMjhfMwkwCTAJTi9BCTAJdGltZToxLjkxbXMsIGxvb3BzOjEsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo0OTUuNMK1cywgZ2V0X2NvCSQgczoyMC42wrVzETcQOjMuNjcBTyBzbG93ZXN0X3ANQehfcnBjOiB7dG90YWw6IDAuMDAwcywgcmVnaW9uX2lkOiAyLCBzdG9yZTogc3RvcmUxLCB9LCBjb21taQFFEGltYXJ5RkQAADSKRAANZAhudW0B3gXOEF9rZXlzGQ7wSWJ5dGU6ODh9CTU5NiBCeXRlcwlOL0EKMQkzNl8xCTAJMQl0YWJsZTp0aWRiLCBpbmRleDpQUklNQVJZKFZBUklBQkxFX05BTUUpASshVQg4NjElFSlVKDIsIEdldDp7bnVtBcMMMiwgdCEIAF8FLEQyOTcuNsK1c30JTi9BCU4vQQo=')\n# Plan_digest: 7cee07289863e5f61e4232bca41716bc770459d034fbfc8d76dbf75f905ed96b\n# Binary_plan: tidb_decode_binary_plan('1QN4CtADCghVcGRhdGVfMxKZAQoLUG9pbnRfR2V0XzEpAAUB8H3wPzABOAFAAUopCicKBW15c3FsEgR0aWRiGhgKB1BSSU1BUlkSDVZBUklBQkxFX05BTUVaFHRpbWU6ODYxwrVzLCBsb29wczoyYiRHZXQ6e251bV9ycGM6MiwgdG90YWxfdGltZToyOTcuNsK1c31w////////////AXj///8JDAWBEFIDTi9BDVsQMS45MW0VW3gxYvoBY29tbWl0X3R4bjoge3ByZXdyaXRlOjQ5NS40BYUMZ2V0XxEkEHM6MjAuAW4ELCAJExA6My42NwFQHHNsb3dlc3RfEUEFqpAge3RvdGFsOiAwLjAwMHMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6CQcMMSwgfRFVHF9wcmltYXJ5RkQAADSKRAANZBhudW06MSwgBc4QX2tleXMZDlxieXRlOjg4fXDUBHj///////////8BGAE=')\nupdate mysql.tidb set variable_value='72' where variable_name='tidb_server_version';"] [2024/05/06 16:33:11.916 +08:00] [INFO] [set.go:160] ["set global var"] [conn=1] [name=tidb_stmt_summary_max_stmt_count] [val=200] [2024/05/06 16:33:11.943 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:33:11.944 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:33:11.946 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 14, tp general"] ["take time"=5.887µs] [2024/05/06 16:33:11.946 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 15, tp add index"] ["take time"=3.006µs] [2024/05/06 16:33:11.946 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:33:11.947 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:33:11.947 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=137deb46-ebf9-41dc-b239-b60eb96e7eff] ["take time"=24.188114ms] [2024/05/06 16:33:11.947 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=137deb46-ebf9-41dc-b239-b60eb96e7eff] [2024/05/06 16:33:11.948 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:33:11.948 +08:00] [INFO] [domain.go:1748] ["dumpFileGcChecker exited."] [2024/05/06 16:33:11.948 +08:00] [INFO] [domain.go:1959] ["loadStatsWorker exited."] [2024/05/06 16:33:11.948 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:33:11.949 +08:00] [INFO] [domain.go:2124] ["gcAnalyzeHistory exited."] [2024/05/06 16:33:11.949 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:33:11.949 +08:00] [INFO] [domain.go:2038] ["updateStatsWorker exited."] [2024/05/06 16:33:11.949 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:33:11.949 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:33:11.949 +08:00] [INFO] [domain.go:2103] ["autoAnalyzeWorker exited."] [2024/05/06 16:33:11.949 +08:00] [INFO] [domain.go:1721] ["PlanReplayerTaskDumpHandle exited."] [2024/05/06 16:33:11.949 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:33:11.949 +08:00] [INFO] [domain.go:1779] ["HistoricalStatsWorker exited."] [2024/05/06 16:33:11.949 +08:00] [INFO] [domain.go:1444] ["LoadSysVarCacheLoop exited."] [2024/05/06 16:33:11.949 +08:00] [INFO] [domain.go:1703] ["PlanReplayerTaskCollectHandle exited."] [2024/05/06 16:33:11.949 +08:00] [INFO] [domain.go:1394] ["loadPrivilegeInLoop exited."] [2024/05/06 16:33:11.949 +08:00] [INFO] [domain.go:1525] ["globalBindHandleWorkerLoop exited."] [2024/05/06 16:33:11.949 +08:00] [INFO] [domain.go:1569] ["handleEvolvePlanTasksLoop exited."] [2024/05/06 16:33:11.949 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:33:11.949 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:33:11.949 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:33:11.950 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:33:11.956 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:33:11.957 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=33.755427ms] [2024/05/06 16:33:11.958 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=3e7a490e-17a8-4fc0-8ac6-ff58a9c5437d] ["ddl lease"=20ms] ["stats lease"=3s] ["index usage sync lease"=0s] [2024/05/06 16:33:12.070 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=40] ["start time"=110.92027ms] [2024/05/06 16:33:12.077 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:33:12.077 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=118.262946ms] [2024/05/06 16:33:12.077 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=6a86f410-54a4-4bd2-b4b4-4e3f7117eb5c] [runWorker=true] [2024/05/06 16:33:12.078 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:33:12.078 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:33:12.079 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 16, tp general"] [2024/05/06 16:33:12.080 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 17, tp add index"] [2024/05/06 16:33:12.082 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:33:12.084 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:33:12.084 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:33:12.085 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:33:12.090 +08:00] [INFO] [bootstrap.go:995] ["Waiting for the DDL owner to be elected in the cluster"] [2024/05/06 16:33:12.197 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=] [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 16:33:12.229 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=] [sql="ALTER TABLE mysql.user MODIFY COLUMN Host CHAR(255)"] [user=] [2024/05/06 16:33:12.277 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:80, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:5, start time: 2024-05-06 16:33:12.24 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:33:12.278 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:80, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:5, start time: 2024-05-06 16:33:12.24 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.user MODIFY COLUMN Host CHAR(255)"] [2024/05/06 16:33:13.195 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:80, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:12.24 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:13.460 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=13.778228ms] [2024/05/06 16:33:13.618 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=11.515231ms] [phyTblIDs="[4]"] [actionTypes="[4096]"] [2024/05/06 16:33:13.618 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=21.663303ms] [2024/05/06 16:33:13.636 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:13.636 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=80] [version=41] [2024/05/06 16:33:13.637 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=41] ["take time"=48.781181ms] [job="ID:80, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:12.24 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:13.701 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=80] [jobType="modify column"] [2024/05/06 16:33:13.709 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:80, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:12.24 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:14.085 +08:00] [INFO] [info.go:1114] [SetTiFlashGroupConfig] [2024/05/06 16:33:14.103 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=80] [2024/05/06 16:33:14.104 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:14.116 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.889209384\n# Parse_time: 0\n# Compile_time: 0.001697919\n# Rewrite_time: 0.000018793\n# Optimize_time: 0\n# Wait_TS: 0.000094962\n# Is_internal: true\n# Digest: 3f37c020cccf830b235092d0307417f140e2b7ec6ce7fe342443460ccf02a37a\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.user MODIFY COLUMN Host CHAR(255);"] [2024/05/06 16:33:14.124 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=] [sql="ALTER TABLE mysql.global_priv MODIFY COLUMN Host CHAR(255)"] [user=] [2024/05/06 16:33:14.167 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:81, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:5, start time: 2024-05-06 16:33:14.139 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:33:14.167 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:81, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:5, start time: 2024-05-06 16:33:14.139 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.global_priv MODIFY COLUMN Host CHAR(255)"] [2024/05/06 16:33:14.749 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572869034213376\n# Query_time: 0.544735168\n# Parse_time: 0\n# Compile_time: 0.001726464\n# Rewrite_time: 0.003547445\n# Optimize_time: 0.005615211\n# Wait_TS: 0.000092573\n# Prewrite_time: 0.005160793 Commit_time: 0.000787418 Get_commit_ts_time: 0.000030296 Slowest_prewrite_rpc_detail: {total:0.005s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.005s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 1209 Prewrite_region: 1\n# Is_internal: true\n# Digest: bb9a0484a27cea37dfc9b79800bc11ddc72f4ac11810a6eb126d600a567ce029\n# Num_cop_tasks: 0\n# Mem_max: 10391\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('oAPwQDAJMjhfMwkwCTAJTi9BCTAJdGltZToxLjgxbXMsIGxvb3BzOjEsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo1LjE2AScMZ2V0XxEiIHM6MzAuM8K1cxE1FDo3ODcuNAURIHNsb3dlc3RfcA1B6F9ycGM6IHt0b3RhbDogMC4wMDVzLCByZWdpb25faWQ6IDIsIHN0b3JlOiBzdG9yZTEsIH0sIGNvbW1pAUUQaW1hcnlGRAAAMYpEAA1kCG51bQHeBc4QX2tleXMZDvA+Ynl0ZToxMjA5fQkyLjE1IEtCCU4vQQoxCTM2XzEJMAkxCXRhYmxlOnRpZGJfZGRsX2pvYiwgaGFuZGxlOjgxASAhSgg2OTgtDilMKDIsIEdldDp7bnVtBboMMSwgdAH/AF8FLkQyNzcuNcK1c30JTi9BCU4vQQo=')\n# Plan_digest: 3fea32741ba131a439f08d925bc0d60ce688c732cc613c6d3625da6592028edc\n# Binary_plan: tidb_decode_binary_plan('0gN4Cs0DCghVcGRhdGVfMxKUAQoLUG9pbnRfR2V0XzEpAAUB8HXwPzABOAFAAUoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSCWhhbmRsZTo4MVoWdGltZTo2OTguM8K1cywgbG9vcHM6MmIkR2V0OntudW1fcnBjOjEsIHRvdGFsX3RpbWU6Mjc3LjXCtXN9cP///////////wF4CQgI////BXwYUgNOL0FaFAUvHDEuODFtcywgCVt0MWL8AWNvbW1pdF90eG46IHtwcmV3cml0ZTo1LjE2ASgMZ2V0XxEiEHM6MzAuCZoJExg6Nzg3LjTCAascc2xvd2VzdF8RQRhfcnBjOiB7Bal0OiAwLjAwNXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6CQcQMSwgfSwNVxxfcHJpbWFyeUZEAAAxikQADWQYbnVtOjEsIAXOEF9rZXlzGQ5kYnl0ZToxMjA5fXCXEXj///////////8BGAE=')\nupdate mysql.tidb_ddl_job set processing = 1 where job_id = 81;"] [2024/05/06 16:33:14.751 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:81, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:14.139 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:14.822 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=2.0902ms] [phyTblIDs="[8]"] [actionTypes="[4096]"] [2024/05/06 16:33:14.885 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:14.885 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=81] [version=42] [2024/05/06 16:33:14.887 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=42] ["take time"=72.449984ms] [job="ID:81, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:14.139 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:15.392 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572869214306304] ["min commit ts"=449572869217189889] [key="dIAA///////7X3KAAAAAAAAAUQ=="] [2024/05/06 16:33:15.392 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572869213782016] [info="{StartTs:449572869213782016 AttemptedCommitTs:449572869214306304 Key:748000fffffffffffb5f728000000000000051 MinCommitTs:449572869217189889}"] [2024/05/06 16:33:15.396 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572869213782016\n# Query_time: 0.507308098\n# Parse_time: 0\n# Compile_time: 0.001121216\n# Rewrite_time: 0\n# Optimize_time: 0\n# Wait_TS: 0.000064479\n# Prewrite_time: 0.000486307 Commit_time: 0.003373917 Get_commit_ts_time: 0.000018627 Slowest_prewrite_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 19 Prewrite_region: 1\n# Is_internal: true\n# Digest: bdab55af0288282745b06ae511bf5258d90e46fca67dd2e2ef0faca225d2d599\n# Num_cop_tasks: 0\n# Mem_max: 8587\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('owPwQzAJMjlfMgkwCTAJTi9BCTAJdGltZTo3NDEuN8K1cywgbG9vcHM6MSwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjQ4Ni4zBSkMZ2V0XxEkFHM6MTguNgUXCRNEOjMuMzdtcywgc2xvd2VzdF9wDUHQX3JwYzoge3RvdGFsOiAwLjAwMHMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwNVRxfcHJpbWFyeUZEAAAzikQADWQIbnVtAd4FzhBfa2V5cxkO8ENieXRlOjE5fQkzOTUgQnl0ZXMJTi9BCjEJMzZfMQkwCTEJdGFibGU6dGlkYl9tZGxfaW5mbywgaGFuZGxlOjgxCTEJdCFNFDMzMy44wjlNODIsIEdldDp7bnVtX3JwYwFxAHQhAABfJXtEMTIzLjXCtXN9CU4vQQlOL0EK')\n# Plan_digest: ca2b8c61a8ea82f17bacb18dbe38cd4b008fc18663d28963f5ced78ed80210d7\n# Binary_plan: tidb_decode_binary_plan('0wN4Cs4DCghEZWxldGVfMhKVAQoLUG9pbnRfR2V0XzEpAAUB8HnwPzABOAFAAUoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUgloYW5kbGU6ODFaFnRpbWU6MzMzLjjCtXMsIGxvb3BzOjJiJEdldDp7bnVtX3JwYzoxLCB0b3RhbF90aW1lOjEyMy41wrVzfXD///////////8BeP///wkMBX0QUgNOL0ENXRA3NDEuNx1deDFi+gFjb21taXRfdHhuOiB7cHJld3JpdGU6NDg2LjMFKgxnZXRfESQUczoxOC42BRcJE0A6My4zN21zLCBzbG93ZXN0XxFBAF8BrJAge3RvdGFsOiAwLjAwMHMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6CQcQMSwgfSwNVRxfcHJpbWFyeUZEAAAzikQADWQYbnVtOjEsIAXOEF9rZXlzGQ5cYnl0ZToxOX1wiwN4////////////ARgB')\ndelete from mysql.tidb_mdl_info where job_id = 81;"] [2024/05/06 16:33:15.402 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572869217189888\n# Query_time: 0.502031028\n# Parse_time: 0\n# Compile_time: 0.005317854\n# Rewrite_time: 0.001027202\n# Optimize_time: 0.00193358\n# Wait_TS: 0.00009526\n# Cop_time: 0.49329312 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 187\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000011454\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2wP0PgEwCTMxXzcJMAkzMzIzLjMzCWRhdGE6U2VsZWN0aW9uXzYJMQl0aW1lOjQ5My44bXMsIGxvb3BzOjIsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuNzltcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMW1zLCBycGNfbnVtOiA1MTYsIHJwY190aW1lOiAzMTQuNW1zLCBjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzo1MTUsIHRvdGFsX3RpbWU6OTQuMm1zfQkxODcgQnl0ZXMJTi9BCjEJMV82CTFfMAkzMzIzLjMzCWxlKG15c3FsLnRpZGJfbWRsX2luZm8udmVyc2lvbiwgNDIpJR4Ia3ZfJQgEe3QhKQgxLjQ9KBQwfQlOL0EBBBgKMgk0M181BWJEMTAwMDAJdGFibGU6dGlkYl9tDV18LCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG+ucAA=')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('yQSYCsQECg1UYWJsZVJlYWRlcl83EqACCgtTZWxlY3Rpb25fNhKbAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBxAIjDQDABOAJAAkoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUh5rZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG9qIHRpa3ZfdGFzazp7dGltZToxLjQ4bXMsIGxvb3BzOjB9cP///////////wF4CQgM////AQWKLIBPIkEpq6qqqqr2qQ2KEFIjbGUoBYkALjKIADAudmVyc2lvbiwgNDIp4nUAHKuqqqrqc+ZALnUAJAFAAVIQZGF0YTo9PShaFXRpbWU6NDkzLh3NGDJiwAFjb3AJ7qAge251bTogMSwgbWF4OiAxLjc5bXMsIHByb2Nfa2V5czogMCwgdG90XwESCDogMQEdDHJwY18FNgw1MTYsBQ4FZxQgMzE0LjUBIfBxY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6e251bV9ycGM6NTE1LCB0b3RhbF90aW1lOjk0LjJtc31wuwF4////////////ARgB')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 42;"] [2024/05/06 16:33:15.437 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=81] [jobType="modify column"] [2024/05/06 16:33:15.442 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:81, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:14.139 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:15.552 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=81] [2024/05/06 16:33:15.552 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:15.553 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.430329257\n# Parse_time: 0\n# Compile_time: 0.00112725\n# Rewrite_time: 0.0000154\n# Optimize_time: 0\n# Wait_TS: 0.000081557\n# Is_internal: true\n# Digest: 9875b36acdf88b4474057c6877f5d97327a5f07d123c3383c9bbe478a2fc5af5\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.global_priv MODIFY COLUMN Host CHAR(255);"] [2024/05/06 16:33:15.556 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=] [sql="ALTER TABLE mysql.db MODIFY COLUMN Host CHAR(255)"] [user=] [2024/05/06 16:33:15.593 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:82, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:5, start time: 2024-05-06 16:33:15.566 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:33:15.594 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:82, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:5, start time: 2024-05-06 16:33:15.566 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.db MODIFY COLUMN Host CHAR(255)"] [2024/05/06 16:33:15.674 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:82, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:15.566 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:15.842 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=5.723264ms] [phyTblIDs="[10]"] [actionTypes="[4096]"] [2024/05/06 16:33:15.885 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:15.885 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=82] [version=43] [2024/05/06 16:33:15.885 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=43] ["take time"=54.105897ms] [job="ID:82, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:15.566 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:15.947 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=82] [jobType="modify column"] [2024/05/06 16:33:15.966 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:82, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:15.566 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:16.243 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=82] [2024/05/06 16:33:16.243 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:16.245 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.690193421\n# Parse_time: 0\n# Compile_time: 0.001347406\n# Rewrite_time: 0.000015681\n# Optimize_time: 0\n# Wait_TS: 0.000080991\n# Is_internal: true\n# Digest: 9f9aa26bbaf129c11e3e7cff602c4ee83e66f5af093b1dfdf0738b491284920f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.db MODIFY COLUMN Host CHAR(255);"] [2024/05/06 16:33:16.248 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=] [sql="ALTER TABLE mysql.tables_priv MODIFY COLUMN Host CHAR(255)"] [user=] [2024/05/06 16:33:16.289 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:83, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:5, start time: 2024-05-06 16:33:16.268 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:33:16.289 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:83, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:5, start time: 2024-05-06 16:33:16.268 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.tables_priv MODIFY COLUMN Host CHAR(255)"] [2024/05/06 16:33:16.356 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:83, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:16.268 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:16.472 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=3.210897ms] [phyTblIDs="[12]"] [actionTypes="[4096]"] [2024/05/06 16:33:16.485 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:16.485 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=83] [version=44] [2024/05/06 16:33:16.486 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=44] ["take time"=26.194576ms] [job="ID:83, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:16.268 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:16.555 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=83] [jobType="modify column"] [2024/05/06 16:33:16.566 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:83, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:16.268 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:16.706 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=83] [2024/05/06 16:33:16.706 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:16.707 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.46055902\n# Parse_time: 0\n# Compile_time: 0.001479612\n# Rewrite_time: 0.000018646\n# Optimize_time: 0\n# Wait_TS: 0.006120785\n# Is_internal: true\n# Digest: fad5ee47628bd60f7066a2c4665e339b9295edffb82c41a3e064af0365d7c3e8\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.tables_priv MODIFY COLUMN Host CHAR(255);"] [2024/05/06 16:33:16.711 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=] [sql="ALTER TABLE mysql.columns_priv MODIFY COLUMN Host CHAR(255)"] [user=] [2024/05/06 16:33:16.756 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:84, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:5, start time: 2024-05-06 16:33:16.723 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:33:16.756 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:84, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:5, start time: 2024-05-06 16:33:16.723 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.columns_priv MODIFY COLUMN Host CHAR(255)"] [2024/05/06 16:33:16.815 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:84, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:16.723 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:16.927 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=2.938288ms] [phyTblIDs="[14]"] [actionTypes="[4096]"] [2024/05/06 16:33:16.985 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:16.985 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=84] [version=45] [2024/05/06 16:33:16.987 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=45] ["take time"=72.749847ms] [job="ID:84, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:16.723 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:17.493 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572869765070848] ["min commit ts"=449572869769789441] [key="dIAA///////7X3KAAAAAAAAAVA=="] [2024/05/06 16:33:17.493 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572869764284416] [info="{StartTs:449572869764284416 AttemptedCommitTs:449572869765070848 Key:748000fffffffffffb5f728000000000000054 MinCommitTs:449572869769789441}"] [2024/05/06 16:33:17.496 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572869764284416\n# Query_time: 0.506255535\n# Parse_time: 0\n# Compile_time: 0.001154872\n# Rewrite_time: 0\n# Optimize_time: 0\n# Wait_TS: 0.000070439\n# Prewrite_time: 0.000472817 Commit_time: 0.001314316 Get_commit_ts_time: 0.00001906 Slowest_prewrite_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 19 Prewrite_region: 1\n# Is_internal: true\n# Digest: bdab55af0288282745b06ae511bf5258d90e46fca67dd2e2ef0faca225d2d599\n# Num_cop_tasks: 0\n# Mem_max: 8587\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('owPwQzAJMjlfMgkwCTAJTi9BCTAJdGltZTo3NTUuM8K1cywgbG9vcHM6MSwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjQ3Mi44BSkMZ2V0XxEkFHM6MTkuMQUXCRNEOjEuMzFtcywgc2xvd2VzdF9wDUHQX3JwYzoge3RvdGFsOiAwLjAwMHMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwNVRxfcHJpbWFyedZEAA1kCG51bQHeBc4QX2tleXMZDvBDYnl0ZToxOX0JMzk1IEJ5dGVzCU4vQQoxCTM2XzEJMAkxCXRhYmxlOnRpZGJfbWRsX2luZm8sIGhhbmRsZTo4NAkxCXQhTRQzNTkuNsI5TSgyLCBHZXQ6e251bQW7DDEsIHQhAABfJXtEMTM4LjbCtXN9CU4vQQlOL0EK')\n# Plan_digest: ca2b8c61a8ea82f17bacb18dbe38cd4b008fc18663d28963f5ced78ed80210d7\n# Binary_plan: tidb_decode_binary_plan('0wN4Cs4DCghEZWxldGVfMhKVAQoLUG9pbnRfR2V0XzEpAAUB8HnwPzABOAFAAUoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUgloYW5kbGU6ODRaFnRpbWU6MzU5LjbCtXMsIGxvb3BzOjJiJEdldDp7bnVtX3JwYzoxLCB0b3RhbF90aW1lOjEzOC42wrVzfXD///////////8BeP///wkMBX0QUgNOL0ENXRA3NTUuMx1deDFi+gFjb21taXRfdHhuOiB7cHJld3JpdGU6NDcyLjgFKgxnZXRfESQUczoxOS4xBRcJE0A6MS4zMW1zLCBzbG93ZXN0XxFBAF8BrJAge3RvdGFsOiAwLjAwMHMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6CQcQMSwgfSwNVRxfcHJpbWFyedZEAA1kGG51bToxLCAFzhBfa2V5cxkOXGJ5dGU6MTl9cIsDeP///////////wEYAQ==')\ndelete from mysql.tidb_mdl_info where job_id = 84;"] [2024/05/06 16:33:17.499 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572869769789440\n# Query_time: 0.493044553\n# Parse_time: 0\n# Compile_time: 0.005614398\n# Rewrite_time: 0.000937817\n# Optimize_time: 0.002135788\n# Wait_TS: 0.000095913\n# Cop_time: 0.483381018 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 188\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000013158\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2wP0PgEwCTMxXzcJMAkzMzIzLjMzCWRhdGE6U2VsZWN0aW9uXzYJMQl0aW1lOjQ4My44bXMsIGxvb3BzOjIsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuNTFtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMW1zLCBycGNfbnVtOiA0NzgsIHJwY190aW1lOiAzMTEuNG1zLCBjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzo0NzcsIHRvdGFsX3RpbWU6ODkuOW1zfQkxODggQnl0ZXMJTi9BCjEJMV82CTFfMAkzMzIzLjMzCWxlKG15c3FsLnRpZGJfbWRsX2luZm8udmVyc2lvbiwgNDUpJR4Ia3ZfJQgEe3QhKRgxLjI5bXMsLSgUMH0JTi9BAQQYCjIJNDNfNQViRDEwMDAwCXRhYmxlOnRpZGJfbQ1dfCwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvrnAA')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('yQSYCsQECg1UYWJsZVJlYWRlcl83EqACCgtTZWxlY3Rpb25fNhKbAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBxAIjDQDABOAJAAkoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUh5rZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG9qIHRpa3ZfdGFzazp7dGltZToxLjI5bXMsIGxvb3BzOjB9cP///////////wF4CQgM////AQWKLIBPIkEpq6qqqqr2qQ2KEFIjbGUoBYkALjKIADAudmVyc2lvbiwgNDUp4nUAAWwM6nPmQC51ACQBQAFSEGRhdGE6PT00WhV0aW1lOjQ4My44bXMRzRgyYsABY29wCe5IIHtudW06IDEsIG1heDogMS41MQEqRHByb2Nfa2V5czogMCwgdG90XwESBDogBR0McnBjXwU2DDQ3OCwFDgB0AWcUIDMxMS40AT7wcWNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjQ3NywgdG90YWxfdGltZTo4OS45bXN9cLwBeP///////////wEYAQ==')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 45;"] [2024/05/06 16:33:17.566 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=84] [jobType="modify column"] [2024/05/06 16:33:17.570 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:84, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:16.723 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:17.678 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=84] [2024/05/06 16:33:17.679 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:17.681 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.97191021\n# Parse_time: 0\n# Compile_time: 0.001884316\n# Rewrite_time: 0.000021844\n# Optimize_time: 0\n# Wait_TS: 0.000070484\n# Is_internal: true\n# Digest: 9c2066d29bd8561d31038360c5d4a41a39b61143307c144557699cc8e8bd5fbc\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.columns_priv MODIFY COLUMN Host CHAR(255);"] [2024/05/06 16:33:17.686 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=] [sql="ALTER TABLE mysql.columns_priv MODIFY COLUMN Column_priv SET('Select','Insert','Update','References')"] [user=] [2024/05/06 16:33:17.726 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:85, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:5, start time: 2024-05-06 16:33:17.701 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:33:17.727 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:85, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:5, start time: 2024-05-06 16:33:17.701 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.columns_priv MODIFY COLUMN Column_priv SET('Select','Insert','Update','References')"] [2024/05/06 16:33:18.292 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572869972688896\n# Query_time: 0.508522269\n# Parse_time: 0\n# Compile_time: 0.001745858\n# Rewrite_time: 0.002864486\n# Optimize_time: 0.005251734\n# Wait_TS: 0.000096882\n# Prewrite_time: 0.000733457 Commit_time: 0.000749516 Get_commit_ts_time: 0.000019219 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 1316 Prewrite_region: 1\n# Is_internal: true\n# Digest: bb9a0484a27cea37dfc9b79800bc11ddc72f4ac11810a6eb126d600a567ce029\n# Num_cop_tasks: 0\n# Mem_max: 10391\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('ogPwTDAJMjhfMwkwCTAJTi9BCTAJdGltZToxLjU4bXMsIGxvb3BzOjEsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo3MzMuNcK1cywgZ2V0X2NvCSQgczoxOS4ywrVzETcQOjc0OS4JKCBzbG93ZXN0X3ANQ+hfcnBjOiB7dG90YWw6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG9yZTogc3RvcmUxLCB9LCBjb21taQFFEGltYXJ51kQADWQIbnVtAeAF0BBfa2V5cxkO8D5ieXRlOjEzMTZ9CTIuMTUgS0IJTi9BCjEJMzZfMQkwCTEJdGFibGU6dGlkYl9kZGxfam9iLCBoYW5kbGU6ODUBICFMEDQ4MS40JQ4pTigyLCBHZXQ6e251bQW6DDEsIHQB/wBfBS5EMTgxLjnCtXN9CU4vQQlOL0EK')\n# Plan_digest: 3fea32741ba131a439f08d925bc0d60ce688c732cc613c6d3625da6592028edc\n# Binary_plan: tidb_decode_binary_plan('1AN4Cs8DCghVcGRhdGVfMxKUAQoLUG9pbnRfR2V0XzEpAAUB8HXwPzABOAFAAUoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSCWhhbmRsZTo4NVoWdGltZTo0ODEuNMK1cywgbG9vcHM6MmIkR2V0OntudW1fcnBjOjEsIHRvdGFsX3RpbWU6MTgxLjnCtXN9cP///////////wF4CQgI////BXwYUgNOL0FaFAkvGC41OG1zLCAJW3wxYv4BY29tbWl0X3R4bjoge3ByZXdyaXRlOjczMy41wgGFDGdldF8RJBRzOjE5LjIFFwkTDDo3NDkNKBxzbG93ZXN0XxFDGF9ycGM6IHsFq3Q6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG9yZToJBxAxLCB9LA1XHF9wcmltYXJ51kQADWQYbnVtOjEsIAXQEF9rZXlzGQ5kYnl0ZToxMzE2fXCXEXj///////////8BGAE=')\nupdate mysql.tidb_ddl_job set processing = 1 where job_id = 85;"] [2024/05/06 16:33:18.301 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:85, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:17.701 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:18.465 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=3.514917ms] [phyTblIDs="[14]"] [actionTypes="[4096]"] [2024/05/06 16:33:18.486 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:18.486 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=46] [2024/05/06 16:33:18.486 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=46] ["take time"=29.643311ms] [job="ID:85, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:17.701 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:19.004 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572870161170432] ["min commit ts"=449572870167986176] [key="dIAA///////7X3KAAAAAAAAAVQ=="] [2024/05/06 16:33:19.004 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572870159597568] [info="{StartTs:449572870159597568 AttemptedCommitTs:449572870161170432 Key:748000fffffffffffb5f728000000000000055 MinCommitTs:449572870167986176}"] [2024/05/06 16:33:19.006 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572870159597568\n# Query_time: 0.50962141\n# Parse_time: 0\n# Compile_time: 0.001699782\n# Rewrite_time: 0\n# Optimize_time: 0\n# Wait_TS: 0.000262664\n# Prewrite_time: 0.00087972 Commit_time: 0.001431371 Get_commit_ts_time: 0.000022236 Slowest_prewrite_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 19 Prewrite_region: 1\n# Is_internal: true\n# Digest: bdab55af0288282745b06ae511bf5258d90e46fca67dd2e2ef0faca225d2d599\n# Num_cop_tasks: 0\n# Mem_max: 8587\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('nwPwTDAJMjlfMgkwCTAJTi9BCTAJdGltZToyLjE5bXMsIGxvb3BzOjEsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo4NzkuN8K1cywgZ2V0X2NvCSQgczoyMi4ywrVzETcQOjEuNDMBTyBzbG93ZXN0X3ANQehfcnBjOiB7dG90YWw6IDAuMDAwcywgcmVnaW9uX2lkOiAyLCBzdG9yZTogc3RvcmUxLCB9LCBjb21taQFFEGltYXJ5RkQAADGKRAANZAhudW0B3gXOEF9rZXlzGQ7wQ2J5dGU6MTl9CTM5NSBCeXRlcwlOL0EKMQkzNl8xCTAJMQl0YWJsZTp0aWRiX21kbF9pbmZvLCBoYW5kbGU6ODUJMQl0IUsMMS4wMQH8KUsoMiwgR2V0OntudW0FuQwxLCB0Af4AXyV3BDQxKVAkfQlOL0EJTi9BCg==')\n# Plan_digest: ca2b8c61a8ea82f17bacb18dbe38cd4b008fc18663d28963f5ced78ed80210d7\n# Binary_plan: tidb_decode_binary_plan('zwN4CsoDCghEZWxldGVfMhKTAQoLUG9pbnRfR2V0XzEpAAUB8G3wPzABOAFAAUoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUgloYW5kbGU6ODVaFHRpbWU6MS4wMW1zLCBsb29wczoyYiRHZXQ6e251bV9ycGM6MSwgdG90YWxfdGltZTo0MTkuN8K1c31w/////wUEBAF4BQcBAQV7EFIDTi9BDVsQMi4xOW0VW2wxYvoBY29tbWl0X3R4bjoge3ByZXdyaXRlOjg3CVcULCBnZXRfESQoczoyMi4ywrVzLCAJExA6MS40MwFQHHNsb3dlc3RfEUEFqpAge3RvdGFsOiAwLjAwMHMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6CQcMMSwgfRFVHF9wcmltYXJ5RkQAADGKRAANZBhudW06MSwgBc4QX2tleXMZDlxieXRlOjE5fXCLA3j///////////8BGAE=')\ndelete from mysql.tidb_mdl_info where job_id = 85;"] [2024/05/06 16:33:19.009 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572870165626880\n# Query_time: 0.493381603\n# Parse_time: 0\n# Compile_time: 0.005547296\n# Rewrite_time: 0.000880732\n# Optimize_time: 0.002256635\n# Wait_TS: 0.00007552\n# Cop_time: 0.450401569 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 188\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000011098\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2APw7TAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkxCXRpbWU6NDUwLjltcywgbG9vcHM6MiwgY29wX3Rhc2s6IHtudW06IDEsIG1heDogMS43NG1zLCBwcm9jX2tleXM6IDAsIHRvdF9wcm9jOiAxbXMsIHJwY19udW06IDQ1NywgcnBjX3RpbWU6IDMwMG1zLCBjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzo0NTYsIHRvdGFsX3QByWQxMDMuNG1zfQkxODggQnl0ZXMJTi9BCjEJMQHtAF85CohsZShteXNxbC50aWRiX21kbF9pbmZvLnZlcnNpb24sIDQ2KSUdCGt2XyUHBHt0BV8QLjVtcywtJgQwfQFcAQQcCjIJNDNfNQkBYSwxMDAwMAl0YWJsZToyXAB8LCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG+qbwA=')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('xgSYCsEECg1UYWJsZVJlYWRlcl83Ep4CCgtTZWxlY3Rpb25fNhKaAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBpAIjDQDABOAJAAkoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUh5rZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG9qH3Rpa3ZfdGFzazp7dGltZToxLjVtcywgbG9vcHM6MH1w/////wUEBAF4BQcBAQABBYksgE8iQSmrqqqqqvapDYkQUiNsZSgFiAAuMocAMC52ZXJzaW9uLCA0NinedAABawzqc+ZALnQAJAFAAVIQZGF0YTo9OyxaFXRpbWU6NDUwLjkZzBgyYr8BY29wCexIIHtudW06IDEsIG1heDogMS43NAEqRHByb2Nfa2V5czogMCwgdG90XwESCDogMQEdDHJwY18FNgw0NTcsBQ4FZwwgMzAwAR/wcmNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjQ1NiwgdG90YWxfdGltZToxMDMuNG1zfXC8AXj///////////8BGAE=')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 46;"] [2024/05/06 16:33:19.052 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=85] [jobType="modify column"] [2024/05/06 16:33:19.058 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:85, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:17.701 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:19.161 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=85] [2024/05/06 16:33:19.161 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:19.162 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.4787669239999999\n# Parse_time: 0\n# Compile_time: 0.003246216\n# Rewrite_time: 0.00002042\n# Optimize_time: 0\n# Wait_TS: 0.000087971\n# Is_internal: true\n# Digest: 1a3d990987abecfdebaae89ece4893655ba5d1417ec215b622bc68c40815dd37\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.columns_priv MODIFY COLUMN Column_priv SET('Select','Insert','Update','References');"] [2024/05/06 16:33:19.166 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=] [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 16:33:19.169 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=] [sql="ALTER TABLE mysql.stats_buckets MODIFY upper_bound LONGBLOB NOT NULL"] [user=] [2024/05/06 16:33:19.207 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:86, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:5, start time: 2024-05-06 16:33:19.179 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:33:19.207 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:86, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:5, start time: 2024-05-06 16:33:19.179 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.stats_buckets MODIFY upper_bound LONGBLOB NOT NULL"] [2024/05/06 16:33:19.292 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:86, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:19.179 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:19.454 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=3.426576ms] [phyTblIDs="[26]"] [actionTypes="[4096]"] [2024/05/06 16:33:19.485 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:19.485 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=86] [version=47] [2024/05/06 16:33:19.488 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=47] ["take time"=46.765182ms] [job="ID:86, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:19.179 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:19.550 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=86] [jobType="modify column"] [2024/05/06 16:33:19.555 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:86, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:19.179 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:19.677 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=86] [2024/05/06 16:33:19.677 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:19.679 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.511003532\n# Parse_time: 0\n# Compile_time: 0.001145609\n# Rewrite_time: 0.000017631\n# Optimize_time: 0\n# Wait_TS: 0.000078552\n# Is_internal: true\n# Digest: ce0e3f5812fac6beec45b7562e44ce095457ea53b5578610214f6b9eae54c542\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.stats_buckets MODIFY upper_bound LONGBLOB NOT NULL;"] [2024/05/06 16:33:19.682 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=] [sql="ALTER TABLE mysql.stats_buckets MODIFY lower_bound LONGBLOB"] [user=] [2024/05/06 16:33:19.750 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:87, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:5, start time: 2024-05-06 16:33:19.698 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:33:19.750 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:87, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:5, start time: 2024-05-06 16:33:19.698 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.stats_buckets MODIFY lower_bound LONGBLOB"] [2024/05/06 16:33:19.825 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:87, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:19.698 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:19.912 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=2.725676ms] [phyTblIDs="[26]"] [actionTypes="[4096]"] [2024/05/06 16:33:19.935 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:19.935 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=87] [version=48] [2024/05/06 16:33:19.937 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=48] ["take time"=28.78324ms] [job="ID:87, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:19.698 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:19.989 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=87] [jobType="modify column"] [2024/05/06 16:33:19.998 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:87, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:19.698 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:20.580 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572870574047232] ["min commit ts"=449572870698565633] [key=bURETEpvYkhp/3N0b3J5AAAA/AAAAAAAAABoAAAAAAAAAFf/AAAAAAAAAAD3] [2024/05/06 16:33:20.580 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572870550716416] [info="{StartTs:449572870550716416 AttemptedCommitTs:449572870574047232 Key:6d44444c4a6f624869ff73746f7279000000fc00000000000000680000000000000057ff0000000000000000f7 MinCommitTs:449572870698565633}"] [2024/05/06 16:33:20.591 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572870579552256\n# Query_time: 0.503421894\n# Parse_time: 0\n# Compile_time: 0.015445379\n# Rewrite_time: 0.002349721\n# Optimize_time: 0.010909083\n# Wait_TS: 0.000075451\n# Cop_time: 0.470522251 Process_time: 0.001 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0005 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12631\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('yhO4MAkzXzEzCTAJMjI3Ni44MAlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwQ3Byb2Nlc3NpbmcJMAl0aW1lOjQ3NW1zLCBsb29wczoxLCBDb25jdXJyZW5jeTo1CTExLjggS0IJTi9BCjEJMTRfMTQJcn4AGWEUOmRlc2MsToUAFGpvYl9pZBmBCDQuNB2DHAkwIEJ5dGVzEQgcCjIJMTdfMjgd9lRpbm5lciBqb2luLCBlcXVhbDpbZXEoWgwBBGlkAdUgbHVtbiMxNSldLncAADIdd6AsIGJ1aWxkX2hhc2hfdGFibGU6e3RvdGFsOjg3OC45wrVzLCBmZXRjaB0QBTIMOjBzfRGsEQgkCjMJMzFfNDEoQgFUACkdu0BkYXRhOlNlbGVjdGlvbl80MBWQDDk4LjcFZjWLaGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuMgW6IWw0X2tleXM6IDAsIHJwY18RJwEMJd4MIDEuMQHlmGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbjX6HCAxNX0JMTcxLYsYTi9BCjQJMQGvBDFfcgACDHJlb3JJXARrdgm9AHsFiQg5MjEy3wAEMH0BVQEEHAo1CTQ0XzM5BVocNjY2Ni42NwkpgS7YAvA8LCByYW5nZTpbLWluZiw4NyksICg4NywraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCUHsopAALDMJNl8yOShQcm9iZSG7ODY0MDAJZ3JvdXAgYnk6Q1FLQCwgZnVuY3M6Zmlyc3Ryb3coFRoIKS0+FQw13ww3Mi43IYo13kxwYXJ0aWFsX3dvcmtlcjp7d2FsbCm1ASwUNDU3MDEzATEAYz2XCDUsIEERJehcMCwgdG90X3dhaXQ6Mi4zNjE1OTkxNTVzCRcUZXhlYzowDQ0lggUkGDY4MzI0M3NJSQFoEDM2NzE0BWgIcDk1MhIAFH0sIGZpbmKhABA2ODQ5MgU5nqEAGDIyMzk5OTgNlAWhGDU2LjM0M8JhXAHMFagYMjMyNzY2OR2oEDUxMDA4hScRqBESWUkQNAkxXzNhUSWyFG5vdChlcTmWHCwgODcpKSwgARgUaXNudWxsGRwAKSHoBX4hFGVdLagICTM4kZBhBRA1CTZfMyHVCDgwMF0VSnsEYZ0AZaVqUgQFIHNjaGVtYV9pZAHkRqgFZQAJHklmCG1pbhWvADgyYQIAMRG5ADEuYQIEMixyYQIcMS41MDM1MjluYQIAMUlKUWEUNTU1MDcyLr4BHDI1NC40NzbCPr8BGDU1OTAxMzBZZxQxLjI5NTQJbim/GRJyZwIYMS41ODgyNo3DAG6Vny4IAz6nABg3MjI0ODc0MqkAFDMwLjczNEapABg3NTA0OTUxIYQMYXg6NAFwDDIzODRlqRGpERJZaAA2od0MMzYJMEkGpdMkSGFzaEFnZ18zMT2RIV5JSAQyLKGDAF9hvUbOBQA4CXAEcm+9zmEPARIEOiAFRqHRpd0INDM3qetFrhAgMjQ5Li3FxuEFNCwgUmVzb2x2ZUxvY2s6wWQcX3JwYzo0MzYl+gBhjY8gMTMybXN9CTE5Lg4GADdhCQAxpbT+CwPOCwNKMwMWVgh9GwA4JYo29wUIMS41hbQplt2FGDgJNDNfMzQF0QQxMGHdZYM6gwZ6ZwZhi5pwAA==')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('nhbwSQqZFgoNUHJvamVjdGlvbl8xMxKDFQoHU29ydF8xNBKLFAoLSGFzaEpvaW5fMjgSmQQKDlRhYmxlUmVhZGVyXzQxErMCCgxTZWxlCUAYNDASuAEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wXjpbLWluZiw4NyksICg4NywraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiJ0aWt2X3Rhc2s6e3RpbWU6OTIxLjfCtXMsIGxvb3BzOjB9cP//////AQMEAXgBBgUBAAEFpSyAMSdBKZ0xLpGayaEFpShSGG15c3FsLnRpZBWgFC5yZW9yZ+ZqACwaAQEhT2U+DbVo60AZbSgBQAFSEWRhdGE6Uz1RMFoWdGltZTo0OTguN8IZxRQxYn9jb3AJ56Age251bTogMSwgbWF4OiAxLjIybXMsIHByb2Nfa2V5czogMCwgcnBjXxEnAQwFVgwgMS4xASvYY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fXCrAT09EBK3DgoKQSwgQWdnXzI5EtwKLhgCEDMwEuAJGSAQMzUSsgU2SwIQMzYSkQMdIhQxEpsBChBFSQxGdWxsSUgANCWjFPDvMEEpAAEBEIjDQDABdkoCAB56LgIIIHRpNi4CDDEuNTMhEwRsb4IsAggoZTENiQRAvw2JMFKUAWdyb3VwIGJ5Om1GOAIhkxxlc3NpbmcsIEofACRzY2hlbWFfaWRzUh8AEHRhYmxlCR4kZnVuY3M6bWluKEpHAERqb2JfaWQpLT5Db2x1bW4jMTji5wAc3t3d3R0+90ApcAnnQagED2RBqAhIYXMl8AwzMVoTRVAENDdFTyk8DDJivwFmpAIEODchZiERWaQMdG90XwESBDogBUdBp0WzCDQzN0nBBWUUIDI0OS45AT7OtwI0LCBSZXNvbHZlTG9jazphOiBfcnBjOjQzNiwBgARhbAllHDEzMm1zfXC/MiEEIQ4MrWz4QD4OAQCE/vUBvvUBNdk95Qg1WhUlHww0NzEuJVwxhlDQAnBhcnRpYWxfd29ya2VyOnt3YWwN5wEtEDUwMzUyLVAAbnXjGDUsIHRhc2slgQAxJRs8X3dhaXQ6Mi4zNTU1MDcycwkVLGV4ZWM6MjU0LjQ3NoWgIcUFiQUqFDkwMTMwM0HQBGF4BW4MMjk1NAluCHA5NTISABR9LCBmaW5mpwAMODgyNkUYAGOapwAYNzIyNDg3NDKpABQzMC43MzRGqQAYNzUwNDk1MR2pEDUyMzg0JUkRqRESBH1wxTEBAUYfAgRI/k0fCAC5QGUrGC5ub3QoZXE1tCA1LCA4NykpLCABGBRpc251bGwZHAQpKTXGBDIupcYpxgwxcPwCvW4kGgECIUREREQkYz5uAAQ4Z5F/USQINSwgiS4cZmlyc3Ryb3cdbpkjWT4AMi4+AggxYslyPgIYMi40NTcwMaUyXpcBADBJKVE+HDYxNTk5MTU1LpcBADANDVE4GDYxNjgzMjRZOBgyLjM2NzE0BWgpjxkScjgCGDIuNjg0OTIFOZ6hABgyMjM5OTk4DZRF4RQ1Ni4zNDNCNwIcNjIzMjc2NjlVNxwyLjUxMDA4NIGeEagREl43AhgWCk2BhQwHKncIaAFAAVI8aW5uZXIgam9pbiwgZXF1YWw6W2VxKGLvBQQsIDXxBCldVUUANDJFAjBiO2J1aWxkX2hhc2hfxU4wOnt0b3RhbDo4NzguOQXfEGZldGNoHRAFMjA6MHN9Ie2DWkOULBBBNrIIAD1KkgChxMnnEDpkZXNjUs0GyaUdqSU0Te4YIcIhb5Y0Qj5sAE5TBwFIEG1ldGEsTlEHGYnVoQA1IZsNZwxiDUNvnfI8cJxeeP///////////wEYAQ==')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (87) order by processing desc, job_id;"] [2024/05/06 16:33:20.630 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=87] [2024/05/06 16:33:20.631 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:20.645 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=11.947275ms] [2024/05/06 16:33:20.647 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.966182478\n# Parse_time: 0\n# Compile_time: 0.001204563\n# Rewrite_time: 0.00001667\n# Optimize_time: 0\n# Wait_TS: 0.000088326\n# Is_internal: true\n# Digest: 2d58d9b5c297b9f81ef2fbfc7d824d65c3715a0bbea4504df3340fd39607fc4c\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.stats_buckets MODIFY lower_bound LONGBLOB;"] [2024/05/06 16:33:20.657 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=] [sql="ALTER TABLE mysql.stats_histograms MODIFY last_analyze_pos LONGBLOB DEFAULT NULL"] [user=] [2024/05/06 16:33:21.241 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572870747324416] ["min commit ts"=449572870842482688] [key="dIAA///////+X3KAAAAAAAAAWA=="] [2024/05/06 16:33:21.242 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572870746537984] [info="{StartTs:449572870746537984 AttemptedCommitTs:449572870747324416 Key:748000fffffffffffe5f728000000000000058 MinCommitTs:449572870842482688}"] [2024/05/06 16:33:21.245 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572870746537984\n# Query_time: 0.527332101\n# Parse_time: 0\n# Compile_time: 0.019156197\n# Rewrite_time: 0.00037072\n# Optimize_time: 0.001575838\n# Wait_TS: 0.000073345\n# Prewrite_time: 0.000820579 Commit_time: 0.004937597 Get_commit_ts_time: 0.000024303 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 1288 Prewrite_region: 1\n# Is_internal: true\n# Digest: 1b73a00c73a03d7dc9dd08a1ea99474b2523e5f72366f740be5156fa244256c4\n# Num_cop_tasks: 0\n# Mem_max: 9940\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('1gLYMAkyN18xCTAJMAlOL0EJMAl0aW1lOjk0Ni40wrVzLCBsb29wczoxLCBwcmVwYXJlOiA0NzcuMwUcLGluc2VydDo0NjkuMQURaGNvbW1pdF90eG46IHtwcmV3cml0ZTo4MjAuNgUgDGdldF8RJAxzOjI0DUgJE0A6NC45NG1zLCBzbG93ZXN0XxFB0F9ycGM6IHt0b3RhbDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0b3JlOiBzdG9yZTEsIH0sDVUcX3ByaW1hcnlGRAAAMopEAA1kCG51bSECBc4QX2tleXMZDlhieXRlOjEyODh9CTEuNzEgS0IJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('4QLwPgrcAgoISW5zZXJ0XzE4AUABUgNOL0FaFnRpbWU6OTQ2LjTCtXMsIGxvb3BzOjFiInByZXBhcmU6IDQ3Ny4zwgEcBGluAT7AOjQ2OS4xwrVzYvwBY29tbWl0X3R4bjoge3ByZXdyaXRlOjgyMC42wrVzLCBnZXRfYw0kEHM6MjQuCUkJN0A6NC45NG1zLCBzbG93ZXN0XxFBmF9ycGM6IHt0b3RhbDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0bwGdAHMBBxAxLCB9LA1VHF9wcmltYXJ5RkQAADKKRAANZBhudW06MSwgBc4QX2tleXMZDmRieXRlOjEyODh9cNQNeP///////////wEYAQ==')\ninsert into mysql.tidb_ddl_job(job_id, reorg, schema_ids, table_ids, job_meta, type, processing) values(88, false, \"1\", \"24\", 0x7b226964223a38382c2274797065223a31322c22736368656d615f6964223a312c227461626c655f6964223a32342c22736368656d615f6e616d65223a226d7973716c222c227461626c655f6e616d65223a2273746174735f686973746f6772616d73222c227374617465223a382c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b7b226964223a31332c226e616d65223a7b224f223a226c6173745f616e616c797a655f706f73222c224c223a226c6173745f616e616c797a655f706f73227d2c226f6666736574223a31322c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235312c22466c6167223a3132382c22466c656e223a343239343936373239352c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b224f223a226c6173745f616e616c797a655f706f73222c224c223a226c6173745f616e616c797a655f706f73227d2c7b225470223a302c2252656c6174697665436f6c756d6e223a6e756c6c7d2c302c305d2c22736368656d615f7374617465223a302c22736e617073686f745f766572223a302c227265616c5f73746172745f7473223a302c2273746172745f7473223a3434393537323837303733303534373230302c22646570656e64656e63795f6964223a302c227175657279223a22414c544552205441424c45206d7973716c2e73746174735f686973746f6772616d73204d4f44494659206c6173745f616e616c797a655f706f73204c4f4e47424c4f422044454641554c54204e554c4c222c2262696e6c6f67223a7b22536368656d6156657273696f6e223a302c224442496e666f223a6e756c6c2c225461626c65496e666f223a6e756c6c2c2246696e69736865645453223a302c224d756c7469706c655461626c65496e666f73223a6e756c6c7d2c2276657273696f6e223a312c2272656f72675f6d657461223a7b22656e645f68616e646c65223a302c2273716c5f6d6f6465223a302c227761726e696e6773223a7b7d2c227761726e696e67735f636f756e74223a7b7d2c226c6f636174696f6e223a7b226e616d65223a22417369612f5368616e67686169222c226f6666736574223a307d2c2272656f72675f7470223a307d2c226d756c74695f736368656d615f696e666f223a6e756c6c2c227072696f72697479223a302c227365715f6e756d223a302c2263686172736574223a22222c22636f6c6c617465223a22227d, 12, false);"] [2024/05/06 16:33:21.247 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:88, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:5, start time: 2024-05-06 16:33:20.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:33:21.247 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:88, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:5, start time: 2024-05-06 16:33:20.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.stats_histograms MODIFY last_analyze_pos LONGBLOB DEFAULT NULL"] [2024/05/06 16:33:21.357 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:88, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:20.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:21.495 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=4.21593ms] [phyTblIDs="[24]"] [actionTypes="[4096]"] [2024/05/06 16:33:21.535 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:21.535 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=88] [version=49] [2024/05/06 16:33:21.538 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=49] ["take time"=48.7111ms] [job="ID:88, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:20.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:21.581 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=88] [jobType="modify column"] [2024/05/06 16:33:21.585 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:88, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:20.675 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:21.721 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=88] [2024/05/06 16:33:21.721 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:21.724 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.073352817\n# Parse_time: 0\n# Compile_time: 0.006231765\n# Rewrite_time: 0.00001821\n# Optimize_time: 0\n# Wait_TS: 0.000153638\n# Is_internal: true\n# Digest: 8cf940b8227b3940066b7fea5e4a92b5903ecb0732d73409b58db69a2a25d5e6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.stats_histograms MODIFY last_analyze_pos LONGBLOB DEFAULT NULL;"] [2024/05/06 16:33:21.736 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=] [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 16:33:21.754 +08:00] [INFO] [region_request.go:1285] ["send request failed, err: context canceled"] [req-ts=449572871011041280] [req-type=Cop] [region="{ region id: 2, ver: 1, confVer: 1 }"] [region-is-valid=true] [retry-times=0] [replica-read-type=leader] [replica-selector-state=accessKnownLeader] [stale-read=false] [replica-status="peer: 3, store: 1, isEpochStale: false, attempts: 1, replica-epoch: 0, store-epoch: 0, store-state: resolved, store-liveness-state: reachable"] [total-backoff-ms=0] [total-backoff-times=0] [total-region-errors=] [2024/05/06 16:33:21.764 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=] [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 16:33:21.764 +08:00] [INFO] [txn.go:55] ["Try to create a new txn inside a transaction auto commit"] [schemaVersion=49] [txnStartTS=449572871011565568] [txnScope=global] [2024/05/06 16:33:21.766 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [2024/05/06 16:33:21.777 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=] [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\t);"] [user=] [2024/05/06 16:33:21.786 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=] [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\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\t);"] [user=] [2024/05/06 16:33:21.804 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=] [sql="ALTER TABLE mysql.tables_priv MODIFY COLUMN Column_priv SET('Select','Insert','Update','References')"] [user=] [2024/05/06 16:33:21.840 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:89, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:5, start time: 2024-05-06 16:33:21.816 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:33:21.840 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:89, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:5, start time: 2024-05-06 16:33:21.816 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.tables_priv MODIFY COLUMN Column_priv SET('Select','Insert','Update','References')"] [2024/05/06 16:33:21.903 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:89, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:21.816 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:22.011 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=3.362123ms] [phyTblIDs="[12]"] [actionTypes="[4096]"] [2024/05/06 16:33:22.035 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:22.035 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=89] [version=50] [2024/05/06 16:33:22.037 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=50] ["take time"=40.94463ms] [job="ID:89, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:21.816 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:22.084 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=89] [jobType="modify column"] [2024/05/06 16:33:22.112 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:89, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:21.816 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:22.265 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=89] [2024/05/06 16:33:22.265 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:22.267 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.464617459\n# Parse_time: 0\n# Compile_time: 0.001475611\n# Rewrite_time: 0.000016606\n# Optimize_time: 0\n# Wait_TS: 0.000083614\n# Is_internal: true\n# Digest: 14950ce634ff75bc56add1463f872b77428f3c8a7f8e2613c88838ecff9b91d9\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.tables_priv MODIFY COLUMN Column_priv SET('Select','Insert','Update','References');"] [2024/05/06 16:33:22.285 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=50] [cur_db=] [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 16:33:22.292 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=50] [cur_db=] [sql="ALTER TABLE mysql.user CHANGE `Repl_slave_priv` `Repl_slave_priv` ENUM('N','Y') NOT NULL DEFAULT 'N' AFTER `Execute_priv`"] [user=] [2024/05/06 16:33:22.329 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:90, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:5, start time: 2024-05-06 16:33:22.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:33:22.329 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:90, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:5, start time: 2024-05-06 16:33:22.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.user CHANGE `Repl_slave_priv` `Repl_slave_priv` ENUM('N','Y') NOT NULL DEFAULT 'N' AFTER `Execute_priv`"] [2024/05/06 16:33:22.392 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:90, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:22.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:22.717 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=10.226282ms] [phyTblIDs="[4]"] [actionTypes="[4096]"] [2024/05/06 16:33:22.718 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=11.651357ms] [2024/05/06 16:33:22.785 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:22.785 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=90] [version=51] [2024/05/06 16:33:22.786 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=51] ["take time"=90.772376ms] [job="ID:90, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:22.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:22.838 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=90] [jobType="modify column"] [2024/05/06 16:33:22.843 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:90, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:22.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:23.112 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=90] [2024/05/06 16:33:23.112 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:23.114 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.824240673\n# Parse_time: 0\n# Compile_time: 0.002108827\n# Rewrite_time: 0.000018453\n# Optimize_time: 0\n# Wait_TS: 0.000121378\n# Is_internal: true\n# Digest: 9277d5b9e5785a289b450aea98e4ed497a393620211123b26ad941a29e356a32\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.user CHANGE `Repl_slave_priv` `Repl_slave_priv` ENUM('N','Y') NOT NULL DEFAULT 'N' AFTER `Execute_priv`;"] [2024/05/06 16:33:23.138 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=51] [cur_db=] [sql="ALTER TABLE mysql.user CHANGE `Repl_client_priv` `Repl_client_priv` ENUM('N','Y') NOT NULL DEFAULT 'N' AFTER `Repl_slave_priv`"] [user=] [2024/05/06 16:33:23.196 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:91, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:5, start time: 2024-05-06 16:33:23.163 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:33:23.196 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:91, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:5, start time: 2024-05-06 16:33:23.163 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.user CHANGE `Repl_client_priv` `Repl_client_priv` ENUM('N','Y') NOT NULL DEFAULT 'N' AFTER `Repl_slave_priv`"] [2024/05/06 16:33:23.266 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:91, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:23.163 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:23.633 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=25.116864ms] [phyTblIDs="[4]"] [actionTypes="[4096]"] [2024/05/06 16:33:23.637 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=29.555755ms] [2024/05/06 16:33:23.686 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:23.686 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=91] [version=52] [2024/05/06 16:33:23.688 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=52] ["take time"=85.593706ms] [job="ID:91, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:23.163 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:24.198 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572871521959936] ["min commit ts"=449572871524843521] [key="dIAA///////7X3KAAAAAAAAAWw=="] [2024/05/06 16:33:24.198 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572871521173504] [info="{StartTs:449572871521173504 AttemptedCommitTs:449572871521959936 Key:748000fffffffffffb5f72800000000000005b MinCommitTs:449572871524843521}"] [2024/05/06 16:33:24.201 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572871521173504\n# Query_time: 0.51090867\n# Parse_time: 0\n# Compile_time: 0.001340213\n# Rewrite_time: 0\n# Optimize_time: 0\n# Wait_TS: 0.000083192\n# Prewrite_time: 0.000494578 Commit_time: 0.002403054 Get_commit_ts_time: 0.000022011 Slowest_prewrite_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 19 Prewrite_region: 1\n# Is_internal: true\n# Digest: bdab55af0288282745b06ae511bf5258d90e46fca67dd2e2ef0faca225d2d599\n# Num_cop_tasks: 0\n# Mem_max: 8587\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('oAPwQzAJMjlfMgkwCTAJTi9BCTAJdGltZTo5ODQuNcK1cywgbG9vcHM6MSwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjQ5NC42BSkMZ2V0XxEkDHM6MjIFFQkRQDoyLjRtcywgc2xvd2VzdF9wDT7QX3JwYzoge3RvdGFsOiAwLjAwMHMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwNVBxfcHJpbWFyeUZEAAAyikQADWQIbnVtAdsFyxBfa2V5cxkO8ENieXRlOjE5fQkzOTUgQnl0ZXMJTi9BCjEJMzZfMQkwCTEJdGFibGU6dGlkYl9tZGxfaW5mbywgaGFuZGxlOjkxCTEJdCFKCDQ3MjJKASgyLCBHZXQ6e251bQW7DDEsIHQhAABfJXhEMTc1LjLCtXN9CU4vQQlOL0EK')\n# Plan_digest: ca2b8c61a8ea82f17bacb18dbe38cd4b008fc18663d28963f5ced78ed80210d7\n# Binary_plan: tidb_decode_binary_plan('0AN4CssDCghEZWxldGVfMhKVAQoLUG9pbnRfR2V0XzEpAAUB8HnwPzABOAFAAUoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUgloYW5kbGU6OTFaFnRpbWU6NDcyLjXCtXMsIGxvb3BzOjJiJEdldDp7bnVtX3JwYzoxLCB0b3RhbF90aW1lOjE3NS4ywrVzfXD///////////8BeP///wkMBX0QUgNOL0ENXQg5ODQyXQB4MWL3AWNvbW1pdF90eG46IHtwcmV3cml0ZTo0OTQuNgWHDGdldF8RJAhzOjIBbgQsIAkRPDoyLjRtcywgc2xvd2VzdF8RPgBfAamQIHt0b3RhbDogMC4wMDBzLCByZWdpb25faWQ6IDIsIHN0b3JlOgkHDDEsIH0RVBxfcHJpbWFyeUZEAAAyikQADWQYbnVtOjEsIAXLEF9rZXlzGQ5cYnl0ZToxOX1wiwN4////////////ARgB')\ndelete from mysql.tidb_mdl_info where job_id = 91;"] [2024/05/06 16:33:24.206 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572871524843520\n# Query_time: 0.504544906\n# Parse_time: 0\n# Compile_time: 0.005167456\n# Rewrite_time: 0.000945835\n# Optimize_time: 0.001826301\n# Wait_TS: 0.000096391\n# Cop_time: 0.493910758 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 187\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000012568\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2QP0PgEwCTMxXzcJMAkzMzIzLjMzCWRhdGE6U2VsZWN0aW9uXzYJMQl0aW1lOjQ5NC41bXMsIGxvb3BzOjIsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuNjJtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMW1zLCBycGNfbnVtOiA0MjIsIHJwY190aW1lOiAzMDQuM21zLCBjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzo0MjEsIHRvdGFsX3RpbWU6OTIuNm1zfQkxODcgQnl0ZXMJTi9BCjEJMV82CTFfMAkzMzIzLjMzCWxlKG15c3FsLnRpZGJfbWRsX2luZm8udmVyc2lvbiwgNTIpJR4Ia3ZfJQgEe3QhKRQxLjRtcywtJxQwfQlOL0EBBBgKMgk0M181BWFEMTAwMDAJdGFibGU6dGlkYl9tDVx8LCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG+qbwA=')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('xwSYCsIECg1UYWJsZVJlYWRlcl83Ep4CCgtTZWxlY3Rpb25fNhKaAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBpAIjDQDABOAJAAkoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUh5rZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG9qH3Rpa3ZfdGFzazp7dGltZToxLjRtcywgbG9vcHM6MH1w/////wUEBAF4BQcBAQABBYksgE8iQSmrqqqqqvapDYkQUiNsZSgFiAAuMocAMC52ZXJzaW9uLCA1MinedAABawzqc+ZALnQAJAFAAVIQZGF0YTo9OyxaFXRpbWU6NDk0LjUZzBgyYsABY29wCexIIHtudW06IDEsIG1heDogMS42MgEqRHByb2Nfa2V5czogMCwgdG90XwESCDogMQEdDHJwY18FNgw0MjIsBQ4FZxQgMzA0LjMBIfBxY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6e251bV9ycGM6NDIxLCB0b3RhbF90aW1lOjkyLjZtc31wuwF4////////////ARgB')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 52;"] [2024/05/06 16:33:24.264 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=91] [jobType="modify column"] [2024/05/06 16:33:24.276 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:91, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:23.163 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:33:24.602 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=91] [2024/05/06 16:33:24.602 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:24.605 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.4882723740000001\n# Parse_time: 0\n# Compile_time: 0.021719298\n# Rewrite_time: 0.000041418\n# Optimize_time: 0\n# Wait_TS: 0.000087629\n# Is_internal: true\n# Digest: 8185ae5c66e7da348c92571f0427ae402eb5d645897bc0af1f34f48553ee3eb5\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.user CHANGE `Repl_client_priv` `Repl_client_priv` ENUM('N','Y') NOT NULL DEFAULT 'N' AFTER `Repl_slave_priv`;"] [2024/05/06 16:33:24.609 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=52] [cur_db=] [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 16:33:24.611 +08:00] [WARN] [bootstrap.go:2018] ["enable-batch-dml is now configured by the system variable tidb_enable_batch_dml. One-time importing the value specified in tidb.toml file"] [value=OFF] [2024/05/06 16:33:24.618 +08:00] [WARN] [bootstrap.go:2018] ["mem-quota-query is now configured by the system variable tidb_mem_quota_query. One-time importing the value specified in tidb.toml file"] [value=1073741824] [2024/05/06 16:33:24.625 +08:00] [WARN] [bootstrap.go:2018] ["query-log-max-len is now configured by the system variable tidb_query_log_max_len. One-time importing the value specified in tidb.toml file"] [value=4096] [2024/05/06 16:33:24.631 +08:00] [WARN] [bootstrap.go:2018] ["committer-concurrency is now configured by the system variable tidb_committer_concurrency. One-time importing the value specified in tidb.toml file"] [value=128] [2024/05/06 16:33:24.646 +08:00] [WARN] [bootstrap.go:2018] ["run-auto-analyze is now configured by the system variable tidb_enable_auto_analyze. One-time importing the value specified in tidb.toml file"] [value=ON] [2024/05/06 16:33:24.654 +08:00] [WARN] [bootstrap.go:2018] ["oom-action is now configured by the system variable tidb_mem_oom_action. One-time importing the value specified in tidb.toml file"] [value=cancel] [2024/05/06 16:33:24.660 +08:00] [WARN] [bootstrap.go:2018] ["prepared-plan-cache.enable is now configured by the system variable tidb_enable_prepared_plan_cache. One-time importing the value specified in tidb.toml file"] [value=ON] [2024/05/06 16:33:24.668 +08:00] [WARN] [bootstrap.go:2018] ["prepared-plan-cache.capacity is now configured by the system variable tidb_prepared_plan_cache_size. One-time importing the value specified in tidb.toml file"] [value=100] [2024/05/06 16:33:24.676 +08:00] [WARN] [bootstrap.go:2018] ["prepared-plan-cache.memory-guard-ratio is now configured by the system variable tidb_prepared_plan_cache_memory_guard_ratio. One-time importing the value specified in tidb.toml file"] [value=0.1] [2024/05/06 16:33:24.683 +08:00] [WARN] [bootstrap.go:2018] ["oom-use-tmp-storage is now configured by the system variable tidb_enable_tmp_storage_on_oom. One-time importing the value specified in tidb.toml file"] [value=ON] [2024/05/06 16:33:24.773 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:93, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:3, start time: 2024-05-06 16:33:24.718 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:24.773 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:93, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:3, start time: 2024-05-06 16:33:24.718 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] [2024/05/06 16:33:24.822 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 18, tp general"] [job="ID:93, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:24.718 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:24.853 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=34.582725ms] [2024/05/06 16:33:24.972 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=4.203858ms] [phyTblIDs="[70,92]"] [actionTypes="[2097152,2097152]"] [2024/05/06 16:33:25.038 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:25.038 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=93] [version=53] [2024/05/06 16:33:25.038 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=53] ["take time"=98.835782ms] [job="ID:93, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:3, start time: 2024-05-06 16:33:24.718 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:25.098 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 18, tp general"] [job="ID:93, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:24.718 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:25.230 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=93] [2024/05/06 16:33:25.230 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:25.233 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.538431694\n# Parse_time: 0\n# Compile_time: 0.011039792\n# Rewrite_time: 0.003676469\n# Optimize_time: 0\n# Wait_TS: 0.000074486\n# Is_internal: true\n# Digest: 812c81f344f5d0c8b8aedcb68ff1dca865b59104853273f7e66b8abff5429992\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE OR REPLACE VIEW mysql.tidb_mdl_view as ( select JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID );"] [2024/05/06 16:33:25.237 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=] [sql="ALTER TABLE mysql.user ADD COLUMN IF NOT EXISTS `User_attributes` JSON"] [user=] [2024/05/06 16:33:25.263 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=] [sql="ALTER TABLE mysql.user ADD COLUMN IF NOT EXISTS `Token_issuer` varchar(255)"] [user=] [2024/05/06 16:33:25.264 +08:00] [INFO] [txn.go:55] ["Try to create a new txn inside a transaction auto commit"] [schemaVersion=53] [txnStartTS=449572871927758848] [txnScope=global] [2024/05/06 16:33:25.265 +08:00] [WARN] [bootstrap.go:2018] ["performance.server-memory-quota is now configured by the system variable tidb_server_memory_limit. One-time importing the value specified in tidb.toml file"] [value=0] [2024/05/06 16:33:25.279 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=] [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 16:33:25.292 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=] [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 16:33:25.300 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=] [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 16:33:25.305 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=] [sql="ALTER TABLE mysql.bind_info ADD COLUMN IF NOT EXISTS `sql_digest` varchar(64)"] [user=] [2024/05/06 16:33:25.309 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=] [sql="ALTER TABLE mysql.bind_info ADD COLUMN IF NOT EXISTS `plan_digest` varchar(64)"] [user=] [2024/05/06 16:33:25.326 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=] [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 16:33:25.327 +08:00] [INFO] [txn.go:55] ["Try to create a new txn inside a transaction auto commit"] [schemaVersion=53] [txnStartTS=449572871946633216] [txnScope=global] [2024/05/06 16:33:25.332 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=] [sql="Alter table mysql.user add COLUMN IF NOT EXISTS `Password_reuse_history` smallint unsigned DEFAULT NULL AFTER `Create_Tablespace_Priv` "] [user=] [2024/05/06 16:33:25.338 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=] [sql="Alter table mysql.user add COLUMN IF NOT EXISTS `Password_reuse_time` smallint unsigned DEFAULT NULL AFTER `Password_reuse_history`"] [user=] [2024/05/06 16:33:25.344 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=] [sql="ALTER TABLE mysql.user ADD COLUMN IF NOT EXISTS `Password_expired` ENUM('N','Y') NOT NULL DEFAULT 'N'"] [user=] [2024/05/06 16:33:25.348 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=] [sql="ALTER TABLE mysql.user ADD COLUMN IF NOT EXISTS `Password_last_changed` TIMESTAMP DEFAULT CURRENT_TIMESTAMP()"] [user=] [2024/05/06 16:33:25.353 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=] [sql="ALTER TABLE mysql.user ADD COLUMN IF NOT EXISTS `Password_lifetime` SMALLINT UNSIGNED DEFAULT NULL"] [user=] [2024/05/06 16:33:25.377 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=] [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 16:33:25.918 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572871972061184\n# Query_time: 0.508437354\n# Parse_time: 0\n# Compile_time: 0.00233186\n# Rewrite_time: 0.000172925\n# Optimize_time: 0\n# Wait_TS: 0.000073989\n# Prewrite_time: 0.000706345 Commit_time: 0.000743314 Get_commit_ts_time: 0.000019635 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 3 Write_size: 181 Prewrite_region: 1\n# Is_internal: true\n# Digest: 8030d1de92c9952ea2b33fb9d6abe105507b2bd83d5b497c1e19a0ad2e8ebd3c\n# Num_cop_tasks: 0\n# Mem_max: 8548\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('9QLQMAkyN18xCTAJMAlOL0EJMAl0aW1lOjMuMDJtcywgbG9vcHM6MSwgcHJlZmV0Y2g6IDEuNTYBG4BycGM6IHtCYXRjaEdldDp7bnVtX3JwYzoyLCB0b3RhbF8FSbgxLjIybXN9fSwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjcwNi4zwrVzLCBnZXRfYw0kFHM6MTkuNgUXCTcMOjc0Mw0oHHNsb3dlc3RfEUMFdQQgewV0dDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0b3JlOgkHCDEsIBmOGHByaW1hcnnWRAANZAhudW0hIgXQHF9rZXlzOjMsDQ5cYnl0ZToxODF9CTM1NiBCeXRlcwlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('/gLwYQr5AgoISW5zZXJ0XzE4AUABUgNOL0FaFHRpbWU6My4wMm1zLCBsb29wczoxYkBwcmVmZXRjaDogMS41Nm1zLCBycGM6IHtCYXRjaEdldDp7bnVtX3JwYzoyLCB0b3RhbF90AUm4MS4yMm1zfX1i/QFjb21taXRfdHhuOiB7cHJld3JpdGU6NzA2LjPCtXMsIGdldF8RJBhzOjE5LjbCARcJExA6NzQzLgkoHHNsb3dlc3RfEUMFdjQge3RvdGFsOiAwLjAwMQGfSGVnaW9uX2lkOiAyLCBzdG9yZToJBxAxLCB9LA1XHF9wcmltYXJ51kQADWQYbnVtOjEsIAXQGF9rZXlzOjMRDmBieXRlOjE4MX1w5AJ4////////////ARgB')\nREPLACE HIGH_PRIORITY INTO `mysql`.`GLOBAL_VARIABLES` VALUES ('tidb_stats_load_pseudo_timeout', 1);"] [2024/05/06 16:33:25.930 +08:00] [INFO] [bootstrap.go:966] ["start migrate DDLs"] [2024/05/06 16:33:25.936 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:33:25.936 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 21, tp add index"] ["take time"=46.794µs] [2024/05/06 16:33:25.936 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 22, tp add index"] ["take time"=19.204µs] [2024/05/06 16:33:25.936 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 23, tp add index"] ["take time"=17.03µs] [2024/05/06 16:33:25.937 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 24, tp add index"] ["take time"=14.44µs] [2024/05/06 16:33:25.937 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 25, tp add index"] ["take time"=34.088µs] [2024/05/06 16:33:25.937 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 26, tp add index"] ["take time"=42.654µs] [2024/05/06 16:33:25.937 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 27, tp add index"] ["take time"=14.212µs] [2024/05/06 16:33:25.937 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 28, tp add index"] ["take time"=17.778µs] [2024/05/06 16:33:25.937 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 19, tp add index"] ["take time"=18.214µs] [2024/05/06 16:33:25.937 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 20, tp add index"] ["take time"=17.906µs] [2024/05/06 16:33:25.937 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:33:25.937 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 18, tp general"] ["take time"=5.657µs] [2024/05/06 16:33:25.937 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 16, tp general"] ["take time"=2.152µs] [2024/05/06 16:33:25.937 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 17, tp add index"] ["take time"=2.145µs] [2024/05/06 16:33:25.938 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:33:25.938 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:33:25.960 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=6a86f410-54a4-4bd2-b4b4-4e3f7117eb5c] ["take time"=24.130584ms] [2024/05/06 16:33:25.960 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=6a86f410-54a4-4bd2-b4b4-4e3f7117eb5c] [2024/05/06 16:33:25.960 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:33:25.960 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:33:25.961 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:33:25.961 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:33:25.961 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:33:25.983 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:33:25.984 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=47.623393ms] [2024/05/06 16:33:25.984 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=3e7a490e-17a8-4fc0-8ac6-ff58a9c5437d] ["ddl lease"=20ms] ["stats lease"=3s] ["index usage sync lease"=0s] [2024/05/06 16:33:26.113 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=53] ["start time"=127.659916ms] [2024/05/06 16:33:26.119 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:33:26.119 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=134.357797ms] [2024/05/06 16:33:26.119 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=efb774cc-6763-4144-b788-07b1be117498] [runWorker=true] [2024/05/06 16:33:26.119 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:33:26.121 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 30, tp add index"] [2024/05/06 16:33:26.121 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:33:26.122 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 29, tp general"] [2024/05/06 16:33:26.124 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:33:26.125 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:33:26.125 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:33:26.125 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:33:26.154 +08:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 16:33:26.522 +08:00] [INFO] [domain.go:1944] ["init stats info time"] ["take time"=68.497699ms] [2024/05/06 16:33:27.123 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:33:27.123 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:33:27.123 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 29, tp general"] ["take time"=4.042µs] [2024/05/06 16:33:27.123 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 30, tp add index"] ["take time"=2.111µs] [2024/05/06 16:33:27.123 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:33:27.123 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:33:27.123 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=efb774cc-6763-4144-b788-07b1be117498] ["take time"=642.526828ms] [2024/05/06 16:33:27.123 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=efb774cc-6763-4144-b788-07b1be117498] [2024/05/06 16:33:27.123 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:33:27.124 +08:00] [INFO] [domain.go:1779] ["HistoricalStatsWorker exited."] [2024/05/06 16:33:27.124 +08:00] [INFO] [domain.go:1721] ["PlanReplayerTaskDumpHandle exited."] [2024/05/06 16:33:27.124 +08:00] [INFO] [domain.go:1703] ["PlanReplayerTaskCollectHandle exited."] [2024/05/06 16:33:27.124 +08:00] [INFO] [domain.go:1444] ["LoadSysVarCacheLoop exited."] [2024/05/06 16:33:27.124 +08:00] [INFO] [domain.go:1394] ["loadPrivilegeInLoop exited."] [2024/05/06 16:33:27.124 +08:00] [INFO] [domain.go:1748] ["dumpFileGcChecker exited."] [2024/05/06 16:33:27.124 +08:00] [INFO] [domain.go:1525] ["globalBindHandleWorkerLoop exited."] [2024/05/06 16:33:27.124 +08:00] [INFO] [domain.go:1569] ["handleEvolvePlanTasksLoop exited."] [2024/05/06 16:33:27.124 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:33:27.124 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:33:27.124 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:33:27.124 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:33:27.125 +08:00] [INFO] [domain.go:2103] ["autoAnalyzeWorker exited."] [2024/05/06 16:33:27.125 +08:00] [INFO] [domain.go:2038] ["updateStatsWorker exited."] [2024/05/06 16:33:27.125 +08:00] [INFO] [domain.go:1959] ["loadStatsWorker exited."] [2024/05/06 16:33:27.125 +08:00] [INFO] [domain.go:2124] ["gcAnalyzeHistory exited."] [2024/05/06 16:33:27.125 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:33:27.125 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:33:27.125 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:33:27.125 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:33:27.125 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:33:27.158 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=677.289762ms] [2024/05/06 16:33:27.160 +08:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 16:33:27.161 +08:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 16:33:27.161 +08:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 16:33:27.161 +08:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 16:33:27.161 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 16:33:27.162 +08:00] [INFO] [db.go:625] ["Waiting for closer"] [2024/05/06 16:33:27.158 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:33:27.172 +08:00] [INFO] [region_cache.go:2484] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 16:33:27.175 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:33:27.175 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:33:27.184 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:33:27.184 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:33:27.191 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:33:27.195 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=17d7b5d6-a2c3-424c-a3e6-5cb4f56fda35] ["ddl lease"=20ms] ["stats lease"=3s] ["index usage sync lease"=0s] [2024/05/06 16:33:27.196 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).Init\n\tdomain/domain.go:1074\ngithub.com/pingcap/tidb/session.(*domainMap).Get.func1\n\tsession/tidb.go:90\ngithub.com/pingcap/tidb/util.RunWithRetry\n\tutil/misc.go:69\ngithub.com/pingcap/tidb/session.(*domainMap).Get\n\tsession/tidb.go:76\ngithub.com/pingcap/tidb/session.createSessionWithOpt\n\tsession/session.go:3520\ngithub.com/pingcap/tidb/session.createSession\n\tsession/session.go:3516\ngithub.com/pingcap/tidb/session.runInBootstrapSession\n\tsession/session.go:3480\ngithub.com/pingcap/tidb/session.BootstrapSession\n\tsession/session.go:3309\ngithub.com/pingcap/tidb/session.createStoreAndBootstrap\n\tsession/main_test.go:88\ngithub.com/pingcap/tidb/session.TestUpgradeVersion74.func1\n\tsession/bootstrap_test.go:702\ngithub.com/pingcap/tidb/session.TestUpgradeVersion74\n\tsession/bootstrap_test.go:734\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1446\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.227 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=30.916468ms] [2024/05/06 16:33:27.233 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:33:27.233 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=37.322964ms] [2024/05/06 16:33:27.233 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=cb96ffa9-a00d-4475-bdff-87b954b48791] [runWorker=true] [2024/05/06 16:33:27.233 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:33:27.234 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 31, tp general"] [2024/05/06 16:33:27.234 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 32, tp add index"] [2024/05/06 16:33:27.234 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:33:27.234 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:33:27.235 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:33:27.235 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:33:27.235 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:33:27.242 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 16:33:27.247 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.260 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.271 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:27.253 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:27.271 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:33:27.253 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 16:33:27.275 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.287 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.299 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.312 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.338 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.389 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.403 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.416 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.431 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.444 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.455 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.473 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.487 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.500 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.512 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.524 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.536 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.548 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.560 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.572 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.584 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.596 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.608 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.620 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.632 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.644 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.656 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.668 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.682 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.693 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.705 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.717 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.729 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.741 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.752 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.775 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.810 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.840 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.854 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.866 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.879 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.891 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.902 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.914 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.925 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.937 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.957 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.970 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.982 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:27.997 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:28.011 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:28.023 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:28.037 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:28.049 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:28.061 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:28.073 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:28.085 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:28.097 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:28.108 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:28.120 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:28.133 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:28.159 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:28.172 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:28.185 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:28.197 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:28.210 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:28.223 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:28.256 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:28.278 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:28.290 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:28.307 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:27.253 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:28.310 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:28.354 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:33:28.405 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=36.728338ms] [2024/05/06 16:33:28.422 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:33:28.422 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=54.853528ms] [2024/05/06 16:33:28.485 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:28.485 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=3] [version=1] [2024/05/06 16:33:28.486 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=122.176533ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:33:27.253 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:28.586 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:27.253 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:28.658 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=3] [2024/05/06 16:33:28.658 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:28.659 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.418137826\n# Parse_time: 0\n# Compile_time: 0.000711497\n# Rewrite_time: 0.000021045\n# Optimize_time: 0\n# Wait_TS: 0.00008463\n# DB: mysql\n# Is_internal: true\n# Digest: 0a22979ad136f741465cf206b13e5717b9758dda34f7cae5a7a925f91711d6a0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse mysql;\nCREATE DATABASE IF NOT EXISTS test;"] [2024/05/06 16:33:28.662 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 16:33:28.715 +08:00] [INFO] [session.go:3817] ["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 16:33:28.968 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:28.732 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:28.968 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:28.732 +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 16:33:29.059 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:28.732 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:29.236 +08:00] [INFO] [info.go:1114] [SetTiFlashGroupConfig] [2024/05/06 16:33:29.661 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=8.570497ms] [phyTblIDs="[4]"] [actionTypes="[8]"] [2024/05/06 16:33:29.686 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:29.687 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=5] [version=2] [2024/05/06 16:33:29.689 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=43.040273ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:28.732 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:29.754 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:28.732 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:30.077 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=5] [2024/05/06 16:33:30.078 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:30.079 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.389371455\n# Parse_time: 0\n# Compile_time: 0.02543726\n# Rewrite_time: 0.000013285\n# Optimize_time: 0\n# Wait_TS: 0.00009126\n# DB: mysql\n# Is_internal: true\n# Digest: 14c6b489558060bdbede877927034270db5af07c6621aa28f87eeaec8727e925\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.user ( Host CHAR(255), User CHAR(32), authentication_string TEXT, plugin CHAR(64), Select_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Insert_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Update_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Delete_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Process_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Grant_priv ENUM('N','Y') NOT NULL DEFAULT 'N', References_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_db_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Super_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Index_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_user_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Event_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_slave_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_client_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Trigger_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Account_locked ENUM('N','Y') NOT NULL DEFAULT 'N', Shutdown_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Reload_priv ENUM('N','Y') NOT NULL DEFAULT 'N', FILE_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Config_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N', Password_reuse_history smallint unsigned DEFAULT NULL, Password_reuse_time smallint unsigned DEFAULT NULL, User_attributes json, Token_issuer VARCHAR(255), Password_expired ENUM('N','Y') NOT NULL DEFAULT 'N', Password_last_changed TIMESTAMP DEFAULT CURRENT_TIMESTAMP(), Password_lifetime SMALLINT UNSIGNED DEFAULT NULL, PRIMARY KEY (Host, User));"] [2024/05/06 16:33:30.085 +08:00] [INFO] [session.go:3817] ["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 16:33:30.152 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:30.101 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:30.152 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:30.101 +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 16:33:30.215 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:30.101 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:30.315 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=2.262634ms] [phyTblIDs="[6]"] [actionTypes="[8]"] [2024/05/06 16:33:30.336 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:30.336 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=7] [version=3] [2024/05/06 16:33:30.337 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=30.657951ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:30.101 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:30.392 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:30.101 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:30.496 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=7] [2024/05/06 16:33:30.497 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:30.499 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.415822302\n# Parse_time: 0\n# Compile_time: 0.002779453\n# Rewrite_time: 0.000012301\n# Optimize_time: 0\n# Wait_TS: 0.000072027\n# DB: mysql\n# Is_internal: true\n# Digest: eeb59bc0d98f65a2a5aef8eaa99596260e746b00eed183baf856558ef03533ac\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.password_history ( Host char(255) NOT NULL DEFAULT '', User char(32) NOT NULL DEFAULT '', Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6), Password text, PRIMARY KEY (Host,User,Password_timestamp ) ) COMMENT='Password history for user accounts' ;"] [2024/05/06 16:33:30.507 +08:00] [INFO] [session.go:3817] ["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 16:33:31.113 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572873333899264\n# Query_time: 0.526971818\n# Parse_time: 0\n# Compile_time: 0.02089767\n# Rewrite_time: 0.000433701\n# Optimize_time: 0.001974055\n# Wait_TS: 0.000862517\n# Prewrite_time: 0.000845274 Commit_time: 0.000728408 Get_commit_ts_time: 0.000025095 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 3116 Prewrite_region: 1\n# Is_internal: true\n# Digest: 1b73a00c73a03d7dc9dd08a1ea99474b2523e5f72366f740be5156fa244256c4\n# Num_cop_tasks: 0\n# Mem_max: 11768\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('1gLwZTAJMjdfMQkwCTAJTi9BCTAJdGltZToxLjIybXMsIGxvb3BzOjEsIHByZXBhcmU6IDY1My41wrVzLCBpbnNlcnQ6NTY2LjfCtXMsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo4NDUuMwUxFGdldF9jbwkkFHM6MjUuMQUXCRMUOjcyOC40BREgc2xvd2VzdF9wDUPQX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwNVxxfcHJpbWFyedZEAA1kCG51bSEEAHcB0BBfa2V5cxkOWGJ5dGU6MzExNn0JMy40OSBLQglOL0EK')\n# Binary_plan: tidb_decode_binary_plan('4QLweQrcAgoISW5zZXJ0XzE4AUABUgNOL0FaFHRpbWU6MS4yMm1zLCBsb29wczoxYiJwcmVwYXJlOiA2NTMuNcK1cywgaW5zZXJ0OjU2Ni43wrVzYv4BY29tbWl0X3R4bjoge3ByZXdyaXRlOjg0NS4zwrVzLCBnZXRfY29tBSQUczoyNS4xBRcJNxQ6NzI4LjQFESRzbG93ZXN0X3ByCUOYX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvAZ8AcwEHEDEsIH0sDVccX3ByaW1hcnnWRAANZEBudW06MSwgd3JpdGVfa2V5cxkOZGJ5dGU6MzExNn1w+Bt4////////////ARgB')\ninsert into mysql.tidb_ddl_job(job_id, reorg, schema_ids, table_ids, job_meta, type, processing) values(9, false, \"1\", \"8\", 0x7b226964223a392c2274797065223a332c22736368656d615f6964223a312c227461626c655f6964223a382c22736368656d615f6e616d65223a226d7973716c222c227461626c655f6e616d65223a22676c6f62616c5f70726976222c227374617465223a382c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b7b226964223a382c226e616d65223a7b224f223a22676c6f62616c5f70726976222c224c223a22676c6f62616c5f70726976227d2c2263686172736574223a22757466386d6234222c22636f6c6c617465223a22757466386d62345f62696e222c22636f6c73223a5b7b226964223a312c226e616d65223a7b224f223a22486f7374222c224c223a22686f7374227d2c226f6666736574223a302c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a22222c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235342c22466c6167223a332c22466c656e223a3235352c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a322c226e616d65223a7b224f223a2255736572222c224c223a2275736572227d2c226f6666736574223a312c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a22222c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235342c22466c6167223a332c22466c656e223a38302c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a332c226e616d65223a7b224f223a2250726976222c224c223a2270726976227d2c226f6666736574223a322c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a22222c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235312c22466c6167223a343039372c22466c656e223a343239343936373239352c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d5d2c22696e6465785f696e666f223a5b7b226964223a312c226964785f6e616d65223a7b224f223a225052494d415259222c224c223a227072696d617279227d2c2274626c5f6e616d65223a7b224f223a22222c224c223a22227d2c226964785f636f6c73223a5b7b226e616d65223a7b224f223a22486f7374222c224c223a22686f7374227d2c226f6666736574223a302c226c656e677468223a2d317d2c7b226e616d65223a7b224f223a2255736572222c224c223a2275736572227d2c226f6666736574223a312c226c656e677468223a2d317d5d2c227374617465223a352c226261636b66696c6c5f7374617465223a302c22636f6d6d656e74223a22222c22696e6465785f74797065223a312c2269735f756e69717565223a747275652c2269735f7072696d617279223a747275652c2269735f696e76697369626c65223a66616c73652c2269735f676c6f62616c223a66616c73657d5d2c22636f6e73747261696e745f696e666f223a6e756c6c2c22666b5f696e666f223a6e756c6c2c227374617465223a302c22706b5f69735f6861(len:6277);"] [2024/05/06 16:33:31.114 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:30.563 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:31.114 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:30.563 +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 16:33:31.223 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:30.563 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:31.818 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572873520021504] ["min commit ts"=449572873522118657] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6OAD+] [2024/05/06 16:33:31.818 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572873495642112] [info="{StartTs:449572873495642112 AttemptedCommitTs:449572873520021504 Key:6d44423a3100000000fb00000000000000685461626c653a3800fe MinCommitTs:449572873522118657}"] [2024/05/06 16:33:31.823 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572873522118656\n# Query_time: 0.501872626\n# Parse_time: 0\n# Compile_time: 0.004648195\n# Rewrite_time: 0.000822383\n# Optimize_time: 0.001792626\n# Wait_TS: 0.000091844\n# Cop_time: 0.493245977 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 171\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000011691\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('0gPwfTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6NDkzLjVtcywgbG9vcHM6MSwgY29wX3Rhc2s6IHtudW06IDEsIG1heDogOTYyLjPCtXMsIHByb2Nfa2V5czogMCwgcnBjX251bTogNDEzLCBycGNfdAFZHCAzMDYuNm1zBVHweXJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjQxMiwgdG90YWxfdGltZToxMTEuN21zfQkxNzEgQnl0ZXMJTi9BCjEJMV82CTFfMAkzDf/AbGUobXlzcWwudGlkYl9tZGxfaW5mby52ZXJzaW9uLCAzKQkwCXRpa3ZfdGFzazp7dAHDFDc2MC41wgHyAGwlHQQwfQFeAQRcCjIJNDNfNQkxXzAJMTAwMDAJdGFibGU6Ml4AgCwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCbJyAA==')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('ugSYCrUECg1UYWJsZVJlYWRlcl83Ep8CCgtTZWxlY3Rpb25fNhKbAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBxAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiJ0aWt2X3Rhc2s6e3RpbWU6NzYwLjXCtXMsIGxvb3BzOjB9cP///////////wF4CQgM////AQWKLIBPIkEpq6qqqqr2qQWKEFIibGUoBYkALjKIADQudmVyc2lvbiwgMylqIuJ0AAFrDOpz5kAZdCQBQAFSEGRhdGE6PToIWhV0AcsYNDkzLjVtcxHKIDFitAFjb3BfdAHtTCB7bnVtOiAxLCBtYXg6IDk2Mi4zBfZEcHJvY19rZXlzOiAwLCBycGNfBSkINDEzCQ4FWhQgMzA2LjYBW/ByY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6e251bV9ycGM6NDEyLCB0b3RhbF90aW1lOjExMS43bXN9cKsBeP///////////wEYAQ==')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 3;"] [2024/05/06 16:33:31.826 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=1.83691ms] [phyTblIDs="[8]"] [actionTypes="[8]"] [2024/05/06 16:33:31.885 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:31.886 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=9] [version=4] [2024/05/06 16:33:31.886 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=66.274724ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:30.563 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:31.966 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:30.563 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:32.046 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=9] [2024/05/06 16:33:32.046 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:32.047 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.541603919\n# Parse_time: 0\n# Compile_time: 0.002158646\n# Rewrite_time: 0.0000123\n# Optimize_time: 0\n# Wait_TS: 0.000136676\n# DB: mysql\n# Is_internal: true\n# Digest: 3bc9b46cf9e300a8d240915cf47216424544ed9f992c07151fba2e2cadc41632\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE 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 16:33:32.077 +08:00] [INFO] [session.go:3817] ["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),\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 16:33:32.322 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:32.092 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:32.323 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:32.092 +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),\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 16:33:32.404 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:32.092 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:32.734 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=6.271792ms] [phyTblIDs="[10]"] [actionTypes="[8]"] [2024/05/06 16:33:32.786 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:32.786 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=11] [version=5] [2024/05/06 16:33:32.788 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=66.557384ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:32.092 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:32.838 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:32.092 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:33.016 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=11] [2024/05/06 16:33:33.016 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:33.022 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.960762795\n# Parse_time: 0\n# Compile_time: 0.015824605\n# Rewrite_time: 0.000013951\n# Optimize_time: 0\n# Wait_TS: 0.00007351\n# DB: mysql\n# Is_internal: true\n# Digest: aeaf612801484f0311f850d36f60f29e6d904828682c1f3bb7307dff25ca3a15\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.db ( Host CHAR(255), DB CHAR(64), User CHAR(32), Select_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Insert_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Update_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Delete_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Grant_priv ENUM('N','Y') NOT NULL DEFAULT 'N', References_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Index_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Event_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Trigger_priv ENUM('N','Y') NOT NULL DEFAULT 'N', PRIMARY KEY (Host, DB, User));"] [2024/05/06 16:33:33.033 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:33:33.129 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:33.046 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:33.129 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:33.046 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:33:33.191 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:33.046 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:33.372 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=3.374323ms] [phyTblIDs="[12]"] [actionTypes="[8]"] [2024/05/06 16:33:33.435 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:33.435 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=13] [version=6] [2024/05/06 16:33:33.436 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=70.472392ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:33.046 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:33.504 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:33.046 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:34.084 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572874114564096] ["min commit ts"=449572874205265921] [key=bURETEpvYkhp/3N0b3J5AAAA/AAAAAAAAABoAAAAAAAAAA3/AAAAAAAAAAD3] [2024/05/06 16:33:34.085 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572874092281856] [info="{StartTs:449572874092281856 AttemptedCommitTs:449572874114564096 Key:6d44444c4a6f624869ff73746f7279000000fc0000000000000068000000000000000dff0000000000000000f7 MinCommitTs:449572874205265921}"] [2024/05/06 16:33:34.126 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=13] [2024/05/06 16:33:34.126 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:34.130 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.10239116\n# Parse_time: 0\n# Compile_time: 0.005576244\n# Rewrite_time: 0.00001186\n# Optimize_time: 0\n# Wait_TS: 0.00006475\n# DB: mysql\n# Is_internal: true\n# Digest: e8b37dad6cc7f05ee1f0be61455667495826928a93ddd09b94e02fbaed113955\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tables_priv ( Host CHAR(255), DB CHAR(64), User CHAR(32), Table_name CHAR(64), Grantor CHAR(77), Timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, Table_priv SET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'), Column_priv SET('Select','Insert','Update','References'), PRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 16:33:34.139 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:33:34.244 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:34.165 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:34.244 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:34.165 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:33:34.836 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572874310123520\n# Query_time: 0.506556022\n# Parse_time: 0\n# Compile_time: 0.001592846\n# Rewrite_time: 0.003564768\n# Optimize_time: 0.011554488\n# Wait_TS: 0.000091478\n# Prewrite_time: 0.000675038 Commit_time: 0.000771241 Get_commit_ts_time: 0.000020622 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 5322 Prewrite_region: 1\n# Is_internal: true\n# Digest: bb9a0484a27cea37dfc9b79800bc11ddc72f4ac11810a6eb126d600a567ce029\n# Num_cop_tasks: 0\n# Mem_max: 18583\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('oAPwTDAJMjhfMwkwCTAJTi9BCTAJdGltZToxLjYzbXMsIGxvb3BzOjEsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo2NzXCtXMsIGdldF9jb21tASIYczoyMC42wgEXCTUUOjc3MS4yBREgc2xvd2VzdF9wDUHQX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwNVxxfcHJpbWFyedZEAA1kCG51bQHeBc4QX2tleXMZDvA+Ynl0ZTo1MzIyfQk2LjE1IEtCCU4vQQoxCTM2XzEJMAkxCXRhYmxlOnRpZGJfZGRsX2pvYiwgaGFuZGxlOjE1ASAhSgQ1MTEOKUwoMiwgR2V0OntudW0FugwxLCB0Af8AXwUuRDE3MS42wrVzfQlOL0EJTi9BCg==')\n# Plan_digest: 3fea32741ba131a439f08d925bc0d60ce688c732cc613c6d3625da6592028edc\n# Binary_plan: tidb_decode_binary_plan('0gN4Cs0DCghVcGRhdGVfMxKUAQoLUG9pbnRfR2V0XzEpAAUB8HXwPzABOAFAAUoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSCWhhbmRsZToxNVoWdGltZTo1MTAuNsK1cywgbG9vcHM6MmIkR2V0OntudW1fcnBjOjEsIHRvdGFsX3RpbWU6MTcxLjbCtXN9cP///////////wF4CQgI////BXwYUgNOL0FaFAkvGC42M21zLCAJW3QxYvwBY29tbWl0X3R4bjoge3ByZXdyaXRlOjY3NcIBgwxnZXRfESIIczoyEZoJExQ6NzcxLjIFKBxzbG93ZXN0XxFBGF9ycGM6IHsFqXQ6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG9yZToJBxAxLCB9LA1XHF9wcmltYXJ51kQADWQYbnVtOjEsIAXOEF9rZXlzGQ5kYnl0ZTo1MzIyfXCXMXj///////////8BGAE=')\nupdate mysql.tidb_ddl_job set processing = 1 where job_id = 15;"] [2024/05/06 16:33:34.837 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:34.165 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:34.995 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=3.758196ms] [phyTblIDs="[14]"] [actionTypes="[8]"] [2024/05/06 16:33:35.036 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:35.036 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=15] [version=7] [2024/05/06 16:33:35.036 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=58.201981ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:34.165 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:35.088 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:34.165 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:35.239 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=15] [2024/05/06 16:33:35.239 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:35.241 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.105842215\n# Parse_time: 0\n# Compile_time: 0.003757811\n# Rewrite_time: 0.000013271\n# Optimize_time: 0\n# Wait_TS: 0.000086371\n# DB: mysql\n# Is_internal: true\n# Digest: a19edbb3caff8cc57619278ab6eb5f791d7a821432309abe7184d0a7bca66b4d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.columns_priv( Host CHAR(255), DB CHAR(64), User CHAR(32), Table_name CHAR(64), Column_name CHAR(64), Timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, Column_priv SET('Select','Insert','Update','References'), PRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 16:33:35.244 +08:00] [INFO] [session.go:3817] ["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(1024) DEFAULT NULL);"] [user=] [2024/05/06 16:33:35.297 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:35.256 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:35.297 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:35.256 +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(1024) DEFAULT NULL);"] [2024/05/06 16:33:35.402 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:35.256 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:35.486 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=2.184159ms] [phyTblIDs="[16]"] [actionTypes="[8]"] [2024/05/06 16:33:35.536 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:35.536 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=17] [version=8] [2024/05/06 16:33:35.537 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=58.036739ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:35.256 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:35.632 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:35.256 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:35.672 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=33.559589ms] [2024/05/06 16:33:36.184 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572874665066496] ["min commit ts"=449572874773856257] [key=bURETEpvYkhp/3N0b3J5AAAA/AAAAAAAAABoAAAAAAAAABH/AAAAAAAAAAD3] [2024/05/06 16:33:36.184 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572874650124288] [info="{StartTs:449572874650124288 AttemptedCommitTs:449572874665066496 Key:6d44444c4a6f624869ff73746f7279000000fc00000000000000680000000000000011ff0000000000000000f7 MinCommitTs:449572874773856257}"] [2024/05/06 16:33:36.207 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=17] [2024/05/06 16:33:36.207 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:36.208 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.965270553\n# Parse_time: 0\n# Compile_time: 0.001567967\n# Rewrite_time: 0.000013313\n# Optimize_time: 0\n# Wait_TS: 0.000076341\n# DB: mysql\n# Is_internal: true\n# Digest: 55c1ea537145da60f32339dc7a3b69a3859f3f428fbae4e4023eb71dca836f47\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES( VARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY, VARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [2024/05/06 16:33:36.214 +08:00] [INFO] [session.go:3817] ["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 16:33:36.270 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:36.228 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:36.270 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:36.228 +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 16:33:36.340 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:36.228 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:36.946 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572874864295937] ["min commit ts"=449572874867965953] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6MTj/AAAAAAAAAAD3] [2024/05/06 16:33:36.946 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572874837032960] [info="{StartTs:449572874837032960 AttemptedCommitTs:449572874864295937 Key:6d44423a3100000000fb00000000000000685461626c653a3138ff0000000000000000f7 MinCommitTs:449572874867965953}"] [2024/05/06 16:33:36.953 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572874867965952\n# Query_time: 0.501587818\n# Parse_time: 0\n# Compile_time: 0.008517899\n# Rewrite_time: 0.00096574\n# Optimize_time: 0.002027366\n# Wait_TS: 0.000097041\n# Cop_time: 0.490074026 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 171\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.00001322\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwPwbTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6NDkwLjRtcywgbG9vcHM6MSwgY29wX3Rhc2s6IHtudW06IDEsIG1heDogMS4wM21zLCBwcm9jX2tleXM6IDAsIHJwY19uASckMzY1LCBycGNfdAFXHCAzMDQuOW1zBU/wdXJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjM2NCwgdG90YWxfdGltZTo5OS44bXN9CTE3MSBCeXRlcwlOL0EKMQkxXzYJMV8Z/MBsZShteXNxbC50aWRiX21kbF9pbmZvLnZlcnNpb24sIDgpCTAJdGlrdl90YXNrOnt0AcIYODI4LjbCtTUaFDB9CU4vQQEEXAoyCTQzXzUJMV8wCTEwMDAwCXRhYmxlOjJeAIAsIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkbwmycgA=')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('twSYCrIECg1UYWJsZVJlYWRlcl83Ep8CCgtTZWxlY3Rpb25fNhKbAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBxAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiJ0aWt2X3Rhc2s6e3RpbWU6ODI4LjbCtXMsIGxvb3BzOjB9cP///////////wF4CQgM////AQWKLIBPIkEpq6qqqqr2qQWKEFIibGUoBYkALjKIADQudmVyc2lvbiwgOClqIuJ0AAFrDOpz5kAZdCQBQAFSEGRhdGE6PToIWhV0AcsYNDkwLjRtcxHKIDFisQFjb3BfdAHtSCB7bnVtOiAxLCBtYXg6IDEuMDMBKkRwcm9jX2tleXM6IDAsIHJwY18FJwgzNjUJDgVYFCAzMDQuOQEv8HFjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzozNjQsIHRvdGFsX3RpbWU6OTkuOG1zfXCrAXj///////////8BGAE=')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 8;"] [2024/05/06 16:33:36.957 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=2.046487ms] [phyTblIDs="[18]"] [actionTypes="[8]"] [2024/05/06 16:33:36.989 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:36.989 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=19] [version=9] [2024/05/06 16:33:36.990 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=40.436382ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:36.228 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:37.079 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:36.228 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:37.153 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=19] [2024/05/06 16:33:37.154 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:37.156 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.944130922\n# Parse_time: 0\n# Compile_time: 0.002829824\n# Rewrite_time: 0.000012055\n# Optimize_time: 0\n# Wait_TS: 0.000095961\n# DB: mysql\n# Is_internal: true\n# Digest: 0cc4a9cf54472ccff7c4fb8d7c6e34e6bd96af08b450ad4c9677473f1f517cf2\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tidb( VARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY, VARIABLE_VALUE VARCHAR(1024) DEFAULT NULL, COMMENT VARCHAR(1024));"] [2024/05/06 16:33:37.194 +08:00] [INFO] [session.go:3817] ["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 16:33:37.305 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:37.226 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:37.305 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:37.226 +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 16:33:37.401 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:37.226 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:37.540 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=2.712507ms] [phyTblIDs="[20]"] [actionTypes="[8]"] [2024/05/06 16:33:37.586 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:37.586 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=21] [version=10] [2024/05/06 16:33:37.588 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=56.465256ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:37.226 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:37.640 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:37.226 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:37.760 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=21] [2024/05/06 16:33:37.761 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:37.763 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.585942631\n# Parse_time: 0\n# Compile_time: 0.017396692\n# Rewrite_time: 0.000014529\n# Optimize_time: 0\n# Wait_TS: 0.000096224\n# DB: mysql\n# Is_internal: true\n# Digest: ca851971407336dad93908a9f88f01d828a4e18f332111987f4a7675bced7ea4\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.help_topic ( help_topic_id INT(10) UNSIGNED NOT NULL, name CHAR(64) NOT NULL, help_category_id SMALLINT(5) UNSIGNED NOT NULL, description TEXT NOT NULL, example TEXT NOT NULL, url TEXT NOT NULL, PRIMARY KEY (help_topic_id) clustered, UNIQUE KEY name (name) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 16:33:37.771 +08:00] [INFO] [session.go:3817] ["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 16:33:37.849 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:37.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:37.849 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:37.785 +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 16:33:37.929 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:37.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:38.069 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=2.821576ms] [phyTblIDs="[22]"] [actionTypes="[8]"] [2024/05/06 16:33:38.136 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:38.136 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=23] [version=11] [2024/05/06 16:33:38.136 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=74.916677ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:37.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:38.203 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:37.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:38.331 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=23] [2024/05/06 16:33:38.332 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:38.333 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.566048574\n# Parse_time: 0\n# Compile_time: 0.00432082\n# Rewrite_time: 0.000013992\n# Optimize_time: 0\n# Wait_TS: 0.000082824\n# DB: mysql\n# Is_internal: true\n# Digest: db16a74bd407cb00f071eafe96456094f48fc00e802128fc486ef4847b8910b0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_meta ( version BIGINT(64) UNSIGNED NOT NULL, table_id BIGINT(64) NOT NULL, modify_count BIGINT(64) NOT NULL DEFAULT 0, count BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, snapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, INDEX idx_ver(version), UNIQUE INDEX tbl(table_id) );"] [2024/05/06 16:33:38.349 +08:00] [INFO] [session.go:3817] ["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 16:33:38.350 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [2024/05/06 16:33:38.470 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:38.372 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:38.470 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:38.372 +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 16:33:38.554 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:38.372 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:38.746 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=4.685725ms] [phyTblIDs="[24]"] [actionTypes="[8]"] [2024/05/06 16:33:38.786 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:38.786 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=25] [version=12] [2024/05/06 16:33:38.786 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=50.761506ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:38.372 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:38.859 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:38.372 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:39.016 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=25] [2024/05/06 16:33:39.017 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:39.019 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.677308782\n# Parse_time: 0\n# Compile_time: 0.007410214\n# Rewrite_time: 0.000015762\n# Optimize_time: 0\n# Wait_TS: 0.000088278\n# DB: mysql\n# Is_internal: true\n# Digest: 7780c45a0aac5f123ac85a7e601e79c5d7779e7c09a19953908e547605ed45d2\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_histograms ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, distinct_count BIGINT(64) NOT NULL, null_count BIGINT(64) NOT NULL DEFAULT 0, tot_col_size BIGINT(64) NOT NULL DEFAULT 0, modify_count BIGINT(64) NOT NULL DEFAULT 0, version BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, cm_sketch BLOB(6291456), stats_ver BIGINT(64) NOT NULL DEFAULT 0, flag BIGINT(64) NOT NULL DEFAULT 0, correlation DOUBLE NOT NULL DEFAULT 0, last_analyze_pos LONGBLOB DEFAULT NULL, UNIQUE INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:33:39.035 +08:00] [INFO] [session.go:3817] ["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 16:33:39.111 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:39.05 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:39.111 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:39.05 +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 16:33:39.200 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:39.05 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:39.319 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=16.335433ms] [2024/05/06 16:33:42.401 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572875586502657, lockForUpdateTS:0, minCommitTs:0, ttl: 3160, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:33:42.401 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572875586502657, lockForUpdateTS:0, minCommitTs:0, ttl: 3160, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:33:42.402 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572875586502657, lockForUpdateTS:0, minCommitTs:0, ttl: 3160, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:33:42.408 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572875628969984\n# Query_time: 3.052149186\n# Parse_time: 0\n# Compile_time: 0.005768813\n# Rewrite_time: 0.00096186\n# Optimize_time: 0.002145164\n# Wait_TS: 0.00011169\n# Cop_time: 3.043903565 Process_time: 0.005 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.005 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 177\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000014147\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2gPweTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6My4wNHMsIGxvb3BzOjEsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDUuOThtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogNW1zLCBycGNfBTYUMjMxNiwgAQ8AdAFlFCAxLjgzcwVd8ExyX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzoyMzE1LAGADGFsX3QBZHg3MTIuN21zfQkxNzcgQnl0ZXMJTi9BCjEJMV82CTFfOQqobGUobXlzcWwudGlkYl9tZGxfaW5mby52ZXJzaW9uLCAxMikJMAl0aWt2XyUJBHt0AV8MNS43NgHjAGwlKQQwfQFdAQQYCjIJNDNfNQViLDEwMDAwCXRhYmxlOjJdAHwsIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkb65wAA==')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('wgSYCr0ECg1UYWJsZVJlYWRlcl83EpwCCgtTZWxlY3Rpb25fNhKZAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBpAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6NS43Nm1zLCBsb29wczowfXD//////wEEBAF4AQYFAQABBYgsgE8iQSmrqqqqqvapBYgQUiNsZSgFhwAuMoYAOC52ZXJzaW9uLCAxMilqINpzAAFqDOpz5kAZcyQBQAFSEGRhdGE6PTcIWhN0AcgMMy4wNBXHIDFiwQFjb3BfdAHooCB7bnVtOiAxLCBtYXg6IDUuOThtcywgcHJvY19rZXlzOiAwLCB0b3RfARIIOiA1AR0McnBjXwU2EDIzMTYsBQ8FZvBJIDEuODNzLCBjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazoBlSBfcnBjOjIzMTUFgAxhbF90AcpcNzEyLjdtc31wsQF4////////////ARgB')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 12;"] [2024/05/06 16:33:42.412 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 6d446966663a313300fe0000000000000073, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572875586502657, lockForUpdateTS:0, minCommitTs:449572875586502658, ttl: 3160, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:33:42.412 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572875864637440\n# Query_time: 2.168733468\n# Parse_time: 0\n# Compile_time: 0.021170653\n# Rewrite_time: 0.003190126\n# Optimize_time: 0.013361714\n# Wait_TS: 0.000099186\n# Cop_time: 2.10424044 Process_time: 0.001 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0005 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12630\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('whO4MAkzXzEzCTAJMjIzNi44NglteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwQ3Byb2Nlc3NpbmcJMAl0aW1lOjIuMTFzLCBsb29wczoxLCBDb25jdXJyZW5jeTo1CTExLjggS0IJTi9BCjEJMTRfMTQJcn4AGWEUOmRlc2MsToUAFGpvYl9pZFaBABwJMCBCeXRlcxEIHAoyCTE3XzI4HfRUaW5uZXIgam9pbiwgZXF1YWw6W2VxKFoKAQRpZAHTIGx1bW4jMTUpXVZ1AJgsIGJ1aWxkX2hhc2hfdGFibGU6e3RvdGFsOjEuMjRtcywgZmV0Y2gVDgUuDDowc30RphEIJAozCTMxXzQxKEIBUAApHbVAZGF0YTpTZWxlY3Rpb25fNDARihA4MzDCtS6BAXBjb3BfdGFzazoge251bTogMSwgbWF4OiA5NTguMgUrIWQ0X2tleXM6IDAsIHJwY18RKQEMJdYUIDg1MC4xBS6YY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uNfUcIDE1fQkxNzEtiBhOL0EKNAkxAbIEMV9y+wEMcmVvcklXBGt2CcIAewWMCDY5NQWJSWMEMH0BUwEEHAo1CTQ0XzM5BVgcNjY2Ni42Nwkpfi7RAvA8LCByYW5nZTpbLWluZiwyNyksICgyNywraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCUHlmo4ALDMJNl8yOShQcm9iZSG6ODY0MDAJZ3JvdXAgYnk6Q1FEQCwgZnVuY3M6Zmlyc3Ryb3coFRoIKS0+FQwx3gAyOl4DTHBhcnRpYWxfd29ya2VyOnt3YWxsKbI4Mi4xMDY5MjExODJzLCBjPZEYNSwgdGFzayXlYDAsIHRvdF93YWl0OjEwLjUzMDU3OTUzNnMJGBRleGVjOjANDSV9CSUQNjM4ODkBJUFKBWosMjE5Mjc1cywgcDk1MhIAFH0sIGZpbmKjABg3MTQ3OTI3rqMAFDExNTY0MAF+AbsFoxg1Ni4zMzHCQfgBFBmqDDEyMzkFlxmpDDk5ODQ2qQAJEllIQZ8AM2FRJbMUbm90KGVxOZccLCAyNykpLCABGBRpc251bGwZHAApIekFfjapAQgJMziRiGEAEDUJNl8zIdQIODAwXRRKcwRhmwBlpWAALE76BCRzY2hlbWFfaWRzUh8ARf0JHkllCG1pbhWtADgyYAIAMUq3AAQyLHpgAhg1NTIwMzIzar0BADFJSFVgGDI1MjQxMDhNUiW8HDIxNi4zOTjCQr0BGDI1NTQyMjFBvzG+DDUxODclz1FmDRF6ZQIUNTY3OTM4wZdeCANCqAAUNjY2NTg1MmUCGDIxOS40MjdKqQAUNjkzNDU1AdYVqRA2MDUwMCEaFaoNEllnADah3AwzNgkwSQel0iRIYXNoQWdnXzMxPZIAc/FPADJhyQBwqQwAIDbOBQwxLjMzwVlBMbnMYQ0BEgg6IDEBHaHPqdsINDQ2qepFrQwgMS4xAevO2wU0LCBSZXNvbHZlTG9jazoBlRxfcnBjOjE0NIFowfUJZCg2MDUuM21zfQkxOS4LAwA3YQsEMQnBC/4NA84NA0pzAxZOCH0dADglizb2BQgxLjElb0KEBhQ4CTQzXzOBQgwwCTEwYd9lhTqCBnpmBmGNmnAA')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('lxbwSQqSFgoNUHJvamVjdGlvbl8xMxL8FAoHU29ydF8xNBKGFAoLSGFzaEpvaW5fMjgSmQQKDlRhYmxlUmVhZGVyXzQxEq8CCgxTZWxlCUAYNDAStgEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wWzpbLWluZiwyNyksICgyNywraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6Njk1wrVzLCBsb29wczowfXD/////BQMEAXgFBwEBAAEFoyyAMSdBKSEdgEm5eaEFowRSGAWfBC50HZ4ULnJlb3Jn3mgALBoBASGjSOSouVzrQBlrKAFAAVIRZGF0YTpTPU0kWhR0aW1lOjgzMB3BGDFihAFjb3AJ4kwge251bTogMSwgbWF4OiA5NTguMgUsRHByb2Nfa2V5czogMCwgcnBjXxEpAQwFVxQgODUwLjEFLthjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9cKsBPT8QErgOCgpBLCBBZ2dfMjkS3AouGAIQMzAS4gkZIBAzNRKzBTZLAhAzNhKRAx0iFDESmwEKEEVJDEZ1bGxJSAA0JaUU8O8wQSkAAQEQiMNAMAF2SgIAHr4uAhQxLjEzbXOSLgIIKGUxDYkEQL8NiTxSlAFncm91cCBieTpteXNxOjoCIZYcZXNzaW5nLCBKHwAkc2NoZW1hX2lkc1IfABB0YWJsZQkeJGZ1bmNzOm1pbihKRwBEam9iX2lkKS0+Q29sdW1uIzE4Rq0CmucAHN7d3d0dPvdAKXAJ50GsBA9kQawISGFzJfAMMzFaEkVTCDIuMTU7CDJiwWKoAggxLjMlZSEQWaYMdG90XwESCDogMSGCQalJtQg0NDZJxAVlGCAxLjE2cyzStQI0LCBSZXNvbHZlTG9jazphPSRfcnBjOjE0NDUsAYAEYWwJZCQ2MDUuM21zfXC+MiQEIQ8MrWz4QD4PAQCE/vYBvvYBNdo95gg1WhMlIAgyLjEuhgFQ0wJwYXJ0aWFsX3dvcmtlcjp7d2FsDecoMi4xMDU1MjAzMjMlUQBudeIhDwhhc2slgQAxJRtEX3dhaXQ6MTAuNTI1MjQxMDhzCRcsZXhlYzoyMTYuMzk4hU0hxwWJCSwUNTQyMjEyQdIEYXgJcSgxODc3NXMsIHA5NS4RABR9LCBmaW5mqAAQNjc5MzgB2gRjb5qoABQ2NjY1ODVBLAGUDakQOS40MjdKqQAUNjkzNDU1AdYVqRA2MDUwMCEaFaoNEl5EBkUgBEj+TSAIALlAZS0YLm5vdChlcTW1IDUsIDI3KSksIAEYFGlzbnVsbBkcBCkpTscBDDFw/AK9biQaAQIhRERERCRjPmwABDhnkX9RIwQ1LI0uHGZpcnN0cm93HWyZI1I9AggxYsx6PQIUNjkyMTE4Id5elQEAMEkmVT0YMzA1Nzk1MzKVAQAwTUtVNhgzMDYzODg5ASUxjRA2MjE5MjI3AhESejgCGDcxNDc5Mjdq4AJCowAUMTE1NjQwAX5VOBQ1Ni4zMzFGNwIQMzEyMzkFlxmpDDk5ODQu4AIANg0SXjYCHByoyBAIBQdBNg8IWDxpbm5lciBqb2luLCBlcXVhbDpbZXEoYvAFBCwgNfIEKV1SRAIwYjdidWlsZF9oYXNoX8VNLDp7dG90YWw6MS4yNKFzEGZldGNoFQ4FLiw6MHN9IZQK+LdGERA6ogAAPUqMAKHAAGXF4hA6ZGVzY1LIBsmgUqMAGCGE1+kvhyY+agBOTAcBRhBtZXRhLE5KBxmHUmcADGINQ2+dRDxwnF54////////////ARgB')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (27) order by processing desc, job_id;"] [2024/05/06 16:33:42.866 +08:00] [ERROR] [mvcc.go:1021] ["commit failed, no correspond lock found"] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6Mjb/AAAAAAAAAAD3] ["start ts"=449572875586502657] [lock="{{0 0 0 0 0 false 0 false 0} [] [] []}"] [error="retryable: lock not found"] [stack="github.com/pingcap/tidb/store/mockstore/unistore/tikv.(*MVCCStore).Commit\n\tstore/mockstore/unistore/tikv/mvcc.go:1021\ngithub.com/pingcap/tidb/store/mockstore/unistore/tikv.(*Server).KvCommit\n\tstore/mockstore/unistore/tikv/server.go:366\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:183\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).sendReqToRegion\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1421\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReqCtx\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1177\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReq\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:234\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionCommit.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:98\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1036\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:969\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:788\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:222\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitTxn\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1701\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1692\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:33:42.867 +08:00] [WARN] [session.go:1025] ["can not retry txn"] [label=internal] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 16:33:42.867 +08:00] [WARN] [session.go:1041] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [2024/05/06 16:33:42.868 +08:00] [INFO] [job_table.go:255] ["[ddl] handle ddl job failed"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:39.05 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:42.901 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:39.05 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:42.998 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=321.942µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:43.030 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=399.938µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:43.045 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=278.21µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:43.059 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=279.038µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:43.074 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=268.973µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:43.091 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=163.65µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:43.109 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=392.949µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:43.142 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=365.273µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:43.160 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=14] ["start time"=3.413566ms] [phyTblIDs="[26]"] [actionTypes="[8]"] [2024/05/06 16:33:43.186 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:43.187 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=27] [version=14] [2024/05/06 16:33:43.188 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=43.083955ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:39.05 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:43.706 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572876633767936] ["min commit ts"=449572876638224385] [key="dIAA///////7X3KAAAAAAAAAGw=="] [2024/05/06 16:33:43.706 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572876633243648] [info="{StartTs:449572876633243648 AttemptedCommitTs:449572876633767936 Key:748000fffffffffffb5f72800000000000001b MinCommitTs:449572876638224385}"] [2024/05/06 16:33:43.710 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572876633243648\n# Query_time: 0.5185721\n# Parse_time: 0\n# Compile_time: 0.001381334\n# Rewrite_time: 0\n# Optimize_time: 0\n# Wait_TS: 0.000086533\n# Prewrite_time: 0.000591544 Commit_time: 0.002274898 Get_commit_ts_time: 0.000018029 Slowest_prewrite_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 19 Prewrite_region: 1\n# Is_internal: true\n# Digest: bdab55af0288282745b06ae511bf5258d90e46fca67dd2e2ef0faca225d2d599\n# Num_cop_tasks: 0\n# Mem_max: 8587\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('oQPwQzAJMjlfMgkwCTAJTi9BCTAJdGltZTo3OTAuNMK1cywgbG9vcHM6MSwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjU5MS41BSkMZ2V0XxEkDHM6MTgFFQkRRDoyLjI3bXMsIHNsb3dlc3RfcA0/0F9ycGM6IHt0b3RhbDogMC4wMDBzLCByZWdpb25faWQ6IDIsIHN0b3JlOiBzdG9yZTEsIH0sDVUcX3ByaW1hcnlGRAAAMYpEAA1kCG51bQHcBcwQX2tleXMZDvBDYnl0ZToxOX0JMzk1IEJ5dGVzCU4vQQoxCTM2XzEJMAkxCXRhYmxlOnRpZGJfbWRsX2luZm8sIGhhbmRsZToyNwkxCXQhSwgzODEySwEoMiwgR2V0OntudW0FuwwxLCB0IQAAXyV5RDE0NS44wrVzfQlOL0EJTi9BCg==')\n# Plan_digest: ca2b8c61a8ea82f17bacb18dbe38cd4b008fc18663d28963f5ced78ed80210d7\n# Binary_plan: tidb_decode_binary_plan('0QN4CswDCghEZWxldGVfMhKVAQoLUG9pbnRfR2V0XzEpAAUB8HnwPzABOAFAAUoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUgloYW5kbGU6MjdaFnRpbWU6MzgxLjTCtXMsIGxvb3BzOjJiJEdldDp7bnVtX3JwYzoxLCB0b3RhbF90aW1lOjE0NS44wrVzfXD///////////8BeP///wkMBX0QUgNOL0ENXQg3OTAyXQB4MWL4AWNvbW1pdF90eG46IHtwcmV3cml0ZTo1OTEuNQWHDGdldF8RJAhzOjEBbgQsIAkRQDoyLjI3bXMsIHNsb3dlc3RfET8AXwGqkCB7dG90YWw6IDAuMDAwcywgcmVnaW9uX2lkOiAyLCBzdG9yZToJBwwxLCB9EVUcX3ByaW1hcnlGRAAAMYpEAA1kGG51bToxLCAFzBBfa2V5cxkOXGJ5dGU6MTl9cIsDeP///////////wEYAQ==')\ndelete from mysql.tidb_mdl_info where job_id = 27;"] [2024/05/06 16:33:43.711 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572876638224384\n# Query_time: 0.504129153\n# Parse_time: 0\n# Compile_time: 0.005047388\n# Rewrite_time: 0.000628602\n# Optimize_time: 0.001966666\n# Wait_TS: 0.000088172\n# Cop_time: 0.495806154 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 187\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000012662\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2wP0PgEwCTMxXzcJMAkzMzIzLjMzCWRhdGE6U2VsZWN0aW9uXzYJMQl0aW1lOjQ5Ni4zbXMsIGxvb3BzOjIsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDI1LjdtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMW1zLCBycGNfbnVtOiAyNTksIHJwY190aW1lOiAzMzkuOW1zLCBjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzoyNTgsIHRvdGFsX3RpbWU6ODAuNG1zfQkxODcgQnl0ZXMJTi9BCjEJMV82CTFfMAkzMzIzLjMzCWxlKG15c3FsLnRpZGJfbWRsX2luZm8udmVyc2lvbiwgMTQpJR4Ia3ZfJQgEe3QhKQgxLjE9KBQwfQlOL0EBBBgKMgk0M181BWJEMTAwMDAJdGFibGU6dGlkYl9tDV18LCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG+ucAA=')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('yQSYCsQECg1UYWJsZVJlYWRlcl83EqACCgtTZWxlY3Rpb25fNhKbAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBxAIjDQDABOAJAAkoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUh5rZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG9qIHRpa3ZfdGFzazp7dGltZToxLjEzbXMsIGxvb3BzOjB9cP///////////wF4CQgM////AQWKLIBPIkEpq6qqqqr2qQ2KEFIjbGUoBYkALjKIADAudmVyc2lvbiwgMTQp4nUAAWwM6nPmQC51ACQBQAFSEGRhdGE6PT0oWhV0aW1lOjQ5Ni4dzRgyYsABY29wCe6gIHtudW06IDEsIG1heDogMjUuN21zLCBwcm9jX2tleXM6IDAsIHRvdF8BEgg6IDEBHQxycGNfBTYMMjU5LAUOBWcUIDMzOS45ASHwcWNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjI1OCwgdG90YWxfdGltZTo4MC40bXN9cLsBeP///////////wEYAQ==')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 14;"] [2024/05/06 16:33:43.910 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:39.05 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:44.569 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572876862619648] ["min commit ts"=449572876979273729] [key=bURETEpvYkhp/3N0b3J5AAAA/AAAAAAAAABoAAAAAAAAABv/AAAAAAAAAAD3] [2024/05/06 16:33:44.569 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572876814647296] [info="{StartTs:449572876814647296 AttemptedCommitTs:449572876862619648 Key:6d44444c4a6f624869ff73746f7279000000fc0000000000000068000000000000001bff0000000000000000f7 MinCommitTs:449572876979273729}"] [2024/05/06 16:33:44.585 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572876913213440\n# Query_time: 0.337737413\n# Parse_time: 0\n# Compile_time: 0.021705907\n# Rewrite_time: 0.002773275\n# Optimize_time: 0.01635166\n# Wait_TS: 0.000084321\n# Cop_time: 0.270692712 Process_time: 0.001 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0005 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12630\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('yxO4MAkzXzEzCTAJMjIzNi44NglteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwRnByb2Nlc3NpbmcJMAl0aW1lOjI3NS41bXMsIGxvb3BzOjEsIENvbmN1cnJlbmN5OjUJMTEuOCBLQglOL0EKMQkxNF8xNAkwboAAGWMUOmRlc2MsTocAFGpvYl9pZBmDCDQuOR2DHAkwIEJ5dGVzEQgcCjIJMTdfMjgd+FRpbm5lciBqb2luLCBlcXVhbDpbZXEoWg4BOGlkLCBDb2x1bW4jMTUpXS53AAA3HXdwLCBidWlsZF9oYXNoX3RhYmxlOnt0b3RhbDoxLjIBKBBmZXRjaBENBSwMOjBzfRGmEQgkCjMJMzFfNDEoQgFOACkdtUBkYXRhOlNlbGVjdGlvbl80MBGKGDkyNy44wrUuhQFwY29wX3Rhc2s6IHtudW06IDEsIG1heDogOTUyLjEFKyFoNF9rZXlzOiAwLCBycGNfESkBDCXcFCA4NDQuNQUumGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbjX5HCAxNX0JMTcxLYoYTi9BCjQJMQG0BDFfcn8CDHJlb3JJXQRrdgnCAHsFjAg2ODQFiUlnBDB9AVMBBBwKNQk0NF8zOQVYHDY2NjYuNjcJKX4u1wLwPCwgcmFuZ2U6Wy1pbmYsMjcpLCAoMjcsK2luZl0sIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkbwlB6wBrlo4ALDMJNl8yOShQcm9iZSG8NDY0MDAJZ3JvdXAgYnk6VUZALCBmdW5jczpmaXJzdHJvdygVGggpLT4VDDHgEDI3My4zQUIJ/VgxLCBwYXJ0aWFsX3dvcmtlcjp7d2FsbCm0ASwQMDU0MDYBMABjPZIYNSwgdGFzayXmXDAsIHRvdF93YWl0OjEuMzYzMTEwMzQ1cwkXFGV4ZWM6MA0NJX0JJBQ2MjIxNHNJSSQyNzIuNzI2Mzg4AWgIcDk1MhIAFH0sIGZpbmKgABAyNjM3MIU1oqEAFDUwNzcwOQ2UBaEYNTkuMzgxwkH2AcwZqBA1OTk5NDKoABA2MTUwNDKoAA0SWUZBnQAzYVElsRRub3QoZXE5lRwsIDI3KSksIAEYFGlzbnVsbBkcACkh5wV+IRQldy2nCAkzOJGKYQAQNQk2XzMh1Ag4MDBdFEp1BGGbAGWlZlL+BCBzY2hlbWFfaWQhjEakBUX9CR5JZQhtaW4VrwA4MmACADEZuYWiCbkAMnZgAhgxLjg2ODQ1hftewAEAMUlKUWEcNTY1MjQxNzEuwAEUMTg3LjEyadUuwQEYNTY3ODY2NTnBGDEuNDI1OTgFcElpGRJyaQIYMi4yNDMyOXJpAj6pABg4MTEzNjY4MqkAGDY5LjY3NsI+agIYNTgzMTIyNEGVoVsgMjcxLjcxOTI0xYsRqRESWWoANqHfDDM2CTBJCKXVJEhhc2hBZ2dfMzE5kwgxLjFBszWTXtIFCDIuMUV1QTW50CFSARIEOiAFRqHTpd8IMjAzqe1FsgwgMTcyCWfO4AU0LCBSZXNvbHZlTG9jazrBaBxfcnBjOjIwMiX+AGGNkiQ3Ny45bXN9CTE5Lg4DADdhDgAxpbb+EAPOEANKOAMWVQh9IAA4JY02+QUIMS45hfIpl92HFDgJNDNfM4FHDDAJMTBh4mWIOoUGemkGYZCacAA=')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('oBbwSQqbFgoNUHJvamVjdGlvbl8xMxKDFQoHU29ydF8xNBKLFAoLSGFzaEpvaW5fMjgSmwQKDlRhYmxlUmVhZGVyXzQxEq8CCgxTZWxlCUAYNDAStgEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wWzpbLWluZiwyNyksICgyNywraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6Njg0wrVzLCBsb29wczowfXD/////BQMEAXgFBwEBAAEFoyyAMSdBKSEdgEm5eaEFowRSGAWfBC50HZ4ULnJlb3Jn3mgALBoBASGjSOSouVzrQBlrKAFAAVIRZGF0YTpTPU0sWhZ0aW1lOjkyNy44HcMYMWKEAWNvcAnkTCB7bnVtOiAxLCBtYXg6IDk1Mi4xBSxEcHJvY19rZXlzOiAwLCBycGNfESkBDAVZFCA4NDQuNQUu2GNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX1wqwE9QRASuw4KCkEuIEFnZ18yORLhCi4aAhAzMBLlCRkgEDM1ErUFNk0CEDM2EpEDHSIUMRKbAQoQRUsMRnVsbElKADQlpxTw7zBBKQABARCIw0AwAXZMAgAevjACFDEuOThtc5IwAggoZTENiQRAvw2JPFKUAWdyb3VwIGJ5Om15c3E6PAIhlhxlc3NpbmcsIEofACRzY2hlbWFfaWRzUh8AEHRhYmxlCR4kZnVuY3M6bWluKEpHAERqb2JfaWQpLT5Db2x1bW4jMThGrwKa5wAc3t3d3R0+90ApcAnnQa4ED2RBrghIYXMl8AwzMVoVRVMQMjcxLjE5PggyYsBiqwIMMi4xNgEqIRNZqQx0b3RfARIEOiAFR0GsRbgIMjAzScYFZwwgMTcyCWjOuQI0LCBSZXNvbHZlTG9jazphQSBfcnBjOjIwMiwBgARhbAllIDc3Ljltc31wvjIoBCERDK1s+EA+EQEAhP74Ab74ATXcPegANTWHCDIuMiFdcGxvb3BzOjJi0gJwYXJ0aWFsX3dvcmtlcjp7d2FsDeghtBQ4Njg0NTcBMgBjfeYYNSwgdGFzayWCADElHERfd2FpdDoxLjM1NjUyNDE3MXMJFyxleGVjOjE4Ny4xMjSFUSHIJasFLBQ3ODY2NTRB1QRheAVwEDQyNTk4BXAIcDk1MhIAFH0sIGZpblqpABwyLjI0MzI5Na6pABg4MTEzNjY4MqkAFDY5LjY3NkapABg4MzEyMjQ5HakUNzE5MjQ5AXARqRESXkkGRSEESP5NIQgAuUBlMBgubm90KGVxNbYgNSwgMjcpKSwgARgUaXNudWxsGRwEKSk9yGUlKcgMMXD8Ar1zJBoBAiFEREREJGM+bgAEOGeRhFEmBDUsjTMcZmlyc3Ryb3cdbpkoADUVeAgzLjMB9Q14BGLIckACFDMuMDU0MAWpXj8CADBJKFE/HDYzMTEwMzQ1LpYBADANDVE3GDYzMTYyMjFZNxgyLjcyNjM4pZ4pjhkScjcCGDMuMjYzNzByNwJCoQAQNTA3NzBBC0HLReAUNTkuMzgxQjYCGDYzNTk5OTQyqAAQNjE1MDQhQRWoDRJeNgIcHKjIEAgFB0E2FAhYPGlubmVyIGpvaW4sIGVxdWFsOltlcShi8wUELCA18AQpXTXMBDQuZWoxzCw1YnVpbGRfaGFzaF/FUiA6e3RvdGFsOjGJNBBmZXRjaBENBSwsOjBzfSGUCvi3RhEQOqIAAD1KjAChwMnlFDpkZXNjLE7qBsmjHaNlZA2jGCGE1+kvhyY+bABOUQcBSBBtZXRhLE5lABmJFWkENS5FBg1pEGINQ29uItUIQDVwnF54////////////ARgB')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (27) order by processing desc, job_id;"] [2024/05/06 16:33:44.605 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=27] [2024/05/06 16:33:44.607 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:44.608 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 5.57866009\n# Parse_time: 0\n# Compile_time: 0.005906992\n# Rewrite_time: 0.000014692\n# Optimize_time: 0\n# Wait_TS: 0.000095206\n# DB: mysql\n# Is_internal: true\n# Digest: 5615b5212342304015b027afb253371dae02f19e53871cfbb034deb145dfce32\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_buckets ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, bucket_id BIGINT(64) NOT NULL, count BIGINT(64) NOT NULL, repeats BIGINT(64) NOT NULL, upper_bound LONGBLOB NOT NULL, lower_bound LONGBLOB , ndv BIGINT NOT NULL DEFAULT 0, UNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id) );"] [2024/05/06 16:33:44.616 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [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 16:33:44.701 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:44.632 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:44.701 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:44.632 +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 16:33:44.800 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:44.632 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:44.953 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=3.266466ms] [phyTblIDs="[28]"] [actionTypes="[8]"] [2024/05/06 16:33:44.985 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:44.985 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=29] [version=15] [2024/05/06 16:33:44.988 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=39.062272ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:44.632 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:45.063 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:44.632 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:45.171 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=29] [2024/05/06 16:33:45.172 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:45.173 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.560669231\n# Parse_time: 0\n# Compile_time: 0.003159723\n# Rewrite_time: 0.000015126\n# Optimize_time: 0\n# Wait_TS: 0.000101031\n# DB: mysql\n# Is_internal: true\n# Digest: 4f764dd084d16197c847e23500fcaf8b96dbbabd598c823de37967bfa2ad51cd\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.gc_delete_range ( job_id BIGINT NOT NULL COMMENT \"the DDL job ID\", element_id BIGINT NOT NULL COMMENT \"the schema element ID\", start_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", end_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", ts BIGINT NOT NULL COMMENT \"timestamp in uint64\", UNIQUE KEY delete_range_index (job_id, element_id) );"] [2024/05/06 16:33:45.185 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [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 16:33:45.466 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=15.346277ms] [2024/05/06 16:33:45.794 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572877184008192] ["min commit ts"=449572877191872512] [key="dIAA///////+X3KAAAAAAAAAHw=="] [2024/05/06 16:33:45.795 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572877183221760] [info="{StartTs:449572877183221760 AttemptedCommitTs:449572877184008192 Key:748000fffffffffffe5f72800000000000001f MinCommitTs:449572877191872512}"] [2024/05/06 16:33:45.802 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572877183221760\n# Query_time: 0.543430216\n# Parse_time: 0\n# Compile_time: 0.037780675\n# Rewrite_time: 0.000291891\n# Optimize_time: 0.00174413\n# Wait_TS: 0.000082274\n# Prewrite_time: 0.000720941 Commit_time: 0.002079505 Get_commit_ts_time: 0.000019013 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 4429 Prewrite_region: 1\n# Is_internal: true\n# Digest: 1b73a00c73a03d7dc9dd08a1ea99474b2523e5f72366f740be5156fa244256c4\n# Num_cop_tasks: 0\n# Mem_max: 17177\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('0gLwQzAJMjdfMQkwCTAJTi9BCTAJdGltZToxLjIxbXMsIGxvb3BzOjEsIHByZXBhcmU6IDQ2OS4ywrVzLCBpbnNlcnQ6NzQxDRFoY29tbWl0X3R4bjoge3ByZXdyaXRlOjcyMC45BTEMZ2V0XxEkCHM6MQkVCREQOjIuMDgBcRxzbG93ZXN0XxE/0F9ycGM6IHt0b3RhbDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0b3JlOiBzdG9yZTEsIH0sDVUcX3ByaW1hcnnWRAANZAhudW0hAAXMEF9rZXlzGQ5YYnl0ZTo0NDI5fQk0Ljc3IEtCCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('3QLweQrYAgoISW5zZXJ0XzE4AUABUgNOL0FaFHRpbWU6MS4yMW1zLCBsb29wczoxYiJwcmVwYXJlOiA0NjkuMsK1cywgaW5zZXJ0Ojc0MS4ywrVzYvoBY29tbWl0X3R4bjoge3ByZXdyaXRlOjcyMC45wrVzLCBnZXRfY29tBSQMczoxOQUVCTUQOjIuMDgBciRzbG93ZXN0X3ByCT+YX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvAZsAcwEHEDEsIH0sDVUcX3ByaW1hcnnWRAANZEBudW06MSwgd3JpdGVfa2V5cxkOZGJ5dGU6NDQyOX1wmSZ4////////////ARgB')\ninsert into mysql.tidb_ddl_job(job_id, reorg, schema_ids, table_ids, job_meta, type, processing) values(31, false, \"1\", \"30\", 0x7b226964223a33312c2274797065223a332c22736368656d615f6964223a312c227461626c655f6964223a33302c22736368656d615f6e616d65223a226d7973716c222c227461626c655f6e616d65223a2267635f64656c6574655f72616e67655f646f6e65222c227374617465223a382c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b7b226964223a33302c226e616d65223a7b224f223a2267635f64656c6574655f72616e67655f646f6e65222c224c223a2267635f64656c6574655f72616e67655f646f6e65227d2c2263686172736574223a22757466386d6234222c22636f6c6c617465223a22757466386d62345f62696e222c22636f6c73223a5b7b226964223a312c226e616d65223a7b224f223a226a6f625f6964222c224c223a226a6f625f6964227d2c226f6666736574223a302c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a382c22466c6167223a343130352c22466c656e223a32302c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a227468652044444c206a6f62204944222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a322c226e616d65223a7b224f223a22656c656d656e745f6964222c224c223a22656c656d656e745f6964227d2c226f6666736574223a312c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a382c22466c6167223a343039372c22466c656e223a32302c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a2274686520736368656d6120656c656d656e74204944222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a332c226e616d65223a7b224f223a2273746172745f6b6579222c224c223a2273746172745f6b6579227d2c226f6666736574223a322c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a31352c22466c6167223a343039372c22466c656e223a3235352c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22656e636f64656420696e20686578222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a342c226e616d65223a7b224f223a22656e645f6b6579222c224c223a22656e645f6b6579227d2c226f6666736574223a332c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a31352c22466c6167223a343039372c22466c656e223a3235352c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c61746522(len:8903);"] [2024/05/06 16:33:45.803 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:45.218 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:45.803 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:45.218 +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 16:33:45.806 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572877190823937\n# Query_time: 0.50054917\n# Parse_time: 0\n# Compile_time: 0.018183019\n# Rewrite_time: 0.002793355\n# Optimize_time: 0.012988484\n# Wait_TS: 0.000057299\n# Cop_time: 0.946517339 Process_time: 0.001 Request_count: 2\n# Is_internal: true\n# Digest: 1a96197a635ab3d1c0fc027ce178d8aa751e4bd033c39db6163d3ba75b49fe3f\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0005 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 1951\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('wxOgMAkzXzEzCTAJMTAJbXlzcWwudGlkYl9kZGxfam9iLmpvYl9tZXRhLCBKHQDwRnByb2Nlc3NpbmcJMAl0aW1lOjQ3Ny4zbXMsIGxvb3BzOjEsIENvbmN1cnJlbmN5Ok9GRgkxLjM2IEtCCU4vQQoxCTE0XzE0Yn0AGWAYOmRlc2MsIEqEAAGhBGlkXoAAHAkwIEJ5dGVzEQgcCjIJMTdfMjgJc1Rpbm5lciBqb2luLCBlcXVhbDpbZXEoYmUAMCwgQ29sdW1uIzE1KV0ucgAAMTLyAHBidWlsZF9oYXNoX3RhYmxlOnt0b3RhbDo0NzIuOAEqEGZldGNoGQ8FMAw6MHN9EaURCCQKMwkzMV80MShCAVIAKQm0QGRhdGE6U2VsZWN0aW9uXzQwGYkIMi42AV81e2hjb3BfdGFzazoge251bTogMSwgbWF4OiAxLjEFiCFfNF9rZXlzOiAwLCB0b3RfARIEOiAFzwxycGNfBTYMMjI0LAUOJeEUIDI3My40AWeYY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uNf1EIDE1fSwgUmVzb2x2ZUxvY2s6AZYcX3JwYzoyMjMFgARhbAllLDEzNS45bXN9CTE3NS3AGE4vQQo0CTEB8AQxX0WtUG5vdChpc3RydWVfd2l0aF9udWxsKEq8ARRyZW9yZykhPgx0aWt2KREAewXMCDEuMAXrKTEEMH0BZQEEHAo1CTQzXzM5DWoMMDAwCSnJLhoDfCwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvJZeacAAsMwk2XzI5KFByb2JlAak0NjQwMAlncm91cCBieTpVdUAsIGZ1bmNzOmZpcnN0cm93KBUaCCktPhUMBXlliyVFfYtIcGFydGlhbF93b3JrZXI6e3dhbC1xIDQ3NS42OTM4NS3aAG41tgg1LCBBQwBfQQsAMCWlRF93YWl0OjIuMzc2NTI2MzMxcwkXFGV4ZWM6MA0NJWAFJBg2MzU3NDJzSXsBaBAzNTg5NiV4CHA5NTISABR9LCBmaW5ioQAUOTAwMDcySXuWoQAUNzIyNzQyMqEAGDU4LjIzwrU+pwAYNzMxMjI0NB2nFDQ5OTkyNQFuEacRElkoQZEAM2GBJbFJkUWHNY1NeC2PJV5JbgwxCTM4kZxB3BA1CTZfMyG8ADhBbzX8StACYaQAZaV1UhAFIHNjaGVtYV9pZAHMRtAFRckJHklNCG1pbhWvADheSAIuuQAALHpIAgwxMTY2hV8AY5qmARgzMjY0MDQ5LZNWRwIYMzMyNzI1NQHULGF4OjQ3NC43NDA4N8VrKaAZEnpHAhAyMjI4MrJHAhg0MzkxMzMzLqEAFDEwNS4yMUZIAhQ0NjU4NDdZ7xg0Ljk1MzU3XUgZEllIADah6AwzNgkwKf4AZKHjJEhhc2hBZ2dfMzF50QA0muEFEDgzNC43BZ1BLbnjtdQIMzEzMtQFBDIzoXAALP7UBS7UBQgzMTKFGLXUBDUxwf6h1AAxvdQAN0H4ADGlav76As76AkoiAxZRCH0KDi0IPjsGEDYzMC42JWJpz909BDgJwT2BG8GnYc5ldP49BmpyAA==')\n# Plan_digest: 03fa0f18132c15290435ccd6930c03fe7257c7017164897b1e5acdd3c92e1828\n# Binary_plan: tidb_decode_binary_plan('qhbwSQqlFgoNUHJvamVjdGlvbl8xMxKLFQoHU29ydF8xNBKTFAoLSGFzaEpvaW5fMjgS0QQKDlRhYmxlUmVhZGVyXzQxEqkCCgxTZWxlCUAYNDASmQEKEAUkUEZ1bGxTY2FuXzM5IQAAAADw7zBBKQEJ8HEAiMNAOAJAAkoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSHmtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkb2ogdGlrdl90YXNrOnt0aW1lOjEuMDFtcywgbG9vcHM6MH1w////////////AXj///8JDAABBYcIIGUxDYcEACQFh1hSL25vdChpc3RydWVfd2l0aF9udWxsKAWYAC4ulwAcLnJlb3JnKSnefwA0GgEBIVVVVVWVj/JAKQAFATQkQDgBQAFSEWRhdGE6Uz1HNFoVdGltZTo0NzIuNm1zEdkYMWLBAWNvcAn6SCB7bnVtOiAxLCBtYXg6IDEuMTgBKkRwcm9jX2tleXM6IDAsIHRvdF8BEgQ6ICUgDHJwY18FNgwyMjQsBQ4FZxQgMjczLjQBPvBVY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6e251bV9ycGM6MjIzLCB0b3RhbF8FZSgxMzUuOW1zfXCvAT2UEBKJDgoKQWQgQWdnXzI5Eq8KLlACEDMwEssJGSAQMzUSpwU2gwIQMzYSkQMdIggxEptGgQIANCX6/oECXYEEInQ6gQIcNjMwLjbCtXMxqgAwboMCAChVgwRAv0mDLJQBZ3JvdXAgYnk6bWEQAC4yeAIhwRxlc3NpbmcsIEofACRzY2hlbWFfaWRzUh8AEHRhYmxlCR4kZnVuY3M6bWluKEpHAERqb2JfaWQpLT5Db2x1bW4jMTjq5wAY3t3d3R0+903oAedB6AQPZEHoCEhhcyXuBDMxVeYANDbmAgC0YuYCEDgzNC43JWghFVnoVdkIMzEzMtkCBDIzQXUALP7ZAi7ZAggzMTJlWVXZDDUxLjhB2QCrLtkCJQMIrWz4OgMBAIT+6gG+6gE1zj3aADU1eQA1afd0bG9vcHM6MWLIAnBhcnRpYWxfd29ya2VyOnt3YWxsiSUcNDc1LjExNjaFZgBjnQQYNSwgdGFza4VZADAlGkRfd2FpdDoyLjM3MzI2NDA0OXMJFxRleGVjOjANDYUVBSQUMzI3MjU1Qb4wYXg6NDc0Ljc0MDg3M4GQCHA5NTISABR9LCBmaW5ioAAUMjIyODIyATmeoQAYNDM5MTMzMw2UBaEUMTA1LjIxRWWhPxWoGDQ2NTg0NzIdqBQ5NTM1NzUBbxGoERJe/wNhGAitSP5NFQQAuckAABbJgsV4MbAINSkpWqYBCHD8Ar1BJBoBAiFEREREJGM+VgAEOGeRVBVUACyNAxxmaXJzdHJvdx1uefguHgIAOQHdnh4CEDY5Mzg1zUcAbtUjbh8CGDY1MjYzMzEufgFCHwIUNjYzNTc0OXcYNS4zNTg5NsXQKXcZEnofAhA5MDAwN7IfAhQ3MjI3NDIyoQAQNTguMjNGHgIYNzMxMjI0NFUeHDUuNDk5OTI1IUERpxESXh4CGBSuR+EMewgqoAhoAUABUjxpbm5lciBqb2luLCBlcXVhbDpbZXEoYsMFBCwgNfAEKV1VRAg3LjEBizHMLDlidWlsZF9oYXNoX8UiGDp7dG90YWwScwhl4xBmZXRjaBkPBTAsOjBzfSGdqwU5Kn4IOqYAAD1KkAChpMm5FDpkZXNjLE6+Bsl3Hadl+A2nBWwA6kJsAE4lBwFIEG1ldGEsTmUAGYlaaQAMYg9Db1mzSE9GRnD0Cnj///////////8BGAE=')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and not reorg order by processing desc, job_id;"] [2024/05/06 16:33:45.945 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:45.218 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:46.089 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=2.699211ms] [phyTblIDs="[30]"] [actionTypes="[8]"] [2024/05/06 16:33:46.135 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:46.136 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=31] [version=16] [2024/05/06 16:33:46.136 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=74.377788ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:45.218 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:46.193 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:45.218 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:46.279 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=31] [2024/05/06 16:33:46.280 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:46.282 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.103979713\n# Parse_time: 0\n# Compile_time: 0.00730981\n# Rewrite_time: 0.000011106\n# Optimize_time: 0\n# Wait_TS: 0.000079954\n# DB: mysql\n# Is_internal: true\n# Digest: 532cf71b38f2568975d61180716af7e2b05c9ca11023688224ed0c0eece42fa9\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done ( job_id BIGINT NOT NULL COMMENT \"the DDL job ID\", element_id BIGINT NOT NULL COMMENT \"the schema element ID\", start_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", end_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", ts BIGINT NOT NULL COMMENT \"timestamp in uint64\", UNIQUE KEY delete_range_done_index (job_id, element_id) );"] [2024/05/06 16:33:46.315 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [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 16:33:46.899 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572877473677312] ["min commit ts"=449572877473939456] [key="dIAA///////+X3KAAAAAAAAAIQ=="] [2024/05/06 16:33:46.899 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572877472890882] [info="{StartTs:449572877472890882 AttemptedCommitTs:449572877473677312 Key:748000fffffffffffe5f728000000000000021 MinCommitTs:449572877473939456}"] [2024/05/06 16:33:46.902 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572877472890882\n# Query_time: 0.528053629\n# Parse_time: 0\n# Compile_time: 0.022090339\n# Rewrite_time: 0.000333801\n# Optimize_time: 0.001829383\n# Wait_TS: 0.000085134\n# Prewrite_time: 0.000762472 Commit_time: 0.002122803 Get_commit_ts_time: 0.000019481 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 3711 Prewrite_region: 1\n# Is_internal: true\n# Digest: 1b73a00c73a03d7dc9dd08a1ea99474b2523e5f72366f740be5156fa244256c4\n# Num_cop_tasks: 0\n# Mem_max: 12363\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('1ALwZTAJMjdfMQkwCTAJTi9BCTAJdGltZToxLjAxbXMsIGxvb3BzOjEsIHByZXBhcmU6IDUxNC4ywrVzLCBpbnNlcnQ6NDk5LjXCtXMsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo3NjIuNQUxFGdldF9jbwkkDHM6MTkyNwAQOjIuMTIBcyBzbG93ZXN0X3ANQdBfcnBjOiB7dG90YWw6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG9yZTogc3RvcmUxLCB9LBGMGHByaW1hcnnWRAANZAhudW0hAgB3Ac4QX2tleXMZDlhieXRlOjM3MTF9CTQuMDcgS0IJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('3wLweQraAgoISW5zZXJ0XzE4AUABUgNOL0FaFHRpbWU6MS4wMW1zLCBsb29wczoxYiJwcmVwYXJlOiA1MTQuMsK1cywgaW5zZXJ0OjQ5OS41wrVzYvwBY29tbWl0X3R4bjoge3ByZXdyaXRlOjc2Mi41wrVzLCBnZXRfY29tBSQIczoxCTgELCAJNxA6Mi4xMgF0JHNsb3dlc3RfcHIJQZhfcnBjOiB7dG90YWw6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG8BnQBzAQcMMSwgfRFVHF9wcmltYXJ51kQADWRAbnVtOjEsIHdyaXRlX2tleXMZDmRieXRlOjM3MTF9cMsgeP///////////wEYAQ==')\ninsert into mysql.tidb_ddl_job(job_id, reorg, schema_ids, table_ids, job_meta, type, processing) values(33, false, \"1\", \"32\", 0x7b226964223a33332c2274797065223a332c22736368656d615f6964223a312c227461626c655f6964223a33322c22736368656d615f6e616d65223a226d7973716c222c227461626c655f6e616d65223a2273746174735f666565646261636b222c227374617465223a382c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b7b226964223a33322c226e616d65223a7b224f223a2273746174735f666565646261636b222c224c223a2273746174735f666565646261636b227d2c2263686172736574223a22757466386d6234222c22636f6c6c617465223a22757466386d62345f62696e222c22636f6c73223a5b7b226964223a312c226e616d65223a7b224f223a227461626c655f6964222c224c223a227461626c655f6964227d2c226f6666736574223a302c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a382c22466c6167223a343130352c22466c656e223a36342c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a322c226e616d65223a7b224f223a2269735f696e646578222c224c223a2269735f696e646578227d2c226f6666736574223a312c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a312c22466c6167223a343039372c22466c656e223a322c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a332c226e616d65223a7b224f223a22686973745f6964222c224c223a22686973745f6964227d2c226f6666736574223a322c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a382c22466c6167223a343039372c22466c656e223a36342c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a342c226e616d65223a7b224f223a22666565646261636b222c224c223a22666565646261636b227d2c226f6666736574223a332c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235322c22466c6167223a343232352c22466c656e223a36353533352c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464(len:7467);"] [2024/05/06 16:33:46.905 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:46.348 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:46.906 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:46.348 +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 16:33:46.912 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572877473415168\n# Query_time: 0.522637576\n# Parse_time: 0\n# Compile_time: 0.014310157\n# Rewrite_time: 0.002283276\n# Optimize_time: 0.0094569\n# Wait_TS: 0.000090342\n# Cop_time: 0.996456283 Process_time: 0.001 Request_count: 2\n# Is_internal: true\n# Digest: 1419dc3f429d38aa633c567e9a7382c40500243679dfa77e81a8e3ecb9436ee2\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0005 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12637\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('vBO4MAkzXzEzCTAJNjY1Ni42NwlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwRnByb2Nlc3NpbmcJMAl0aW1lOjUwMi41bXMsIGxvb3BzOjEsIENvbmN1cnJlbmN5OjUJMTEuOCBLQglOL0EKMQkxNF8xNAkwboAAGWMUOmRlc2MsTocAFGpvYl9pZBmDCDAuOR2DHAkwIEJ5dGVzEQgcCjIJMTdfMjcd+FRpbm5lciBqb2luLCBlcXVhbDpbZXEoWg4BOGlkLCBDb2x1bW4jMTUpXS53AAA3HXdwLCBidWlsZF9oYXNoX3RhYmxlOnt0b3RhbDo1MDABKBBmZXRjaBENBSwMOjBzfRGmEQggCjMJNl8yOShCAU0AKQG0MDQwMAlncm91cCBieToViUAsIGZ1bmNzOmZpcnN0cm93KBUaCCktPhUMEa0QNDk5LjgBhTWnUHBhcnRpYWxfd29ya2VyOnt3YWxsXyXTASwQNjgwMTUl2Ahjb245z4gsIHRhc2tfbnVtOjAsIHRvdF93YWl0OjIuNDk1OTY0NDhzLAUWFGV4ZWM6MA0NBVUBIzA2MzQwMDU1cywgbWF4BWcUNDEyNzgxAZgIcDk1MhIAFH0sIGZpbmagAAw0MjkzJfWeoAAYNjk1MjMyNw2UBaEcNzQuNDc0wrUNFBWoGDcwNjY2MTYuqAAQODk4NjQyqAANEgB9QdoBBBgKNAkxXzMwMbEkbm90KGlzbnVsbD2ZIc8FZiFjBfctjwgJMzhRtTxOL0EKNQk2XzM1CTAJODAwPfxKoAJ5LlIpAyBzY2hlbWFfaWQBzEbPA0WmCR5JTQhtaW4VrwA4XkgCLrkAACxySAIYOC45MDU4N7KoARQzMzcyMzhBJUFfJahCSQIUMzQzNDIwQW1JSRg4LjcwMzM3RbBJSRkSekkCDDAyMTK2oQAQNDAyMTU26gIQNTIuMjRKSQIYNDExNTcwOSF9RfEcOC44NDM1OTJZSRkSWUkYNgkzMV8zNjH/OGRhdGE6SGFzaEFnZ18zMXnSCDguNgFJTUMULCBjb3BfYZ8IOiB7YaEEIDFpaAwgMS4yKRokcm9jX2tleXM6IG29ARIEOiAl0AhycGNl1xAgMzY5LAUORakMIDI4NonmkGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2OdLEQgMTV9LCBSZXNvbHZlTG9jazoBlhxfcnBjOjM2OIU9AGGNcSQxMzRtc30JMTc1rblhBAA3YQQMMQkxX/4GA9YGA0ouA8l2fRYAOCWMBGt2KXYAeyUxCDEuMEXvKZYAMDnWFDgJNDNfM4ElDDAJMTBh2GV+ADoufQd8LCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG+ucAAAM0FGHDQxKFByb2JlgXkANu30AGRBUCxTZWxlY3Rpb25fNDAFVgxtZTo0qlICADBKUgJZQwAzNkMCCDYzLkXz/kMCLkMCADM+QwIANQFkQUUAMV1FIW8ENDBFRRH/StkBDHJlb3IW0Qg2zAEUODYxLjfCwR9CzgEENQkhzgA5BVr+zgE9zmpyAA==')\n# Plan_digest: 29484af8ecb33bd721aada2a65e777d1777fbdefaa439f1f3bce3a7a45698fab\n# Binary_plan: tidb_decode_binary_plan('ihbwSQqFFgoNUHJvamVjdGlvbl8xMxLtFAoHU29ydF8xNBL1EwoLSGFzaEpvaW5fMjcSrwQKDlRhYmxlUmVhZGVyXzQxEpYCCgxTZWxlCUAYNDASmwEKEAUkUEZ1bGxTY2FuXzM5IQAAAADw7zBBKQEJ8GkAiMNAOAJAAkoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSHmtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkb2oidGlrdl90YXNrOnt0aW1lOjg2MS43wrVzLCBsb29wczowfXD/////BQQEAXgFBwEBAAEFiSwgZTFBKauqqqqqALoFiQRSGAWFAC4uhAAULnJlb3Jn5moALBoBAiFVVVVVlXT2QBltKAFAAVIRZGF0YTpTPTQ4WhV0aW1lOjQ5OC42bXMsDcQYMWKyAWNvcAnnSCB7bnVtOiAxLCBtYXg6IDEuMDUBKkRwcm9jX2tleXM6IDAsIHJwY18FJwgzMzkJDgVYFCAyNjMuMgEv8FVjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzozMzgsIHRvdGFsXwVlCDEzNQFkCH1wqy5wARASkQ4KCkFCIEFnZ18yORK3Ci4uAhAzMBLTCRkgEDM1Eq4FNmECEDM2Eo0DHSIIMRKZRl8CADQl1v5fAl1fBCB0Ol8CDDEuMDkhQARsb4JdAgAoQV0AAAEBBEC/SV0slAFncm91cCBieTptQew2ZwIhwhxlc3NpbmcsIEofACRzY2hlbWFfaWRzUh8AEHRhYmxlCR4kZnVuY3M6bWluKEpHAERqb2JfaWQpLT5Db2x1bW4jMTji5QAc3t3d3R0+90AZ5UHVBA9kQdUISGFzJeoEMzFe0wIAv2rTAgAyStMCDHRvdF8hIwg6IDEhgVniADY24gIMODYuNwEh/uICLuICADY+4gIUNG1zfXCvLuACJQ4IrWz4Og4BAIT+8wG+8wE11z3jADU1hAQ5LiU9Sb5cMWLJAnBhcnRpYWxfd29ya2VyOnt3YWxsiSyBhBA5MDU4N0XwAGOdDBg1LCB0YXNrhWEEMCwlmUB3YWl0OjIuNDkzMzcyMzg1cwkXFGV4ZWM6MA0NhR0FJBQ0MzQyMDhByARheAVoEDcwMzM3KfQEOTUyEgAUfSwgZmluWqEAFDkuMDIxMrahABQ0MDIxNTQBfUFRBaEYNTIuMjQ0wsE0ARQVqBg0MTE1NzA5HagQODQzNTmlQBGoERIEfXDBVgUBRhYCBEj+TRYIALlAZSQoFm5vdChpc251bGw1sQg1KSlapwEIcPwC3bkkGgEBIUREREQkYz5WAAQ4Z5FeUQUENSyNDRxmaXJzdHJvdx1umQIuHwIAOGE7UR8AyHIfAhg5LjY4MDE1JbeeHwIMNTk2NDZ9AUIeAhQ2MzQwMDVBQkkeGDkuNDEyNzhFuCl2GRJ6HgIQNjQyOTOyvwIYNjk1MjMyN02yRR4QNzQuNDdKHgIYNzA2NjYxNlUeHDkuNDg5ODY0IUEVqA0SXh4CQTAUb0ENQSmsHoQIaAFAAVI8aW5uZXIgam9pbiwgZXF1YWw6W2VxKGLNBQQsIDXwBCldTUQINTAwqQcxzCw1YnVpbGRfaGFzaF/FLBg6e3RvdGFsASoBsxBmZXRjaBENBSwwOjBzfSGZKiJLzRseQTaiAAA9SowAoZzJvxA6ZGVzY1KlBsl9HaMlnQ2jBWwEfVo+bABOKwcBSBBtZXRhLE4pBxmJFWkEMi5Fpg1pEGINQ29uItoIQDVwnF54////////////ARgB')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg order by processing desc, job_id;"] [2024/05/06 16:33:46.991 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:46.348 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:47.141 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=2.24956ms] [phyTblIDs="[32]"] [actionTypes="[8]"] [2024/05/06 16:33:47.186 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:47.186 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=33] [version=17] [2024/05/06 16:33:47.187 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=52.172576ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:46.348 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:47.251 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:46.348 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:47.753 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=18.243045ms] [2024/05/06 16:33:47.827 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572877716946945] ["min commit ts"=449572877816823809] [key=bURETEpvYkhp/3N0b3J5AAAA/AAAAAAAAABoAAAAAAAAACH/AAAAAAAAAAD3] [2024/05/06 16:33:47.827 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572877695975424] [info="{StartTs:449572877695975424 AttemptedCommitTs:449572877716946945 Key:6d44444c4a6f624869ff73746f7279000000fc00000000000000680000000000000021ff0000000000000000f7 MinCommitTs:449572877816823809}"] [2024/05/06 16:33:47.841 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572877717995520\n# Query_time: 0.533492691\n# Parse_time: 0\n# Compile_time: 0.026656648\n# Rewrite_time: 0.00747243\n# Optimize_time: 0.012702603\n# Wait_TS: 0.000081622\n# Cop_time: 0.48558239 Process_time: 0.002 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.001 Cop_proc_p90: 0.002 Cop_proc_max: 0.002 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12632\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('yxO4MAkzXzEzCTAJMjI0MC44NglteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwRnByb2Nlc3NpbmcJMAl0aW1lOjQ5MC4zbXMsIGxvb3BzOjEsIENvbmN1cnJlbmN5OjUJMTEuOCBLQglOL0EKMQkxNF8xNAkwboAAGWMUOmRlc2MsTocAFGpvYl9pZBWDDDg5LjgdgxwJMCBCeXRlcxEIHAoyCTE3XzI4HfhUaW5uZXIgam9pbiwgZXF1YWw6W2VxKFoOAThpZCwgQ29sdW1uIzE1KV0udwAANR13cCwgYnVpbGRfaGFzaF90YWJsZTp7dG90YWw6MS4xBaAQZmV0Y2gVDgUuDDowc30RqBEIJAozCTMxXzQxKEIBUAApHbdAZGF0YTpTZWxlY3Rpb25fNDARjBg3MTUuNsK1LocBcGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDkyNy4zBSshajRfa2V5czogMCwgcnBjXxEpAQwl3hQgODM1LjcFLphjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb241+xwgMTV9CTE3MS2MGE4vQQo0CTEBtAQxX3KBAgxyZW9ySV8Ea3YJwgB7BYwQNjg3LjEFi0lrBDB9AVUBBBwKNQk0NF8zOQVaHDY2NjYuNjcJKYIu2wLwPCwgcmFuZ2U6Wy1pbmYsMzMpLCAoMzMsK2luZl0sIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkbwlB76KQACwzCTZfMjkoUHJvYmUhwDQ2NDAwCWdyb3VwIGJ5OlVMQCwgZnVuY3M6Zmlyc3Ryb3coFRoIKS0+FQwx5BA0ODguMTJwAkxwYXJ0aWFsX3dvcmtlcjp7d2FsbCm4JDQ4Ny45MzUzNDIBMQBjPZcYNSwgdGFzayXrXDAsIHRvdF93YWl0OjIuNDM2NzM1NTE2cwkXFGV4ZWM6MA0NJYIJJBQ4ODc2MXNJTgFoEDM3NTM0hQMIcDk1MhIAFH0sIGZpbmahAAg4OTGyoAAUNzM1NDA4MqAAGDQ2LjQzMsJB+gHLFacYNzQyNzQ2NR2nFDUzMTgxNiEPEacREllIQaEAM2FVJbEUbm90KGVxOZUcLCAzMykpLCABGBRpc251bGwZHAApIecFfiETADQBZ0mmDDEJMziRkGEEEDUJNl8zIdQIODAwXRRKewRhnwBlpWxSBAUgc2NoZW1hX2lkAeQEeXM+xwVF/wkeSWUIbWluFa8AODJgAgAxFbkZtwQyLHJeAhg2Ljg0OTI5hf9eXgIAMUlHVV4YMDU5NzM3OU1RRV4cMjQ3LjQ3NMJCvwEYMDk1Mzk5OAHbLGF4OjQ4Ni4zODYzNqVGKb8ZEnJmAhg2LjkyNDcyZTieqQAYMzEwNTE5Ny6pABQxNzEuNjeJfjJoAhwzMzA5MjYzc3EPGDYuNjk2NjQhSRGoDRFZZgA2od8MMzYJMEkEAGSh1SRIYXNoQWdnXzMxOY8ANi7vAwQyLKGCqRAAIDbSBQAyyYdBMLnPAaYBEgQ6IGVjodKl3gg0NzSp7EWtBCAykVXO3wU0LCBSZXNvbHZlTG9jazoBlRxfcnBjOjQ3MyX7AGGNjSQxMjRtc30JMTky3QwAN2EIADGlsv4KA84KA0oyAxZVCH0aADglizb1BQQyLklMad3dgxQ4CTQzXzOBQQwwCTEwYdxlgjqBBnplBmGKmnAA')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('oBbwSQqbFgoNUHJvamVjdGlvbl8xMxKDFQoHU29ydF8xNBKLFAoLSGFzaEpvaW5fMjgSnwQKDlRhYmxlUmVhZGVyXzQxErMCCgxTZWxlCUAYNDASuAEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wXjpbLWluZiwzMyksICgzMywraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiJ0aWt2X3Rhc2s6e3RpbWU6Njg3LjHCtXMsIGxvb3BzOjB9cP//////AQMEAXgBBgUBAAEFpSyAMSdBKZSFETe2gaEFpQRSGAWhBC50HaAULnJlb3Jn5moALBoBASG0fiBm7F3rQBltKAFAAVIRZGF0YTpTPVEwWhZ0aW1lOjcxNS42whnFGDFihAFjb3AJ6Ewge251bTogMSwgbWF4OiA5MjcuMwUsRHByb2Nfa2V5czogMCwgcnBjXxEpAQwFWRQgODM1LjcFLthjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9cKsBPUMQErUOCgpBMiBBZ2dfMjkS2wouHgIQMzAS3wkZIBAzNRKzBTZRAhAzNhKRAx0iFDESmwEKEEVPDEZ1bGxJTgA0JakU8O8wQSkAAQEQiMNAMAF2UAIAHno0AgggdGk2NAIYMi4yMW1zLI4yAggoZTENiQRAvw2JPFKUAWdyb3VwIGJ5Om15c3E6PgIhlhxlc3NpbmcsIEofACRzY2hlbWFfaWRzUh8AEHRhYmxlCR4kZnVuY3M6bWluKEpHAERqb2JfaWQpLT5Db2x1bW4jMTji5wAc3t3d3R0+90ApcAnnQa4ED2RBrghIYXMl8AwzMVoVRVMMNDg2Lj0+CDJivmKrAggyLjUhZyESWagMdG90XwESCDogMgEdQatFtwg0NzRJxQVmDCAyODgJZ864AjQsIFJlc29sdmVMb2NrOmFAIF9ycGM6NDczLAGABGFsCWUcMTI0bXN9cMAyKAQhDwytbPhAPg8BAIT+9gG+9gE12j3mCDVaEyUfCDQ4NyE9BGxvgfNYMmLQAnBhcnRpYWxfd29ya2VyOnt3YWwN5SGwEDg0OTI5JYwAY33iGDUsIHRhc2slfwAxJRlEX3dhaXQ6Mi40MzA1OTczNzlzCRcsZXhlYzoyNDcuNDc0hU0hxQWJBSwUOTUzOTk4QdEEYXgFcBQzODYzNjgBoghwOTUyEgAUfSwgZmluYqkADDkyNDdpnJ6pABgzMTA1MTk3LqkAGDE3MS42NzFGqQAcMzMwOTI2M3OpSiEZEDY5NjY0LqgADREEfXDFNgEBRh0CBEj+TR0IALlAZSoYLm5vdChlcTWyIDUsIDMzKSksIAEYFGlzbnVsbBkcBCkpdUkENy4FfCnGDDFw/AK9bSQaAQIhRERERCRjPm4ABDhnkX5RIgQ1LI0tHGZpcnN0cm93HW6ZIgA1FXhtWg14BGLIcj4CGDcuOTM1MzRlrV6VAQAwSSdVPhg2NzM1NTE2LpUBADANDVU2GDY3ODg3NjE1jRw3LjM3NTM0MzmOGRJyNgIUNy45ODkxsqAAFDczNTQwODKgABQ0Ni40MzJGNAIYNzQyNzQ2NR2nFDUzMTgxNi6nABESXjYCGIFLPM/HBQcqewhoAUABUjxpbm5lciBqb2luLCBlcXVhbDpbZXEoYu0FBCwgNfAEKV01zAA5qWQxzCw3YnVpbGRfaGFzaF/FTCg6e3RvdGFsOjEuMWWREGZldGNoFQ4FLiw6MHN9IXCQAB8BFBA6pAAAPUqOAKG9yeEUOmRlc2MsTuYGyZ8dpQV8DaUYIRA/3CxLKT5sAE5NBwFIEG1ldGEsTmUAGYkRaQg5MC5FQA1pEGINQ29uItEIQDVwnF54////////////ARgB')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (33) order by processing desc, job_id;"] [2024/05/06 16:33:47.846 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=33] [2024/05/06 16:33:47.847 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:47.848 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.56178123\n# Parse_time: 0\n# Compile_time: 0.028212046\n# Rewrite_time: 0.000023896\n# Optimize_time: 0\n# Wait_TS: 0.000151359\n# DB: mysql\n# Is_internal: true\n# Digest: 28f04155dca9c7fd3a5e16199cefd152c629a57a64d0ccb2ed0f10309c23c59c\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_feedback ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, feedback BLOB NOT NULL, INDEX hist(table_id, is_index, hist_id) );"] [2024/05/06 16:33:47.857 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [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 16:33:48.540 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572877903331328] ["min commit ts"=449572877959692289] [key="dIAA///////+X3KAAAAAAAAAIw=="] [2024/05/06 16:33:48.540 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572877902544896] [info="{StartTs:449572877902544896 AttemptedCommitTs:449572877903331328 Key:748000fffffffffffe5f728000000000000023 MinCommitTs:449572877959692289}"] [2024/05/06 16:33:48.543 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572877902544896\n# Query_time: 0.547935238\n# Parse_time: 0\n# Compile_time: 0.040652433\n# Rewrite_time: 0.000348376\n# Optimize_time: 0.001618678\n# Wait_TS: 0.000095676\n# Prewrite_time: 0.00086003 Commit_time: 0.0038358 Get_commit_ts_time: 0.000022506 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 4455 Prewrite_region: 1\n# Is_internal: true\n# Digest: 1b73a00c73a03d7dc9dd08a1ea99474b2523e5f72366f740be5156fa244256c4\n# Num_cop_tasks: 0\n# Mem_max: 17203\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('0ALwQzAJMjdfMQkwCTAJTi9BCTAJdGltZToxLjA1bXMsIGxvb3BzOjEsIHByZXBhcmU6IDUzMMK1cywgaW5zZXJ0OjUxOC42BRFgY29tbWl0X3R4bjoge3ByZXdyaXRlOjg2MAUeDGdldF8RIhRzOjIyLjUFFwkTEDozLjg0AW8cc2xvd2VzdF8RP9BfcnBjOiB7dG90YWw6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG9yZTogc3RvcmUxLCB9LA1VHF9wcmltYXJ5RkQAADOKRAANZAhudW0B/gXMEF9rZXlzGQ5YYnl0ZTo0NDU1fQk0LjgwIEtCCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('2wLwQArWAgoISW5zZXJ0XzE4AUABUgNOL0FaFHRpbWU6MS4wNW1zLCBsb29wczoxYiBwcmVwYXJlOiA1MzDCtXMsIGluATq4OjUxOC42wrVzYvoBY29tbWl0X3R4bjoge3ByZXdyaXRlOjg2MMK1cywgZ2V0X2MNIhRzOjIyLjUFFwk1EDozLjg0AXAcc2xvd2VzdF8RP5hfcnBjOiB7dG90YWw6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG8BmQBzAQcQMSwgfSwNVRxfcHJpbWFyeUZEAAAzikQADWQYbnVtOjEsIAXMEF9rZXlzGQ5kYnl0ZTo0NDU1fXCzJnj///////////8BGAE=')\ninsert into mysql.tidb_ddl_job(job_id, reorg, schema_ids, table_ids, job_meta, type, processing) values(35, false, \"1\", \"34\", 0x7b226964223a33352c2274797065223a332c22736368656d615f6964223a312c227461626c655f6964223a33342c22736368656d615f6e616d65223a226d7973716c222c227461626c655f6e616d65223a22726f6c655f6564676573222c227374617465223a382c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b7b226964223a33342c226e616d65223a7b224f223a22726f6c655f6564676573222c224c223a22726f6c655f6564676573227d2c2263686172736574223a22757466386d6234222c22636f6c6c617465223a22757466386d62345f62696e222c22636f6c73223a5b7b226964223a312c226e616d65223a7b224f223a2246524f4d5f484f5354222c224c223a2266726f6d5f686f7374227d2c226f6666736574223a302c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a22222c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235342c22466c6167223a332c22466c656e223a36302c22446563696d616c223a302c2243686172736574223a2275746638222c22436f6c6c617465223a22757466385f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a322c226e616d65223a7b224f223a2246524f4d5f55534552222c224c223a2266726f6d5f75736572227d2c226f6666736574223a312c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a22222c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235342c22466c6167223a332c22466c656e223a33322c22446563696d616c223a302c2243686172736574223a2275746638222c22436f6c6c617465223a22757466385f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a332c226e616d65223a7b224f223a22544f5f484f5354222c224c223a22746f5f686f7374227d2c226f6666736574223a322c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a22222c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235342c22466c6167223a332c22466c656e223a36302c22446563696d616c223a302c2243686172736574223a2275746638222c22436f6c6c617465223a22757466385f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a342c226e616d65223a7b224f223a22544f5f55534552222c224c223a22746f5f75736572227d2c226f6666736574223a332c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a22222c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235342c22466c6167223a332c22466c656e223a33322c22446563696d616c223a302c2243686172736574223a2275746638222c22436f6c6c617465223a22757466385f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e(len:8955);"] [2024/05/06 16:33:48.544 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:47.885 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:48.545 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:47.885 +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 16:33:48.561 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572877959692288\n# Query_time: 0.311442214\n# Parse_time: 0\n# Compile_time: 0.014222228\n# Rewrite_time: 0.002563117\n# Optimize_time: 0.009165139\n# Wait_TS: 0.00008926\n# Cop_time: 0.575888866 Process_time: 0.003 Request_count: 2\n# Is_internal: true\n# Digest: 1a96197a635ab3d1c0fc027ce178d8aa751e4bd033c39db6163d3ba75b49fe3f\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0015 Cop_proc_p90: 0.003 Cop_proc_max: 0.003 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 1953\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('uhOgMAkzXzEzCTAJMTAJbXlzcWwudGlkYl9kZGxfam9iLmpvYl9tZXRhLCBKHQDwRnByb2Nlc3NpbmcJMAl0aW1lOjI5MC42bXMsIGxvb3BzOjEsIENvbmN1cnJlbmN5Ok9GRgkxLjM2IEtCCU4vQQoxCTE0XzE0Yn0AGWAYOmRlc2MsIEqEAAGhBGlkXoAAHAkwIEJ5dGVzEQgcCjIJMTdfMjgJc1Rpbm5lciBqb2luLCBlcXVhbDpbZXEoYmUAMCwgQ29sdW1uIzE1KV0ucgAAMzLyAGhidWlsZF9oYXNoX3RhYmxlOnt0b3RhbDoyODkpHBBmZXRjaBkPBTAMOjBzfRGlEQgkCjMJMzFfNDEoQgFSACkJtEBkYXRhOlNlbGVjdGlvbl80MBWJDDg5LjQyiQBsY29wX3Rhc2s6IHtudW06IDEsIG1heDogOC45OAEpIV80X2tleXM6IDAsIHRvdF8BEgQ6IAXPDHJwY18JNggwNCwFDiXhDCAxOTIJZ5hjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb241/UQgMTV9LCBSZXNvbHZlTG9jazoBlhxfcnBjOjEwMwWABGFsCWUENjMhKRB9CTE3Ny2/GE4vQQo0CTEB7wQxX0WsUG5vdChpc3RydWVfd2l0aF9udWxsKEq7ARRyZW9yZykhPQx0aWt2KRAAewXLCDMuMz0wBDB9AWUBBBwKNQk0M18zOQ1qDDAwMAkpyC4ZA3wsIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkbyWWmnAALDMJNl8yOShQcm9iZQGpNDY0MDAJZ3JvdXAgYnk6VXRALCBmdW5jczpmaXJzdHJvdygVGggpLT4VDAV5YYoMODguNSHmdYpIcGFydGlhbF93b3JrZXI6e3dhbC1wASwQMzE1MzNluwBjPbUINSwgQUIAX0EKTSQ4d2FpdDoxLjQzOTA1OTJzJbkYX2V4ZWM6MA0NJV4FIhgxMDg1NjNzSXggMjg3LjgzNzk2BZcIcDk1MhIAFH0sIGZpbmKfABA0MDgwNSWvop8AFDYxMDA4NQ2UBaEcNDYuNjkzwrUNFBmoFDY4MTQ0Nh2oEDk3NDI0MqgAERJZJ0GQADNhfyWwSZBFhjWMTXcpjj2MCAkzOJGYQdkQNQk2XzMhuQA4QWw1+UrNAmGgAGWlcVIMBSBzY2hlbWFfaWQBykbMBUXGCR5JSghtaW4VrQA4WkUCHbcALHJDAhw3Ljc5MzIwOQExnqQBGDcyMjA5MDgtkCWkQkUCFDcyODM4OAEkgb1BRRQ0ODA1NjEBaFFFERJyRQIYNy44ODY0M4XeoqEADDQ0ODVBGaEeBaBBRAQxNEZEAhA3NTIzMjJEAhA1MjAxMDJEAhESWUQANqHiDDM2CTAp/ABkod0kSGFzaEFnZ18zMXnMADc6ZAZe2wUIMy41KRkEcm+927nMBDg2MswFBDc3/swFRswFADiBNMHxaWAENzEBu6HMADG9zAA3QfMAMaVi/vUCzvUCSh0DFkgIfQUOJAg+MwYQNzcwLjkl/KlW3TUEOAnBNYEUwZ9hyWVv/jUGanIA')\n# Plan_digest: 03fa0f18132c15290435ccd6930c03fe7257c7017164897b1e5acdd3c92e1828\n# Binary_plan: tidb_decode_binary_plan('oRbwSQqcFgoNUHJvamVjdGlvbl8xMxKCFQoHU29ydF8xNBKKFAoLSGFzaEpvaW5fMjgS0AQKDlRhYmxlUmVhZGVyXzQxEqkCCgxTZWxlCUAYNDASmQEKEAUkUEZ1bGxTY2FuXzM5IQAAAADw7zBBKQEJ8HEAiMNAOAJAAkoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSHmtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkb2ogdGlrdl90YXNrOnt0aW1lOjMuMzRtcywgbG9vcHM6MH1w////////////AXj///8JDAABBYcIIGUxDYcEACQFh1hSL25vdChpc3RydWVfd2l0aF9udWxsKAWYAC4ulwAcLnJlb3JnKSnefwA0GgEBIVVVVVWVj/JAKQAFATQkQDgBQAFSEWRhdGE6Uz1HKFoVdGltZToyODkuHdkYMWLAAWNvcAn6oCB7bnVtOiAxLCBtYXg6IDguOThtcywgcHJvY19rZXlzOiAwLCB0b3RfARIIOiAzAR0McnBjXwk2CDA0LAUOBWcMIDE5Mglo8FVjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzoxMDMsIHRvdGFsXwVlJDYzLjZtc31wsQE9kxASgQ4KCkFjIEFnZ18yORKoCi5PAhAzMBLGCRkgEDM1EqQFNoICEDM2EpEDHSIIMRKbRoACADQl+f6AAl2AECJ0aWt2KYYAewXcHDc3MC45wrVzkoICAChVggRAv0mCLJQBZ3JvdXAgYnk6bWEPAC4ydwIhwBxlc3NpbmcsIEofACRzY2hlbWFfaWRzUh8AEHRhYmxlCR4kZnVuY3M6bWluKEpHAERqb2JfaWQpLT5Db2x1bW4jMTjq5wAY3t3d3R0+903nAedB5wQPZEHnCEhhcyXuBDMxVeUENy5FniBsb29wczoxYrFi5QIMMy41MUHIIRNZ5VnWBDg2MtYCBDc3/tYCRtYCBDg1ZVZR1gQ3MQG8CH1wqy7WAiUACK1s+DoAAQCE/ucBvucBNcs91wg1WhNFswgyODghSjF0VMgCcGFydGlhbF93b3JrZXI6e3dhbGyJHyQyODcuNzkzMjA5ATIAY33/IQwIYXNrhVQAMCUYRF93YWl0OjEuNDM3MjIwOTA4cwkXFGV4ZWM6MA0NBYEJJAw4Mzg4ASSBxAFoEDQ4MDU2KeQEOTUyEgAUfSwgZmluYqEAEDg4NjQzRUeioQAQNDQ4NTYNkwWgFDQ2LjYxNGXIoTkZpxA1MjMyNAErEacUNTIwMTA1IQ8RpxESXnwGYRMIrUj+TRMEALmp+gAWyXzFcjGuCDUpKVKkAQhw/AK9OiQaAQIhRERERCRjPlQABDhnkU0VUgAsbfwcZmlyc3Ryb3cdbHnxADV1kAQ4LgXbURwAx3IcAhw4LjMxNTMzNiENnnsBEDkwNTkyLnoBQhoCGDkxMDg1NjOB1ARheEUIEDgzNzk2BZgxcxESchoCGDguNDA4MDXlRqKfABQ2MTAwODUuoQBBGwQ5M0YbAhA5NjgxNDIbAhA5NzQyNDKoABESXhsCGBSuR+EMewgqlwhoAUABUjxpbm5lciBqb2luLCBlcXVhbDpbZXEoYrsFBCwgNe8EKV0xywQ5MIGf0Zc0MWI5YnVpbGRfaGFzaF/FGhw6e3RvdGFsOg5qCCXDEGZldGNoGQ8FMCw6MHN9IZ2rBTkqfgg6pgAAPUqQAKGeybEUOmRlc2MsTrYGyW8dpwV9TXIFbADqQmwATh0HAUgQbWV0YSxOZQAZiVppABBiD0NvbiLNCEhPRkZw9Ap4////////////ARgB')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and not reorg order by processing desc, job_id;"] [2024/05/06 16:33:48.674 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:47.885 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:48.852 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=2.747722ms] [phyTblIDs="[34]"] [actionTypes="[8]"] [2024/05/06 16:33:48.936 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:48.936 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=35] [version=18] [2024/05/06 16:33:48.937 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=98.793922ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:47.885 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:49.000 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:47.885 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:49.085 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=35] [2024/05/06 16:33:49.086 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:49.088 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.234295933\n# Parse_time: 0\n# Compile_time: 0.003576376\n# Rewrite_time: 0.000012076\n# Optimize_time: 0\n# Wait_TS: 0.000078903\n# DB: mysql\n# Is_internal: true\n# Digest: 13e2fcff943423afddaa84c2d34108628854b5953bc7c41d2879240f077a5bd6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.role_edges ( FROM_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', FROM_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', TO_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', TO_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', WITH_ADMIN_OPTION ENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N', PRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER) );"] [2024/05/06 16:33:49.097 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [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 16:33:49.180 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:49.117 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:49.181 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:49.117 +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 16:33:49.256 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:49.117 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:49.370 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=2.312908ms] [phyTblIDs="[36]"] [actionTypes="[8]"] [2024/05/06 16:33:49.387 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:49.387 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=37] [version=19] [2024/05/06 16:33:49.389 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=21.21929ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:49.117 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:49.458 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:49.117 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:49.534 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=37] [2024/05/06 16:33:49.535 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:49.537 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.443512132\n# Parse_time: 0\n# Compile_time: 0.003705074\n# Rewrite_time: 0.000013223\n# Optimize_time: 0\n# Wait_TS: 0.000186386\n# DB: mysql\n# Is_internal: true\n# Digest: 9e6b544fb0287e9d8a74031560ed0cd6a5b4e54db073b893a68a76b05d929781\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.default_roles ( HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', DEFAULT_ROLE_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%', DEFAULT_ROLE_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', PRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER) );"] [2024/05/06 16:33:49.549 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [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 16:33:49.721 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:49.589 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:49.721 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:49.589 +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 16:33:49.788 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:49.589 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:53.115 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000027, primary: 6d44423a3100000000fb00000000000000685461626c653a3338ff0000000000000000f7, txnStartTS: 449572878362083328, lockForUpdateTS:0, minCommitTs:0, ttl: 3290, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:33:53.117 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000027, primary: 6d44423a3100000000fb00000000000000685461626c653a3338ff0000000000000000f7, txnStartTS: 449572878362083328, lockForUpdateTS:0, minCommitTs:0, ttl: 3290, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:33:53.118 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000027, primary: 6d44423a3100000000fb00000000000000685461626c653a3338ff0000000000000000f7, txnStartTS: 449572878362083328, lockForUpdateTS:0, minCommitTs:0, ttl: 3290, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:33:53.119 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000027, primary: 6d44423a3100000000fb00000000000000685461626c653a3338ff0000000000000000f7, txnStartTS: 449572878362083328, lockForUpdateTS:0, minCommitTs:0, ttl: 3290, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:33:53.127 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572878438629377\n# Query_time: 3.058340757\n# Parse_time: 0\n# Compile_time: 0.012936634\n# Rewrite_time: 0.000941676\n# Optimize_time: 0.002034076\n# Wait_TS: 0.000091709\n# Cop_time: 3.036784891 Process_time: 0.003 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.003 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 177\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000013036\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2QPweTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6My4wNHMsIGxvb3BzOjEsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDYuODRtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogM21zLCBycGNfBTYUMjA3MSwgAQ8AdAFlECAxLjhzBVzwTHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjIwNzAsAX8MYWxfdAFjeDcxMy41bXN9CTE3NyBCeXRlcwlOL0EKMQkxXzYJMV85CahsZShteXNxbC50aWRiX21kbF9pbmZvLnZlcnNpb24sIDE5KQkwCXRpa3ZfJQgEe3QBXwwzLjMxAeIAbCUoBDB9AV0BBBgKMgk0M181BWIsMTAwMDAJdGFibGU6Ml0AfCwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvrnAA')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('wQSYCrwECg1UYWJsZVJlYWRlcl83EpwCCgtTZWxlY3Rpb25fNhKZAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBpAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6My4zMW1zLCBsb29wczowfXD//////wEEBAF4AQYFAQABBYgsgE8iQSmrqqqqqvapBYgQUiNsZSgFhwAuMoYAOC52ZXJzaW9uLCAxOSlqINpzAAFqDOpz5kAZcyQBQAFSEGRhdGE6PTcIWhN0CcgEMDQVxyAxYsABY29wX3QB6KAge251bTogMSwgbWF4OiA2Ljg0bXMsIHByb2Nfa2V5czogMCwgdG90XwESCDogMwEdDHJwY18FNhAyMDcxLAUPBWbwVSAxLjhzLCBjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzoyMDcwBX8MYWxfdAHJXDcxMy41bXN9cLEBeP///////////wEYAQ==')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 19;"] [2024/05/06 16:33:53.129 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 6d446966663a323000fe0000000000000073, primary: 6d44423a3100000000fb00000000000000685461626c653a3338ff0000000000000000f7, txnStartTS: 449572878362083328, lockForUpdateTS:0, minCommitTs:449572878362083329, ttl: 3290, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:33:53.135 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572878488436736\n# Query_time: 2.890519378\n# Parse_time: 0\n# Compile_time: 0.030521086\n# Rewrite_time: 0.015141258\n# Optimize_time: 0.012538363\n# Wait_TS: 0.000088487\n# Cop_time: 2.822008542 Process_time: 0.004 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.002 Cop_proc_p90: 0.004 Cop_proc_max: 0.004 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12632\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('xhO4MAkzXzEzCTAJMjI0NC44NQlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwQ3Byb2Nlc3NpbmcJMAl0aW1lOjIuODNzLCBsb29wczoxLCBDb25jdXJyZW5jeTo1CTExLjggS0IJTi9BCjEJMTRfMTQJcn4AGWEUOmRlc2MsToUAFGpvYl9pZFaBABwJMCBCeXRlcxEIHAoyCTE3XzI4HfRUaW5uZXIgam9pbiwgZXF1YWw6W2VxKFoKAQRpZAHTIGx1bW4jMTUpXVZ1AJgsIGJ1aWxkX2hhc2hfdGFibGU6e3RvdGFsOjEuMTdtcywgZmV0Y2gVDgUuDDowc30RphEIJAozCTMxXzQxKEIBUAApHbVAZGF0YTpTZWxlY3Rpb25fNDARihg4OTYuNsK1LoMBbGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuMTIBjSFkNF9rZXlzOiAwLCBycGNfEScBDCXWFCA5ODUuMgVXmGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbjX1HCAxNX0JMTcxLYgYTi9BCjQJMQGyBDFfcvsBDHJlb3JJVwRrdgnAAHsFjBA3OTIuMwWLSWUEMH0BVQEEHAo1CTQ0XzM5BVocNjY2Ni42NwkpgC7TAvA8LCByYW5nZTpbLWluZiwzOSksICgzOSwraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCUHnopAALDMJNl8yOShQcm9iZSG+ODY0MDAJZ3JvdXAgYnk6Q1FIQCwgZnVuY3M6Zmlyc3Ryb3coFRoIKS0+FQwx4gwyLjgyLt8BTHBhcnRpYWxfd29ya2VyOnt3YWxsKbYBKhQ0NDk0NTIBMQBjPZUINSwgQRIl6WAwLCB0b3Rfd2FpdDoxNC4xMjAyMTE1ODZzCRgUZXhlYzowDQ0lgQ0lDDYwODABWEFMBWoQMDc2NDBh/QhwOTUyEgAUfSwgZmluZqMAEDYzNjUzAXCiowAYMTA4ODk0OQ2WBaMYNTYuMTI3wkH6Ac8ZqhQxMTcxNDkBmBWqDDI4OTIBERWpCRFZSRA0CTFfM2FUJbIUbm90KGVxOZYcLCAzOSkpLCABGBRpc251bGwZHAApIegFfSEUAHO1CggJMziRi2EDEDUJNl8zIdMIODAwXRNKdgRhngBlpWMELCBKHwAkc2NoZW1hX2lkc1IfAEX+CR5JZAhtaW4VrQA4Ml8CADFKtwAEMix6XwIcMzM2NjY3cyxiuwEAMUlGVV4cMTM1MjY3MjUuuwEcMjIzLjY4OMJCvAEIMTM4IZoB2wRheCVRFDI4MDMwNwESMbwREnplAhQzODcxMzduZQJCqgAQNjIwNDVBJ0FQRWQYMTc1Ljg4M0qpABA2NDM1MgXWEaoUMzQ4MjE5IRsRqhESWWcANqHfDDM2CTBJB6XVJEhhc2hBZ2dfMzFekgFe0AUMNS44OUbQBQG9QUQIOiA0AR2h06nfCDkwM6nuRa4QIDEuNjQlyMbfBTQsIFJlc29sdmVMb2NrOsFlIF9ycGM6MTkwMiX+AGGNkCw3MDguNm1zfQkxOTLdDwA3YQwAMaW1/g4Dzg4DSlUDFlIIfR4AOCWMNvgFBDQu6cxChgYUOAk0M18zgUMMMAkxMGHgZYY6hAZ6aAZhjppwAA==')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('mxbwSQqWFgoNUHJvamVjdGlvbl8xMxKAFQoHU29ydF8xNBKKFAoLSGFzaEpvaW5fMjgSnQQKDlRhYmxlUmVhZGVyXzQxErMCCgxTZWxlCUAYNDASuAEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wXjpbLWluZiwzOSksICgzOSwraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiJ0aWt2X3Rhc2s6e3RpbWU6NzkyLjPCtXMsIGxvb3BzOjB9cP//////AQMEAXgBBgUBAAEFpSyAMSdBKQbuoiSziaEFpQRSGAWhBC50HaAULnJlb3Jn5moALBoBASHFtFwjH1/rQBltKAFAAVIRZGF0YTpTPVEwWhZ0aW1lOjg5Ni42whnFGDFiggFjb3AJ6KAge251bTogMSwgbWF4OiAxLjEybXMsIHByb2Nfa2V5czogMCwgcnBjXxEnAQwFVxQgOTg1LjIFWNhjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9cKsBPUEQErgOCgpBMCBBZ2dfMjkS3QouHAIQMzAS4wkZIBAzNRK0BTZPAhAzNhKRAx0iFDESmwEKEEVNDEZ1bGxJTAA0JacU8O8wQSkAAQEQiMNAMAF2TgIAHnoyAgggdGk2MgIMNC4xNyFBBGxvgjACCChlMQ2JBEC/DYk8UpQBZ3JvdXAgYnk6bXlzcTo8AiGWHGVzc2luZywgSh8AJHNjaGVtYV9pZHNSHwAQdGFibGUJHiRmdW5jczptaW4oSkcARGpvYl9pZCktPkNvbHVtbiMxOOLnABze3d3dHT73QClwCedBrAQPZEGsCEhhcyXwDDMxWhNFUxQyLjgycywtPAgyYsFipwIMNS44OSFmIRFZpwx0b3RfARIIOiA0AR1Bqkm2CDkwM0nFBWYYIDEuNjRzLNK2AjQsIFJlc29sdmVMb2NrOmE8JF9ycGM6MTkwMiwBgARhbAlkJDcwOC42bXN9cMAyJwQhEAytbPhAPhABAIT+9wG+9wE12z3nADVWhgFQ0wJwYXJ0aWFsX3dvcmtlcjp7d2FsDechsRQzMzY2NjclUABudeIYNSwgdGFzayWAADElGkhfd2FpdDoxNC4xMTM1MjY3MjVzCRgsZXhlYzoyMjMuNjg4hU4hxyWpCS0MODI4OUEWgaABcBQyODAzMDcBEghwOTUyEgAUfSwgZmluZqkAFDg3MTM3Nq6qABQ2MjA0NTMuqQAYMTc1Ljg4M0qpABA2NDM1MgXWEaoUMzQ4MjE5IRsRqhESBH1wxTgBAUYgAgRI/k0gCAC5QGUuGC5ub3QoZXE1tSA1LCAzOSkpLCABGBRpc251bGwZHAQpKU7HAQwxcPwCvW8kGgECIUREREQkYz5sAAQ4Z5GAUSMINSwgiS8cZmlyc3Ryb3cdbJkkUj0CCDFiy3o9AhQ0NDk0NTIhzQBjWj4CADBJJlU+GDIwMjExNTghx0EpRT4AMC2iVTYYMjAyNjA4MAFYMY0UNDA3NjQwIcwxjRESejcCFDQ2MzY1MwFwoqMAGDEwODg5NDkNlgWjFDU2LjEyN0Y3AhgyMTE3MTQ5AZgVqkHxAREVqQkRXjUCGOfur42HBgcqfAhoAUABUjxpbm5lciBqb2luLCBlcXVhbDpbZXEoYvAFBCwgNfEEKV1ZQwGIycw0MWI3YnVpbGRfaGFzaF/FTSA6e3RvdGFsOjHN9RBmZXRjaBUOBS4sOjBzfSFw3ZWluxYQOqIAAD1KjAChv8niEDpkZXNjUsgGyaBSowAYIcFtW0kPLD5qAE5MBwFGFG1ldGEsIHKHAFJnAAxiDUNvnew8cJxeeP///////////wEYAQ==')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (39) order by processing desc, job_id;"] [2024/05/06 16:33:53.585 +08:00] [ERROR] [mvcc.go:1021] ["commit failed, no correspond lock found"] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6Mzj/AAAAAAAAAAD3] ["start ts"=449572878362083328] [lock="{{0 0 0 0 0 false 0 false 0} [] [] []}"] [error="retryable: lock not found"] [stack="github.com/pingcap/tidb/store/mockstore/unistore/tikv.(*MVCCStore).Commit\n\tstore/mockstore/unistore/tikv/mvcc.go:1021\ngithub.com/pingcap/tidb/store/mockstore/unistore/tikv.(*Server).KvCommit\n\tstore/mockstore/unistore/tikv/server.go:366\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:183\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).sendReqToRegion\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1421\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReqCtx\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1177\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReq\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:234\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionCommit.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:98\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1036\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:969\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:788\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:222\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitTxn\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1701\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1692\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:33:53.586 +08:00] [WARN] [session.go:1025] ["can not retry txn"] [label=internal] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 16:33:53.587 +08:00] [WARN] [session.go:1041] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [2024/05/06 16:33:53.587 +08:00] [INFO] [job_table.go:255] ["[ddl] handle ddl job failed"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:49.589 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:53.638 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:49.589 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:53.711 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=265.036µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:53.723 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=233.807µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:53.736 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=327.83µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:53.750 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=281.095µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:53.762 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=272.594µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:53.783 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=294.564µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:53.797 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=301.267µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:53.811 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=282.698µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:53.851 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=340.018µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:53.869 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=305.437µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:53.894 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=255.493µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:53.906 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=244.521µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:53.919 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=233.575µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:53.932 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=312.521µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:53.948 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=242.576µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:33:53.967 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=21] ["start time"=3.798853ms] [phyTblIDs="[38]"] [actionTypes="[8]"] [2024/05/06 16:33:54.035 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:54.035 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=39] [version=21] [2024/05/06 16:33:54.037 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=78.557227ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:49.589 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:54.118 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:49.589 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:54.315 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=39] [2024/05/06 16:33:54.316 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:54.317 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 4.773195164\n# Parse_time: 0\n# Compile_time: 0.005530884\n# Rewrite_time: 0.000012963\n# Optimize_time: 0\n# Wait_TS: 0.000114586\n# DB: mysql\n# Is_internal: true\n# Digest: 0a4bc55a9ab72ef62ddaa1ee6472d7872306066fd783a8bb67047a497fbb4dbe\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.bind_info ( original_sql TEXT NOT NULL, bind_sql TEXT NOT NULL, default_db TEXT NOT NULL, status TEXT NOT NULL, create_time TIMESTAMP(3) NOT NULL, update_time TIMESTAMP(3) NOT NULL, charset TEXT NOT NULL, collation TEXT NOT NULL, source VARCHAR(10) NOT NULL DEFAULT 'unknown', sql_digest varchar(64), plan_digest varchar(64), INDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\", INDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\" ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 16:33:54.341 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [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 16:33:54.412 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:54.359 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:54.412 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:54.359 +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 16:33:54.472 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:54.359 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:54.629 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=2.674676ms] [phyTblIDs="[40]"] [actionTypes="[8]"] [2024/05/06 16:33:54.686 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:54.686 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=41] [version=22] [2024/05/06 16:33:54.686 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=76.602718ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:54.359 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:54.796 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:54.359 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:54.938 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=41] [2024/05/06 16:33:54.938 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:54.939 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.600911253\n# Parse_time: 0\n# Compile_time: 0.002400618\n# Rewrite_time: 0.000015622\n# Optimize_time: 0\n# Wait_TS: 0.000096253\n# DB: mysql\n# Is_internal: true\n# Digest: 04a90564803373a6eb3f5a52e8794d25c4d28f6c18af7899b0b9f1bf1539ec72\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_top_n ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, value LONGBLOB, count BIGINT(64) UNSIGNED NOT NULL, INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:33:54.974 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [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 16:33:55.039 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:54.986 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:55.040 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:54.986 +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 16:33:55.137 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:54.986 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:55.228 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=1.694807ms] [phyTblIDs="[42]"] [actionTypes="[8]"] [2024/05/06 16:33:55.241 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:55.241 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=43] [version=23] [2024/05/06 16:33:55.243 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=24.893504ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:54.986 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:55.399 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:54.986 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:55.989 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572879856566272] ["min commit ts"=449572879949103105] [key=bURETEpvYkhp/3N0b3J5AAAA/AAAAAAAAABoAAAAAAAAACv/AAAAAAAAAAD3] [2024/05/06 16:33:55.989 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572879832186880] [info="{StartTs:449572879832186880 AttemptedCommitTs:449572879856566272 Key:6d44444c4a6f624869ff73746f7279000000fc0000000000000068000000000000002bff0000000000000000f7 MinCommitTs:449572879949103105}"] [2024/05/06 16:33:56.012 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=43] [2024/05/06 16:33:56.014 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:56.034 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.069795142\n# Parse_time: 0\n# Compile_time: 0.001700522\n# Rewrite_time: 0.000012612\n# Optimize_time: 0\n# Wait_TS: 0.000090186\n# DB: mysql\n# Is_internal: true\n# Digest: 3e05fb8977f83f4e32022552aded3680a039cddc4239c339119a655dc1cffdbb\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist ( name CHAR(100) NOT NULL, store_type CHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb', reason VARCHAR(200) );"] [2024/05/06 16:33:56.038 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [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 16:33:56.088 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:56.062 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:56.088 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:56.062 +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 16:33:56.165 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:56.062 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:56.251 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=1.392924ms] [phyTblIDs="[44]"] [actionTypes="[8]"] [2024/05/06 16:33:56.288 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:56.288 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=45] [version=24] [2024/05/06 16:33:56.289 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=46.261052ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:56.062 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:56.349 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:56.062 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:56.398 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=45] [2024/05/06 16:33:56.398 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:56.400 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.363596058\n# Parse_time: 0\n# Compile_time: 0.00147905\n# Rewrite_time: 0.000014109\n# Optimize_time: 0\n# Wait_TS: 0.000102721\n# DB: mysql\n# Is_internal: true\n# Digest: aee36d5dc7131e4b6e3321cc046ae8b5ec8156ec1ef82481df0b97b8c734325f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist ( name CHAR(100) NOT NULL );"] [2024/05/06 16:33:56.412 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [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 16:33:56.511 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:56.425 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:56.512 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:56.425 +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 16:33:56.588 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:56.425 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:56.633 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=11.668684ms] [2024/05/06 16:33:56.730 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=3.28226ms] [phyTblIDs="[46]"] [actionTypes="[8]"] [2024/05/06 16:33:56.786 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:56.786 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=47] [version=25] [2024/05/06 16:33:56.786 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=63.283722ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:56.425 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:56.867 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:56.425 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:57.130 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=10.365995ms] [2024/05/06 16:33:57.460 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572880242180096] ["min commit ts"=449572880336027651] [key=bURETEpvYkhp/3N0b3J5AAAA/AAAAAAAAABoAAAAAAAAAC//AAAAAAAAAAD3] [2024/05/06 16:33:57.461 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572880217014272] [info="{StartTs:449572880217014272 AttemptedCommitTs:449572880242180096 Key:6d44444c4a6f624869ff73746f7279000000fc0000000000000068000000000000002fff0000000000000000f7 MinCommitTs:449572880336027651}"] [2024/05/06 16:33:57.487 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=47] [2024/05/06 16:33:57.487 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:57.489 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.080439146\n# Parse_time: 0\n# Compile_time: 0.003766817\n# Rewrite_time: 0.000011536\n# Optimize_time: 0\n# Wait_TS: 0.000074194\n# DB: mysql\n# Is_internal: true\n# Digest: bd2a0d9809689d30e22f8d82b29b4ee110d16cda3353b77d74a1938afb746386\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_extended ( name varchar(32) NOT NULL, type tinyint(4) NOT NULL, table_id bigint(64) NOT NULL, column_ids varchar(32) NOT NULL, stats blob DEFAULT NULL, version bigint(64) unsigned NOT NULL, status tinyint(4) NOT NULL, PRIMARY KEY(name, table_id), KEY idx_1 (table_id, status, version), KEY idx_2 (status, version) );"] [2024/05/06 16:33:57.496 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [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 16:33:57.574 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:57.52 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:57.575 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:57.52 +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 16:33:57.657 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:57.52 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:58.252 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572880449536000] ["min commit ts"=449572880452157441] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6NDj/AAAAAAAAAAD3] [2024/05/06 16:33:58.253 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572880424894464] [info="{StartTs:449572880424894464 AttemptedCommitTs:449572880449536000 Key:6d44423a3100000000fb00000000000000685461626c653a3438ff0000000000000000f7 MinCommitTs:449572880452157441}"] [2024/05/06 16:33:58.260 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572880452157440\n# Query_time: 0.50294373\n# Parse_time: 0\n# Compile_time: 0.005260982\n# Rewrite_time: 0.000929046\n# Optimize_time: 0.001926827\n# Wait_TS: 0.000100494\n# Cop_time: 0.49379041 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 171\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000012096\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('0QPwbTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6NDk0LjJtcywgbG9vcHM6MSwgY29wX3Rhc2s6IHtudW06IDEsIG1heDogMS4yM21zLCBwcm9jX2tleXM6IDAsIHJwY19uASckNTA0LCBycGNfdAFXHCAzMDYuNW1zBU/weXJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjUwMywgdG90YWxfdGltZToxMDguOW1zfQkxNzEgQnl0ZXMJTi9BCjEJMV82CTFfMAkzDf2obGUobXlzcWwudGlkYl9tZGxfaW5mby52ZXJzaW9uLCAyNSkJMAl0aWt2XwX6BHt0AcQYOTg3LjLCtTUcBDB9AV8BBFwKMgk0M181CTFfMAkxMDAwMAl0YWJsZToyXwB8LCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG+2cgA=')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('uQSYCrQECg1UYWJsZVJlYWRlcl83EqACCgtTZWxlY3Rpb25fNhKbAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBxAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiJ0aWt2X3Rhc2s6e3RpbWU6OTg3LjLCtXMsIGxvb3BzOjB9cP///////////wF4CQgM////AQWKLIBPIkEpq6qqqqr2qQWKEFIjbGUoBYkALjKIADgudmVyc2lvbiwgMjUpaiLidQABbAzqc+ZAGXUkAUABUhBkYXRhOj07CFoVdAHMGDQ5NC4ybXMRyyAxYrIBY29wX3QB7kgge251bTogMSwgbWF4OiAxLjIzASpEcHJvY19rZXlzOiAwLCBycGNfBScINTA0CQ4FWBQgMzA2LjUBL/ByY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6e251bV9ycGM6NTAzLCB0b3RhbF90aW1lOjEwOC45bXN9cKsBeP///////////wEYAQ==')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 25;"] [2024/05/06 16:33:58.265 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=2.627676ms] [phyTblIDs="[48]"] [actionTypes="[8]"] [2024/05/06 16:33:58.286 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:58.286 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=49] [version=26] [2024/05/06 16:33:58.288 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=32.680494ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:57.52 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:58.346 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:57.52 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:58.436 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=49] [2024/05/06 16:33:58.436 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:58.437 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.943598845\n# Parse_time: 0\n# Compile_time: 0.002633272\n# Rewrite_time: 0.000018729\n# Optimize_time: 0\n# Wait_TS: 0.000089711\n# DB: mysql\n# Is_internal: true\n# Digest: f72fffa4e6072164db3e01e2e29568b0b93c5045737047be527343b1737b0882\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.schema_index_usage ( TABLE_ID bigint(64), INDEX_ID bigint(21), QUERY_COUNT bigint(64), ROWS_SELECTED bigint(64), LAST_USED_AT timestamp, PRIMARY KEY(TABLE_ID, INDEX_ID) );"] [2024/05/06 16:33:58.443 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [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 16:33:58.518 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:58.458 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:58.519 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:58.458 +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 16:33:59.146 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572880682057728\n# Query_time: 0.509976995\n# Parse_time: 0\n# Compile_time: 0.001879832\n# Rewrite_time: 0.003691712\n# Optimize_time: 0.005743913\n# Wait_TS: 0.00007829\n# Prewrite_time: 0.000669952 Commit_time: 0.000901999 Get_commit_ts_time: 0.000024389 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 3704 Prewrite_region: 1\n# Is_internal: true\n# Digest: bb9a0484a27cea37dfc9b79800bc11ddc72f4ac11810a6eb126d600a567ce029\n# Num_cop_tasks: 0\n# Mem_max: 13207\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('nAPwTDAJMjhfMwkwCTAJTi9BCTAJdGltZToyLjE2bXMsIGxvb3BzOjEsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo2NzDCtXMsIGdldF9jb21tASIYczoyNC40wgEXCTUMOjkwMgUPIHNsb3dlc3RfcA0/0F9ycGM6IHt0b3RhbDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0b3JlOiBzdG9yZTEsIH0sDVUcX3ByaW1hcnnWRAANZAhudW0B3AXMEF9rZXlzGQ7wPmJ5dGU6MzcwNH0JNC45MCBLQglOL0EKMQkzNl8xCTAJMQl0YWJsZTp0aWRiX2RkbF9qb2IsIGhhbmRsZTo1MQEgIUgQNTU0LjkF/SlKKDIsIEdldDp7bnVtBboMMSwgdAH/AF8FLjwxOTLCtXN9CU4vQQlOL0EK')\n# Plan_digest: 3fea32741ba131a439f08d925bc0d60ce688c732cc613c6d3625da6592028edc\n# Binary_plan: tidb_decode_binary_plan('zgN4CskDCghVcGRhdGVfMxKSAQoLUG9pbnRfR2V0XzEpAAUB8G3wPzABOAFAAUoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSCWhhbmRsZTo1MVoWdGltZTo1NTQuOcK1cywgbG9vcHM6MmIiR2V0OntudW1fcnBjOjEsIHRvdGFsX3RpbWU6MTkywrVzfXD//////wEEBAF4AQYFAQV6GFIDTi9BWhQFLRwyLjE2bXMsIAlZdDFi+gFjb21taXRfdHhuOiB7cHJld3JpdGU6NjcwwgGBDGdldF8RIhRzOjI0LjQFFwkTDDo5MDIFDxxzbG93ZXN0XxE/GF9ycGM6IHsFpXQ6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG9yZToJBxAxLCB9LA1VHF9wcmltYXJ51kQADWQYbnVtOjEsIAXMEF9rZXlzGQ5kYnl0ZTozNzA0fXCXJ3j///////////8BGAE=')\nupdate mysql.tidb_ddl_job set processing = 1 where job_id = 51;"] [2024/05/06 16:33:59.150 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:58.458 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:59.289 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=8.042553ms] [phyTblIDs="[50]"] [actionTypes="[8]"] [2024/05/06 16:33:59.336 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:59.336 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=51] [version=27] [2024/05/06 16:33:59.336 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=68.465568ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:58.458 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:59.385 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:58.458 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:59.453 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=51] [2024/05/06 16:33:59.454 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:33:59.456 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.015439298\n# Parse_time: 0\n# Compile_time: 0.003046904\n# Rewrite_time: 0.000013963\n# Optimize_time: 0\n# Wait_TS: 0.000088571\n# DB: mysql\n# Is_internal: true\n# Digest: 27ef2533f9d97f96c8c86a69a0de51aad04499856acd05fe4a4b93fb5b6043d0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, value LONGBLOB, INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:33:59.466 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [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 16:33:59.552 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:33:59.483 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:33:59.553 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:59.483 +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 16:33:59.639 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:59.483 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:33:59.774 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=2.381007ms] [phyTblIDs="[52]"] [actionTypes="[8]"] [2024/05/06 16:33:59.836 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:33:59.836 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=53] [version=28] [2024/05/06 16:33:59.837 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=73.013975ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:33:59.483 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:00.343 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572880998203392] ["min commit ts"=449572881004232705] [key="dIAA///////7X3KAAAAAAAAANQ=="] [2024/05/06 16:34:00.343 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572880997416960] [info="{StartTs:449572880997416960 AttemptedCommitTs:449572880998203392 Key:748000fffffffffffb5f728000000000000035 MinCommitTs:449572881004232705}"] [2024/05/06 16:34:00.345 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572880997416960\n# Query_time: 0.50597224\n# Parse_time: 0\n# Compile_time: 0.001381509\n# Rewrite_time: 0\n# Optimize_time: 0\n# Wait_TS: 0.00008778\n# Prewrite_time: 0.00054516 Commit_time: 0.00111922 Get_commit_ts_time: 0.000031567 Slowest_prewrite_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 19 Prewrite_region: 1\n# Is_internal: true\n# Digest: bdab55af0288282745b06ae511bf5258d90e46fca67dd2e2ef0faca225d2d599\n# Num_cop_tasks: 0\n# Mem_max: 8587\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('oQPwTDAJMjlfMgkwCTAJTi9BCTAJdGltZToxLjA2bXMsIGxvb3BzOjEsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo1NDUuMsK1cywgZ2V0X2NvCSQgczozMS42wrVzETcQOjEuMTIBTyBzbG93ZXN0X3ANQehfcnBjOiB7dG90YWw6IDAuMDAwcywgcmVnaW9uX2lkOiAyLCBzdG9yZTogc3RvcmUxLCB9LCBjb21taQFFEGltYXJ51kQADWQIbnVtAd4FzhBfa2V5cxkO8ENieXRlOjE5fQkzOTUgQnl0ZXMJTi9BCjEJMzZfMQkwCTEJdGFibGU6dGlkYl9tZGxfaW5mbywgaGFuZGxlOjUzCTEJdCFLFDUyMy44wiENKU04MiwgR2V0OntudW1fcnBjAXEAdCEAAF8leUQyMzQuNMK1c30JTi9BCU4vQQo=')\n# Plan_digest: ca2b8c61a8ea82f17bacb18dbe38cd4b008fc18663d28963f5ced78ed80210d7\n# Binary_plan: tidb_decode_binary_plan('0QN4CswDCghEZWxldGVfMhKVAQoLUG9pbnRfR2V0XzEpAAUB8HnwPzABOAFAAUoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUgloYW5kbGU6NTNaFnRpbWU6NTIzLjjCtXMsIGxvb3BzOjJiJEdldDp7bnVtX3JwYzoxLCB0b3RhbF90aW1lOjIzNC40wrVzfXD///////////8BeP///wkMBX0YUgNOL0FaFAVdEDEuMDZtFVt4MWL6AWNvbW1pdF90eG46IHtwcmV3cml0ZTo1NDUuMgWFDGdldF8RJBRzOjMxLjYFFwkTEDoxLjEyAVAcc2xvd2VzdF8RQQBfAaqQIHt0b3RhbDogMC4wMDBzLCByZWdpb25faWQ6IDIsIHN0b3JlOgkHEDEsIH0sDVUcX3ByaW1hcnnWRAANZBhudW06MSwgBc4QX2tleXMZDlxieXRlOjE5fXCLA3j///////////8BGAE=')\ndelete from mysql.tidb_mdl_info where job_id = 53;"] [2024/05/06 16:34:00.347 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572881004232704\n# Query_time: 0.486066561\n# Parse_time: 0\n# Compile_time: 0.006326804\n# Rewrite_time: 0.00098889\n# Optimize_time: 0.00265598\n# Wait_TS: 0.000089977\n# Cop_time: 0.475899788 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 187\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000012481\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2gPwlTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkxCXRpbWU6NDc2LjRtcywgbG9vcHM6MiwgY29wX3Rhc2s6IHtudW06IDEsIG1heDogMS4ybXMsIHByb2Nfa2V5czogMCwgdG90X3Byb2M6IDFtcywgcnBjX251bTogMzcxLCBycGNfdGltZTogMzA2LjJtcwVd8HVyX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzozNzAsIHRvdGFsX3RpbWU6OTQuNm1zfQkxODcgQnl0ZXMJTi9BCjEJMV82CTFfOQqIbGUobXlzcWwudGlkYl9tZGxfaW5mby52ZXJzaW9uLCAyOCklHQhrdl8lBwR7dCEoCDEuMD0nFDB9CU4vQQEEXAoyCTQzXzUJMV8wCTEwMDAwCXRhYmxlOjJdAHwsIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkb65wAA==')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('yASYCsMECg1UYWJsZVJlYWRlcl83EqACCgtTZWxlY3Rpb25fNhKbAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBxAIjDQDABOAJAAkoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUh5rZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG9qIHRpa3ZfdGFzazp7dGltZToxLjA0bXMsIGxvb3BzOjB9cP///////////wF4CQgM////AQWKLIBPIkEpq6qqqqr2qQ2KEFIjbGUoBYkALjKIADAudmVyc2lvbiwgMjgp4nUAAWwM6nPmQC51ACQBQAFSEGRhdGE6PT0oWhV0aW1lOjQ3Ni4dzRgyYr8BY29wCe64IHtudW06IDEsIG1heDogMS4ybXMsIHByb2Nfa2V5czogMCwgdG90X3Byb2M6IDEBHQxycGNfBTUMMzcxLAUOBWYMIDMwNgk+8Exjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzozNwmADGFsX3QBy1g5NC42bXN9cLsBeP///////////wEYAQ==')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 28;"] [2024/05/06 16:34:00.392 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=14.967701ms] [2024/05/06 16:34:00.395 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:33:59.483 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:00.951 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572881157324800] ["min commit ts"=449572881237016577] [key=bURETEpvYkhp/3N0b3J5AAAA/AAAAAAAAABoAAAAAAAAADX/AAAAAAAAAAD3] [2024/05/06 16:34:00.951 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572881141596160] [info="{StartTs:449572881141596160 AttemptedCommitTs:449572881157324800 Key:6d44444c4a6f624869ff73746f7279000000fc00000000000000680000000000000035ff0000000000000000f7 MinCommitTs:449572881237016577}"] [2024/05/06 16:34:00.959 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=53] [2024/05/06 16:34:00.960 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:00.962 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.4980761980000001\n# Parse_time: 0\n# Compile_time: 0.00249916\n# Rewrite_time: 0.000011637\n# Optimize_time: 0\n# Wait_TS: 0.000086025\n# DB: mysql\n# Is_internal: true\n# Digest: 79c6e54229df7b01d20ffaf8ac1077aa9ef39e604df30d5ce852dd7049cc3ddd\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.global_grants ( USER char(32) NOT NULL DEFAULT '', HOST char(255) NOT NULL DEFAULT '', PRIV char(32) NOT NULL DEFAULT '', WITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N', PRIMARY KEY (USER,HOST,PRIV) );"] [2024/05/06 16:34:00.986 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [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 16:34:01.043 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:01.001 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:01.043 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:01.001 +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 16:34:01.167 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:01.001 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:01.253 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=2.257973ms] [phyTblIDs="[54]"] [actionTypes="[8]"] [2024/05/06 16:34:01.286 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:01.286 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=55] [version=29] [2024/05/06 16:34:01.286 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=36.206804ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:01.001 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:01.339 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:01.001 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:01.398 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=55] [2024/05/06 16:34:01.399 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:01.400 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.417147617\n# Parse_time: 0\n# Compile_time: 0.00265935\n# Rewrite_time: 0.000018029\n# Optimize_time: 0\n# Wait_TS: 0.000074308\n# DB: mysql\n# Is_internal: true\n# Digest: 08f858a5bd3a1fd5dfd809dd4b9d6c72db69f874b06ad0e91987f9e89a5cf89a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist ( id bigint(64) auto_increment, filter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\", filter_value varchar(32) NOT NULL, key idx(filter_type), primary key(id) );"] [2024/05/06 16:34:01.405 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [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 16:34:01.474 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:01.422 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:01.474 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:01.422 +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 16:34:01.539 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:01.422 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:01.637 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=2.280014ms] [phyTblIDs="[56]"] [actionTypes="[8]"] [2024/05/06 16:34:01.686 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:01.686 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=57] [version=30] [2024/05/06 16:34:01.688 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=62.739839ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:01.422 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:01.743 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:01.422 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:01.829 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=57] [2024/05/06 16:34:01.830 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:01.831 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.428428869\n# Parse_time: 0\n# Compile_time: 0.001911857\n# Rewrite_time: 0.000009915\n# Optimize_time: 0\n# Wait_TS: 0.00006659\n# DB: mysql\n# Is_internal: true\n# Digest: 3a5634ff31bd7d32849c5404b7ffc419c7a7074307b815e5369eb6ca363cbcd0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.column_stats_usage ( table_id BIGINT(64) NOT NULL, column_id BIGINT(64) NOT NULL, last_used_at TIMESTAMP, last_analyzed_at TIMESTAMP, PRIMARY KEY (table_id, column_id) CLUSTERED );"] [2024/05/06 16:34:01.837 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [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 16:34:01.929 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:01.854 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:01.929 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:01.854 +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 16:34:02.005 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:01.854 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:02.154 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=2.122728ms] [phyTblIDs="[58]"] [actionTypes="[8]"] [2024/05/06 16:34:02.186 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:02.186 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=59] [version=31] [2024/05/06 16:34:02.188 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=40.754999ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:01.854 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:02.240 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:01.854 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:02.311 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=59] [2024/05/06 16:34:02.311 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:02.313 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.478319804\n# Parse_time: 0\n# Compile_time: 0.002515028\n# Rewrite_time: 0.000010826\n# Optimize_time: 0\n# Wait_TS: 0.000074923\n# DB: mysql\n# Is_internal: true\n# Digest: d5bebde055ca14bff3e131e086a86c4095b9d04ea6fc326b4c2f16ffd61fbd2d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.table_cache_meta ( tid bigint(11) NOT NULL DEFAULT 0, lock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE', lease bigint(20) NOT NULL DEFAULT 0, oldReadLease bigint(20) NOT NULL DEFAULT 0, PRIMARY KEY (tid) );"] [2024/05/06 16:34:02.322 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [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 16:34:02.325 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [2024/05/06 16:34:02.364 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=12.799185ms] [2024/05/06 16:34:02.437 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:02.338 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:02.437 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:02.338 +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 16:34:02.501 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:02.338 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:02.624 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=2.697662ms] [phyTblIDs="[60]"] [actionTypes="[8]"] [2024/05/06 16:34:02.685 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:02.686 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=61] [version=32] [2024/05/06 16:34:02.687 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=74.79093ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:02.338 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:02.764 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:02.338 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:02.906 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=61] [2024/05/06 16:34:02.906 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:02.909 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.590925817\n# Parse_time: 0\n# Compile_time: 0.00469374\n# Rewrite_time: 0.000012942\n# Optimize_time: 0\n# Wait_TS: 0.000080301\n# DB: mysql\n# Is_internal: true\n# Digest: 987fcd9b9a604209ec1101d918419b993c42f84fe228e20aee2fcca2931ff93e\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.analyze_options ( table_id BIGINT(64) NOT NULL, sample_num BIGINT(64) NOT NULL DEFAULT 0, sample_rate DOUBLE NOT NULL DEFAULT -1, buckets BIGINT(64) NOT NULL DEFAULT 0, topn BIGINT(64) NOT NULL DEFAULT -1, column_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT', column_ids TEXT(19372), PRIMARY KEY (table_id) CLUSTERED );"] [2024/05/06 16:34:02.919 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [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\t);"] [user=] [2024/05/06 16:34:03.007 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:02.931 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:03.007 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:02.931 +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\t);"] [2024/05/06 16:34:03.093 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:02.931 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:06.315 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000003f, primary: 6d44423a3100000000fb00000000000000685461626c653a3632ff0000000000000000f7, txnStartTS: 449572881850171393, lockForUpdateTS:0, minCommitTs:0, ttl: 3206, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:34:06.316 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000003f, primary: 6d44423a3100000000fb00000000000000685461626c653a3632ff0000000000000000f7, txnStartTS: 449572881850171393, lockForUpdateTS:0, minCommitTs:0, ttl: 3206, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:34:06.316 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000003f, primary: 6d44423a3100000000fb00000000000000685461626c653a3632ff0000000000000000f7, txnStartTS: 449572881850171393, lockForUpdateTS:0, minCommitTs:0, ttl: 3206, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:34:06.317 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000003f, primary: 6d44423a3100000000fb00000000000000685461626c653a3632ff0000000000000000f7, txnStartTS: 449572881850171393, lockForUpdateTS:0, minCommitTs:0, ttl: 3206, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:34:06.320 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572881904959488\n# Query_time: 3.031135366\n# Parse_time: 0\n# Compile_time: 0.013992332\n# Rewrite_time: 0.001024926\n# Optimize_time: 0.007471068\n# Wait_TS: 0.000083349\n# Cop_time: 3.014715775 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 171\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000010822\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwPw3jAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6My4wMnMsIGxvb3BzOjEsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuMDltcywgcHJvY19rZXlzOiAwLCBycGNfbnVtOiAyMDc0LCBycGNfdGltZTogMS45MXMsIGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjIwNzMsIHRvdGFsX3QBung2NDIuNW1zfQkxNzEgQnl0ZXMJTi9BCjEJMV82CTFfGfuIbGUobXlzcWwudGlkYl9tZGxfaW5mby52ZXJzaW9uLCAzMiklDghrdl8F+gR7dAFfGDk2MC43wrU1HAQwfQFfAQQYCjIJNDNfNQVkNDEwMDAwCXRhYmxlOnRpHV98LCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG+2cgA=')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('twSYCrIECg1UYWJsZVJlYWRlcl83EqACCgtTZWxlY3Rpb25fNhKbAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBxAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiJ0aWt2X3Rhc2s6e3RpbWU6OTYwLjfCtXMsIGxvb3BzOjB9cP///////////wF4CQgM////AQWKLIBPIkEpq6qqqqr2qQWKEFIjbGUoBYkELnQuiAA4LnZlcnNpb24sIDMyKWoi4nUAAWwM6nPmQBl1JAFAAVIQZGF0YTo9OwhaE3QBzBAzLjAycxHJIDFisgFjb3BfdAHsoCB7bnVtOiAxLCBtYXg6IDEuMDltcywgcHJvY19rZXlzOiAwLCBycGNfBScMMjA3NAkPBVfwSSAxLjkxcywgY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6AYZEX3JwYzoyMDczLCB0b3RhbF90AbtcNjQyLjVtc31wqwF4////////////ARgB')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 32;"] [2024/05/06 16:34:06.322 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 6d446966663a333300fe0000000000000073, primary: 6d44423a3100000000fb00000000000000685461626c653a3632ff0000000000000000f7, txnStartTS: 449572881850171393, lockForUpdateTS:0, minCommitTs:449572881850171394, ttl: 3206, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:34:06.332 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572881903910912\n# Query_time: 3.085517316\n# Parse_time: 0\n# Compile_time: 0.057641585\n# Rewrite_time: 0.009044755\n# Optimize_time: 0.025464\n# Wait_TS: 0.000102396\n# Cop_time: 3.008740502 Process_time: 0.002 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.001 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12630\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('1BO4MAkzXzEzCTAJMjI2MC44MwlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwQ3Byb2Nlc3NpbmcJMAl0aW1lOjMuMDFzLCBsb29wczoxLCBDb25jdXJyZW5jeTo1CTExLjggS0IJTi9BCjEJMTRfMTQJcn4AGWEUOmRlc2MsToUAFGpvYl9pZFaBABwJMCBCeXRlcxEIHAoyCTE3XzI4HfRUaW5uZXIgam9pbiwgZXF1YWw6W2VxKFoKAQRpZAHTIGx1bW4jMTUpXVZ1AJgsIGJ1aWxkX2hhc2hfdGFibGU6e3RvdGFsOjEuNDRtcywgZmV0Y2gVDgUuDDowc30RphEIJAozCTMxXzQxKEIBUAApHbVAZGF0YTpTZWxlY3Rpb25fNDARihg2NjQuOcK1LoMBbGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuMjkBjSFkNF9rZXlzOiAwLCB0b3RfARIIOiAxAR0McnBjXxE2AQwl5QE7AR2YY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uVQEcIDE1fQkxNzUtlBhOL0EKNAkxAb4EMV9yBwIMcmVvckljBGt2CcwAewWJCDEuMAWmSW8EMH0BUwEEHAo1CTQ0XzM5BVgcNjY2Ni42Nwkpii7dAvA8LCByYW5nZTpbLWluZiw2MyksICg2MywraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCUHxmo4ALDMJNl8yOShQcm9iZSHGODY0MDAJZ3JvdXAgYnk6Q1FQQCwgZnVuY3M6Zmlyc3Ryb3coFRoIKS0+FQwx6j5qA0xwYXJ0aWFsX3dvcmtlcjp7d2FsbCmvASooMTk4MjEzNnMsIGM9kQg1LCBBGiXiLfxEd2FpdDoxNS4wNTU3NTg4NDRzSRQUZXhlYzowDQ0pfQUlGDg2MDA2M3NJVAVqEDIxMTgygQUIcDk1MhIAFH0sIGZpbmKjABgyMjI3MjMyrqMAGDY2ODg4NzgNlgWjHDEyMS40NzbCYQMIdG90HasUNjg2MzQ5AdBB/wWrEDQ4Njc3ARIVqw0SWUpBoQAzYV8ltRRub3QoZXE5mRwsIDYzKSksIAEYFGlzbnVsbBkcACkh6yUqAWwAc7UVCAkzOJGWYQIQNQk2XzMh1gg4MDBdFkqBBGGXAGWlblIIBSBzY2hlbWFfaWQhjUasBUX/CR5JZwhtaW4VrQA4MmICADFKtwAEMix6YgIYMDMwMjYwNWq/AQAxSUpVYgw0NzIxIZMuvwEcMzgwLjU0NMJCvwEYNDc4MDI2MiHsLb8kMDk4NjQ3MDdzLDG/FRJ6agIUMDU5NjYxQbVeDQM+qwAYNTA1MjE5MDarABA3Mi4xOUqrABg1MDk3NTU1AWANqxQxMDQyOTVlJ1FqERJZagA2oe0MMzYJMEkKpeMkSGFzaEFnZ18zMV6VAWbeBQQ5OKGkQTWG3gUQMjMwMywy4QUAN4ksAHDC4QU0LCBSZXNvbHZlTG9jazrBcyBfcnBjOjIzMDJFAABhjZYoNzQ1Ljdtc30JMTkuDwMAN2EPADGluf4RA84RA0o5AxZgCH0hADgljD78BQA45RNCigYUOAk0M18zgUYMMAkxMGHjZYk6iAZ6bAZhkZpwAA==')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('qRbwSQqkFgoNUHJvamVjdGlvbl8xMxKOFQoHU29ydF8xNBKYFAoLSGFzaEpvaW5fMjgSpQQKDlRhYmxlUmVhZGVyXzQxEq8CCgxTZWxlCUAYNDAStgEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wWzpbLWluZiw2MyksICg2MywraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6MS4wMW1zLCBsb29wczowfXD/////BQMEAXgFBwEBAAEFoyyAMSdBKdGP6NqmqaEFowRSGAWfBC50HZ4ULnJlb3Jn3mgALBoBASEKjU0Y6mPrQBlrKAFAAVIRZGF0YTpTPU04WhZ0aW1lOjY2NC45wrVzEcMYMWKOAWNvcAnkoCB7bnVtOiAxLCBtYXg6IDEuMjltcywgcHJvY19rZXlzOiAwLCB0b3RfARIEOiAlCgxycGNfETYBDAVmATsBOthjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9cK8BPUsQEr4OCgpBOCBBZ2dfMjkS4AouJAIQMzAS5gkZIBAzNRK0BTZXAhAzNhKRAx0iFDESmwEKEEVVDEZ1bGxJVCg0IQAAAADw7zBBKQEJFACIw0AwAXZWAgAexjoCADglEwBshjoCCChlMQ2JBEC/DYk8UpQBZ3JvdXAgYnk6bXlzcTpGAiGQHGVzc2luZywgSh8AJHNjaGVtYV9pZHNSHwAQdGFibGUJHiRmdW5jczptaW4oSkcARGpvYl9pZCktPkNvbHVtbiMxOE65ApLnABze3d3dHT73QClwCedBuAQPZEG4CEhhcyXwDDMxWhNFUAwzLjAxVbMIMmLBarMCBDk4QXkhEYazAhAyMzAzLDK2Agw3NnMs0rYCaCwgUmVzb2x2ZUxvY2s6e251bV9ycGM6MjMwMmUzBGFsaRokNzQ1Ljdtc31wvjIxBCEQDK1s+EA+EAEAhP73Ab73ATXbPecANVaGAVDWAnBhcnRpYWxfd29ya2VyOnt3YWwN5yGxGDAzMDI2MDUlUQBudeMYNSwgdGFza4U0ADElG0hfd2FpdDoxNS4wNDcyMTYzNDlzCRgsZXhlYzozODAuNTQ0hbOBe0UQCS0UODAyNjI4QdQEYXgBchwwOTg2NDcwN4GzBDk1MhIAFH0sIGZpbmarABQ1OTY2MTOqqwAYNTA1MjE5MDarABA3Mi4xOUqrABg1MDk3NTU1AWANqxgxMDQyOTU2ARINqxUSXlQGRSMESP5NIwgAuUBlMRgubm90KGVxNbggNSwgNjMpKSwgARgUaXNudWxsGRwEKSlOygEMMXD8Ar1yJBoBAiFEREREJGM+bAAEOGeRg1EmBDUsjTIcZmlyc3Ryb3cdbJknUkACCDFiznpAAhQxOTgyMTNpkVZAAgAwSShVQCA1NTc1ODg0NHMJGEVAADANDVU4FDU1ODYwMCV7MY0UMTIxMTgygWIxjRESejgCGDIyMjcyMzJqOAJCowAUNjY4ODg3QbYIdG90CaMYMTIxLjQ3NkbjAgg1NjhhDwHQFasQNDg2NzcBEhWrDRJeOAIYfnx+h4YJByqMCGgBQAFSPGlubmVyIGpvaW4sIGVxdWFsOltlcShi9gUELCA19AQpXVJGAjBiN2J1aWxkX2hhc2hfxVMsOnt0b3RhbDoxLjQ0oZUQZmV0Y2gVDgUuLDowc30hhzVM+qYhEDqiAAA9SowAodfJ6BA6ZGVzY1LOBsmmUqMAGCGaTLn1IDc+agBOUgcBRhBtZXRhLE5QBxmHUmcADGINQ29dsTxwnF54////////////ARgB')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (63) order by processing desc, job_id;"] [2024/05/06 16:34:06.805 +08:00] [ERROR] [mvcc.go:1021] ["commit failed, no correspond lock found"] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6NjL/AAAAAAAAAAD3] ["start ts"=449572881850171393] [lock="{{0 0 0 0 0 false 0 false 0} [] [] []}"] [error="retryable: lock not found"] [stack="github.com/pingcap/tidb/store/mockstore/unistore/tikv.(*MVCCStore).Commit\n\tstore/mockstore/unistore/tikv/mvcc.go:1021\ngithub.com/pingcap/tidb/store/mockstore/unistore/tikv.(*Server).KvCommit\n\tstore/mockstore/unistore/tikv/server.go:366\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:183\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).sendReqToRegion\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1421\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReqCtx\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1177\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReq\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:234\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionCommit.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:98\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1036\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:969\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:788\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:222\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitTxn\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1701\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1692\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:34:06.806 +08:00] [WARN] [session.go:1025] ["can not retry txn"] [label=internal] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 16:34:06.806 +08:00] [WARN] [session.go:1041] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [2024/05/06 16:34:06.807 +08:00] [INFO] [job_table.go:255] ["[ddl] handle ddl job failed"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:02.931 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:06.851 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:02.931 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:06.948 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=264.248µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:06.987 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=264.23µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:07.021 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=411.168µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:07.522 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572882879873024] ["min commit ts"=449572882942525441] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6NjL/AAAAAAAAAAD3] [2024/05/06 16:34:07.522 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572882835308544] [info="{StartTs:449572882835308544 AttemptedCommitTs:449572882879873024 Key:6d44423a3100000000fb00000000000000685461626c653a3632ff0000000000000000f7 MinCommitTs:449572882942525441}"] [2024/05/06 16:34:07.527 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572882881970176\n# Query_time: 0.501524087\n# Parse_time: 0\n# Compile_time: 0.004660067\n# Rewrite_time: 0.000808554\n# Optimize_time: 0.001717142\n# Wait_TS: 0.000078928\n# Cop_time: 0.494724694 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 171\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000010813\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zgPwbTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6NDk1LjFtcywgbG9vcHM6MSwgY29wX3Rhc2s6IHtudW06IDEsIG1heDogMS4xNG1zLCBwcm9jX2tleXM6IDAsIHJwY19uASckMzcxLCBycGNfdAFXHCAzMTYuM21zBU/wdXJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjM3MCwgdG90YWxfdGltZTo5OG1zfQkxNzEgQnl0ZXMJTi9BCjEJMV82CTFfMAkR+qhsZShteXNxbC50aWRiX21kbF9pbmZvLnZlcnNpb24sIDMyKQkwCXRpa3ZfBfcEe3QBwSg5NjYuNcK1cywgbCUZFDB9CU4vQQEEHAoyCTQzXzUJAWQsMTAwMDAJdGFibGU6Ml8AfCwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvtnIA')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('tgSYCrEECg1UYWJsZVJlYWRlcl83EqACCgtTZWxlY3Rpb25fNhKbAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBxAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiJ0aWt2X3Rhc2s6e3RpbWU6OTY2LjXCtXMsIGxvb3BzOjB9cP///////////wF4CQgM////AQWKLIBPIkEpq6qqqqr2qQWKEFIjbGUoBYkALjKIADgudmVyc2lvbiwgMzIpaiLidQABbAzqc+ZAGXUkAUABUhBkYXRhOj07CFoVdAHMGDQ5NS4xbXMRyyAxYq8BY29wX3QB7kgge251bTogMSwgbWF4OiAxLjE0ASpEcHJvY19rZXlzOiAwLCBycGNfBScIMzcxCQ4FWBQgMzE2LjMBL/BvY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6e251bV9ycGM6MzcwLCB0b3RhbF90aW1lOjk4bXN9cKsBeP///////////wEYAQ==')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 32;"] [2024/05/06 16:34:07.532 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=2.771627ms] [phyTblIDs="[62]"] [actionTypes="[8]"] [2024/05/06 16:34:07.586 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:07.586 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=63] [version=34] [2024/05/06 16:34:07.589 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=65.13778ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:02.931 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:07.663 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:02.931 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:07.754 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=63] [2024/05/06 16:34:07.755 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:07.757 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 4.841912118\n# Parse_time: 0\n# Compile_time: 0.004332157\n# Rewrite_time: 0.000011998\n# Optimize_time: 0\n# Wait_TS: 0.000067296\n# DB: mysql\n# Is_internal: true\n# Digest: 11757f6de6b3d2a64e92f14cd7b7f739729563ede3b0139d016148eba0b27ebf\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_history ( table_id bigint(64) NOT NULL, stats_data longblob NOT NULL, seq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice', version bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN', create_time datetime(6) NOT NULL, UNIQUE KEY table_version_seq (table_id, version, seq_no), KEY table_create_time (table_id, create_time, seq_no) );"] [2024/05/06 16:34:07.763 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=34] [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\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\t);"] [user=] [2024/05/06 16:34:07.894 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:07.779 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:07.894 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:07.779 +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\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\t);"] [2024/05/06 16:34:07.953 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:07.779 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:08.156 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=3.020121ms] [phyTblIDs="[64]"] [actionTypes="[8]"] [2024/05/06 16:34:08.186 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:08.186 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=65] [version=35] [2024/05/06 16:34:08.187 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=38.389456ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:07.779 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:08.245 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:07.779 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:08.340 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=65] [2024/05/06 16:34:08.341 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:08.342 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.581425474\n# Parse_time: 0\n# Compile_time: 0.002914733\n# Rewrite_time: 0.00001332\n# Optimize_time: 0\n# Wait_TS: 0.000080195\n# DB: mysql\n# Is_internal: true\n# Digest: ebccd6f5d49fb0fcff4d7dc20bb3ae798d172a92ba5f6709445c980166f7e32f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_meta_history ( table_id bigint(64) NOT NULL, modify_count bigint(64) NOT NULL, count bigint(64) NOT NULL, version bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN', create_time datetime(6) NOT NULL, UNIQUE KEY table_version (table_id, version), KEY table_create_time (table_id, create_time) );"] [2024/05/06 16:34:08.358 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [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 16:34:08.463 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:08.374 +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 16:34:08.463 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:08.374 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:08.539 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:08.374 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:08.726 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=5.616223ms] [phyTblIDs="[66]"] [actionTypes="[8]"] [2024/05/06 16:34:08.726 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=10.416987ms] [2024/05/06 16:34:08.786 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:08.786 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=67] [version=36] [2024/05/06 16:34:08.787 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=68.297878ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:08.374 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:08.838 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:08.374 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:08.974 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=67] [2024/05/06 16:34:08.974 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:08.975 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.624218159\n# Parse_time: 0\n# Compile_time: 0.007370362\n# Rewrite_time: 0.00001441\n# Optimize_time: 0\n# Wait_TS: 0.000082264\n# DB: mysql\n# Is_internal: true\n# Digest: bfb9a3ff60c3c60c054a207c0a0db06c87e29edbe94005d8d5c89fe484f4f90a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.analyze_jobs ( id BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT, update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, table_schema CHAR(64) NOT NULL DEFAULT '', table_name CHAR(64) NOT NULL DEFAULT '', partition_name CHAR(64) NOT NULL DEFAULT '', job_info TEXT NOT NULL, processed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, start_time TIMESTAMP, end_time TIMESTAMP, state ENUM('pending', 'running', 'finished', 'failed') NOT NULL, fail_reason TEXT, instance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job', process_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job', PRIMARY KEY (id), KEY (update_time) );"] [2024/05/06 16:34:08.978 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [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 16:34:09.030 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:08.991 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:09.031 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:08.991 +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 16:34:09.131 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:08.991 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:09.179 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=15.232778ms] [2024/05/06 16:34:09.229 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=1.845722ms] [phyTblIDs="[68]"] [actionTypes="[8]"] [2024/05/06 16:34:09.285 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:09.285 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=69] [version=37] [2024/05/06 16:34:09.286 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=62.305687ms] [job="ID:69, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:08.991 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:09.372 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:69, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:08.991 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:09.498 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=69] [2024/05/06 16:34:09.498 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:09.503 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.526030194\n# Parse_time: 0\n# Compile_time: 0.001317648\n# Rewrite_time: 0.000013112\n# Optimize_time: 0\n# Wait_TS: 0.000059138\n# DB: mysql\n# Is_internal: true\n# Digest: 85d0480e8afeca7d94d07ca1a681df6c7f89f1fda753ceb6e02b51caf3714c1c\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.advisory_locks ( lock_name VARCHAR(64) NOT NULL PRIMARY KEY );"] [2024/05/06 16:34:09.628 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:09.536 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:09.629 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:34:09.536 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] [2024/05/06 16:34:09.773 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:09.536 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:10.401 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572883634585600] ["min commit ts"=449572883736821761] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6NzD/AAAAAAAAAAD3] [2024/05/06 16:34:10.401 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572883601031168] [info="{StartTs:449572883601031168 AttemptedCommitTs:449572883634585600 Key:6d44423a3100000000fb00000000000000685461626c653a3730ff0000000000000000f7 MinCommitTs:449572883736821761}"] [2024/05/06 16:34:10.406 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572883641663488\n# Query_time: 0.49709671\n# Parse_time: 0\n# Compile_time: 0.019663522\n# Rewrite_time: 0.006472558\n# Optimize_time: 0.009655575\n# Wait_TS: 0.00011205\n# Cop_time: 0.474728534 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 175\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.00001465\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2gP02QEwCTMxXzcJMAkzMzIzLjMzCWRhdGE6U2VsZWN0aW9uXzYJMAl0aW1lOjQ3NS4xbXMsIGxvb3BzOjEsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuMjJtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMW1zLCBycGNfbnVtOiAzMjYsIHJwY190aW1lOiAyODEuOG1zLCBjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzozMjUsIHRvdGFsX3RpbWU6MTA3bXN9CTE3NSBCeXRlcwlOL0EKMQkxXzYJMV8wCTMzMjMuMzMJbGUobXlzcWwudGlkYl9tZGxfaW5mby52ZXJzaW9uLCAzNykJMAl0aWt2X3Rhc2s6e3RpbWU6MS4wNG1zLCBsb29wczowfQlOL0EJTi9BCjIJNDNfNQkxXzAJMTAwMDAJdGFibGU6dGlkYl9tZGxfaW5mbywga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCTAJdGlrdl90YXNrOnt0aW1lOjEuMDRtcywgbG9vcHM6MH0JTi9BCU4vQQo=')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('wgSYCr0ECg1UYWJsZVJlYWRlcl83EpwCCgtTZWxlY3Rpb25fNhKZAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBpAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6MS4wNG1zLCBsb29wczowfXD//////wEEBAF4AQYFAQABBYgsgE8iQSmrqqqqqvapBYgQUiNsZSgFhwAuMoYAOC52ZXJzaW9uLCAzNylqINpzAAFqDOpz5kAZcyQBQAFSEGRhdGE6PTcIWhV0AcgUNDc1LjFtFckgMWK/AWNvcF90AepIIHtudW06IDEsIG1heDogMS4yMgEqRHByb2Nfa2V5czogMCwgdG90XwESBDogBUcMcnBjXwU2DDMyNiwFDgVnFCAyODEuOAE+8HBjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzozMjUsIHRvdGFsX3RpbWU6MTA3bXN9cK8BeP///////////wEYAQ==')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 37;"] [2024/05/06 16:34:10.410 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=2.709247ms] [phyTblIDs="[70]"] [actionTypes="[2097152]"] [2024/05/06 16:34:10.436 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:10.436 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=71] [version=38] [2024/05/06 16:34:10.437 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=38] ["take time"=34.651856ms] [job="ID:71, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:34:09.536 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:10.499 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:71, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:09.536 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:10.578 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=71] [2024/05/06 16:34:10.578 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:10.579 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.066436516\n# Parse_time: 0\n# Compile_time: 0.007356717\n# Rewrite_time: 0.004342541\n# Optimize_time: 0\n# Wait_TS: 0.000069964\n# DB: mysql\n# Is_internal: true\n# Digest: 812c81f344f5d0c8b8aedcb68ff1dca865b59104853273f7e66b8abff5429992\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE OR REPLACE VIEW mysql.tidb_mdl_view as ( select JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID );"] [2024/05/06 16:34:10.587 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [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 16:34:10.657 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:10.601 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:10.657 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:10.601 +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 16:34:10.771 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:10.601 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:10.926 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=4.941011ms] [phyTblIDs="[72]"] [actionTypes="[8]"] [2024/05/06 16:34:10.986 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:10.986 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=73] [version=39] [2024/05/06 16:34:10.987 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=39] ["take time"=74.661973ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:10.601 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:11.049 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:10.601 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:11.152 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=73] [2024/05/06 16:34:11.152 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:11.154 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.569556577\n# Parse_time: 0\n# Compile_time: 0.003001925\n# Rewrite_time: 0.000018049\n# Optimize_time: 0\n# Wait_TS: 0.000092262\n# DB: mysql\n# Is_internal: true\n# Digest: 3d2f349b1c68ee2b30e34bad8bb3838af6c40d7a26072b2d29d801d7fedbac48\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.plan_replayer_status ( sql_digest VARCHAR(128), plan_digest VARCHAR(128), origin_sql TEXT, token VARCHAR(128), update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fail_reason TEXT, instance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 16:34:11.161 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [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 16:34:11.268 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:11.206 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:11.269 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:11.206 +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 16:34:11.385 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:11.206 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:11.538 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=2.129635ms] [phyTblIDs="[74]"] [actionTypes="[8]"] [2024/05/06 16:34:11.586 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:11.586 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=75] [version=40] [2024/05/06 16:34:11.587 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=40] ["take time"=64.259555ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:11.206 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:11.647 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:11.206 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:11.742 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=75] [2024/05/06 16:34:11.742 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:11.746 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.588013679\n# Parse_time: 0\n# Compile_time: 0.003338015\n# Rewrite_time: 0.000018853\n# Optimize_time: 0\n# Wait_TS: 0.000087224\n# DB: mysql\n# Is_internal: true\n# Digest: 8d9754df14c826803fed84f1ae3eb8fc9729e76a793b6be6bf25967f1929d039\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.plan_replayer_task ( sql_digest VARCHAR(128) NOT NULL, plan_digest VARCHAR(128) NOT NULL, update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 16:34:11.752 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [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 16:34:11.817 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:11.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:11.817 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:11.765 +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 16:34:11.944 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:11.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:12.067 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=2.051057ms] [phyTblIDs="[76]"] [actionTypes="[8]"] [2024/05/06 16:34:12.086 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:12.086 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=77] [version=41] [2024/05/06 16:34:12.088 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=41] ["take time"=23.258509ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:11.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:12.173 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:11.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:12.245 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=77] [2024/05/06 16:34:12.246 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:12.247 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.497899085\n# Parse_time: 0\n# Compile_time: 0.002475684\n# Rewrite_time: 0.000010586\n# Optimize_time: 0\n# Wait_TS: 0.000089638\n# DB: mysql\n# Is_internal: true\n# Digest: b57fdc4b14aba5f29d915d04e5e4557f60a758fd65ec571368527cd45c6ef82a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_table_locked( table_id bigint(64) NOT NULL, modify_count bigint(64) NOT NULL DEFAULT 0, count bigint(64) NOT NULL DEFAULT 0, version bigint(64) UNSIGNED NOT NULL DEFAULT 0, PRIMARY KEY (table_id));"] [2024/05/06 16:34:12.265 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [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 16:34:12.440 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:12.299 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:12.440 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:12.299 +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 16:34:13.007 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572884316422144\n# Query_time: 0.507377176\n# Parse_time: 0\n# Compile_time: 0.001636302\n# Rewrite_time: 0.002995988\n# Optimize_time: 0.005182053\n# Wait_TS: 0.000074353\n# Prewrite_time: 0.000813001 Commit_time: 0.000610518 Get_commit_ts_time: 0.000025119 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 10056 Prewrite_region: 1\n# Is_internal: true\n# Digest: bb9a0484a27cea37dfc9b79800bc11ddc72f4ac11810a6eb126d600a567ce029\n# Num_cop_tasks: 0\n# Mem_max: 31639\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('oQPwTDAJMjhfMwkwCTAJTi9BCTAJdGltZToyLjM1bXMsIGxvb3BzOjEsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo4MTPCtXMsIGdldF9jb21tASIYczoyNS4xwgEXCTUUOjYxMC41BREgc2xvd2VzdF9wDUHQX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwNVxxfcHJpbWFyedZEAA1kCG51bQHeBc4QX2tleXMZDvBDYnl0ZToxMDA1Nn0JMTAuOSBLQglOL0EKMQkzNl8xCTAJMQl0YWJsZTp0aWRiX2RkbF9qb2IsIGhhbmRsZTo3OQkxCXQhSxA1MTAuNwX+AGwlTSgyLCBHZXQ6e251bQW7DDEsIHQhAABfJXlEMTg5LjXCtXN9CU4vQQlOL0EK')\n# Plan_digest: 3fea32741ba131a439f08d925bc0d60ce688c732cc613c6d3625da6592028edc\n# Binary_plan: tidb_decode_binary_plan('0wN4Cs4DCghVcGRhdGVfMxKUAQoLUG9pbnRfR2V0XzEpAAUB8HXwPzABOAFAAUoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSCWhhbmRsZTo3OVoWdGltZTo1MTAuN8K1cywgbG9vcHM6MmIkR2V0OntudW1fcnBjOjEsIHRvdGFsX3RpbWU6MTg5LjXCtXN9cP///////////wF4CQgI////BXwYUgNOL0FaFAUvHDIuMzVtcywgCVt0MWL9AWNvbW1pdF90eG46IHtwcmV3cml0ZTo4MTPCAYMMZ2V0XxEiFHM6MjUuMQUXCRMUOjYxMC41BREcc2xvd2VzdF8RQRhfcnBjOiB7Bal0OiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6CQcQMSwgfSwNVxxfcHJpbWFyedZEAA1kGG51bToxLCAFzhBfa2V5cxkOaGJ5dGU6MTAwNTZ9cJdXeP///////////wEYAQ==')\nupdate mysql.tidb_ddl_job set processing = 1 where job_id = 79;"] [2024/05/06 16:34:13.008 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:12.299 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:16.444 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000004f, primary: 6d44423a3100000000fb00000000000000685461626c653a3738ff0000000000000000f7, txnStartTS: 449572884449329152, lockForUpdateTS:0, minCommitTs:0, ttl: 3389, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:34:16.445 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000004f, primary: 6d44423a3100000000fb00000000000000685461626c653a3738ff0000000000000000f7, txnStartTS: 449572884449329152, lockForUpdateTS:0, minCommitTs:0, ttl: 3389, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:34:16.445 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000004f, primary: 6d44423a3100000000fb00000000000000685461626c653a3738ff0000000000000000f7, txnStartTS: 449572884449329152, lockForUpdateTS:0, minCommitTs:0, ttl: 3389, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:34:16.446 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000004f, primary: 6d44423a3100000000fb00000000000000685461626c653a3738ff0000000000000000f7, txnStartTS: 449572884449329152, lockForUpdateTS:0, minCommitTs:0, ttl: 3389, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:34:16.446 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000004f, primary: 6d44423a3100000000fb00000000000000685461626c653a3738ff0000000000000000f7, txnStartTS: 449572884449329152, lockForUpdateTS:0, minCommitTs:0, ttl: 3389, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:34:16.447 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000004f, primary: 6d44423a3100000000fb00000000000000685461626c653a3738ff0000000000000000f7, txnStartTS: 449572884449329152, lockForUpdateTS:0, minCommitTs:0, ttl: 3389, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:34:16.454 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572884781727744\n# Query_time: 2.2105607369999998\n# Parse_time: 0\n# Compile_time: 0.036517368\n# Rewrite_time: 0.003042755\n# Optimize_time: 0.024188286\n# Wait_TS: 0.000081938\n# Cop_time: 2.161818435 Process_time: 0.002 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.001 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12631\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zhO4MAkzXzEzCTAJMjI3MS40OAlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwQ3Byb2Nlc3NpbmcJMAl0aW1lOjIuMTdzLCBsb29wczoxLCBDb25jdXJyZW5jeTo1CTExLjggS0IJTi9BCjEJMTRfMTQJcn4AGWEUOmRlc2MsToUAFGpvYl9pZFaBABwJMCBCeXRlcxEIHAoyCTE3XzI4HfRUaW5uZXIgam9pbiwgZXF1YWw6W2VxKFoKAQRpZAHTIGx1bW4jMTUpXVZ1AJgsIGJ1aWxkX2hhc2hfdGFibGU6e3RvdGFsOjEuNjRtcywgZmV0Y2gVDgUuDDowc30RphEIJAozCTMxXzQxKEIBUAApHbVAZGF0YTpTZWxlY3Rpb25fNDARihg1MDcuOMK1LoMBbGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDIuMTUBjSFkNF9rZXlzOiAwLCB0b3RfARIIOiAxAR0McnBjXxE2AQwl5QwgMi4wBciYY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uVQIcIDE1fQkxNzUtlRhOL0EKNAkxAb8EMV9yCAIMcmVvcklkBGt2Cc0AewWKDDEuODYBp0lwBDB9AVMBBBwKNQk0NF8zOQVYHDY2NjYuNjcJKYsu3gLwPCwgcmFuZ2U6Wy1pbmYsNzkpLCAoNzksK2luZl0sIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkbwlB8pqOACwzCTZfMjkoUHJvYmUhxzg2NDAwCWdyb3VwIGJ5OkNRUUAsIGZ1bmNzOmZpcnN0cm93KBUaCCktPhUMMesQMi4xNnN9a0xwYXJ0aWFsX3dvcmtlcjp7d2FsbCmwASoUNDMyODU2ATEAYz2RCDUsIEEbJeMAMCn9RHdhaXQ6MTAuODE4NjEyODA1cwkYFGV4ZWM6MA0NKX0FJRg3MDA3MzlzSVUBahQzNzc5MjcBNwhwOTUyEgAUfSwgZmluZqMAHDUxNjQxOHMsqqMAEDE4Nzk0AWxBuAWjFDUzLjk3wmECARMdqRAyNjk2MyEBQf4FqRA2Nzc3MgE9FakNEllIQZ8AM2FeJbMUbm90KGVxOZccLCA3OSkpLCABGBRpc251bGwZHAApIekFfwFsBHMsTaQMMQkzOJGVYQAQNQk2XzMh1Ag4MDBdFEqABGGWAGWlbVIHBSBzY2hlbWFfaWQhi0arBUX9CR5JZQhtaW4VrQA4MmACADFKtwAEMix6YAIUMzE1MzY1ofxeYAIAMUlIWWAYMjgyODkyMk1TJb0cMjM4Ljc2McJGvwEUMzE5MjkyLmgCGDI3ODU0cyw1vQkQemQCDDMyMDMJdKKnABQ0NDEyNjM2pwAUMDcuNDUySqcAFDQ2NTQ4MiHvCG1heCX6FDMxMzA5ODJmAg0SWWYANqHoDDM2CTBJBqXeJEhhc2hBZ2dfMzFekQFe2QUEMS6u2AUMNDc1LL3bCDEuMiFVztoFNCwgUmVzb2x2ZUxvY2s6wW0gX3JwYzoxNDc0JfsAYY2PLDU0Ni42bXN9CTE5Md0KADdhCgAxpbL+DAPODANKNAMWWgh9HAA4JYs+9QUAM+UMQoMGFDgJNDNfM4FBDDAJMTBh3mWEOoEGemUGYYyacAA=')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('oxbwSQqeFgoNUHJvamVjdGlvbl8xMxKIFQoHU29ydF8xNBKSFAoLSGFzaEpvaW5fMjgSpgQKDlRhYmxlUmVhZGVyXzQxEq8CCgxTZWxlCUAYNDAStgEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wWzpbLWluZiw3OSksICg3OSwraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6MS44Nm1zLCBsb29wczowfXD/////BQMEAXgFBwEBAAEFoyyAMSdBKa77Fv/zvqEFowRSGAWfBC50HZ4ULnJlb3Jn3mgALBoBASE3He4QHGfrQBlrKAFAAVIRZGF0YTpTPU04WhZ0aW1lOjUwNy44wrVzEcMYMWKPAWNvcAnkoCB7bnVtOiAxLCBtYXg6IDIuMTVtcywgcHJvY19rZXlzOiAwLCB0b3RfARIIOiAxAR0McnBjXxE2AQwFZhAgMi4wNAEe2GNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX1wrwE9TBAStw4KCkE5IEFnZ18yORLbCi4lAhAzMBLhCRkgEDM1ErMFNlgCEDM2EpEDHSIUMRKbAQoQRVYMRnVsbElVADQlshTw7zBBKQABARCIw0AwAXZXAgAexjsCADMlEwBshjsCCChlMQ2JBEC/DYk8UpQBZ3JvdXAgYnk6bXlzcTpHAiGRHGVzc2luZywgSh8AJHNjaGVtYV9pZHNSHwAQdGFibGUJHiRmdW5jczptaW4oSkcARGpvYl9pZCktPkNvbHVtbiMxOE66ApLnABze3d3dHT73QClwCedBuQQPZEG5CEhhcyXwDDMxWhNFUQwyLjE2VbQIMmLAYrQCBDEurrMCDDQ3NSxdthQxLjI0cyzStQI0LCBSZXNvbHZlTG9jazphSCBfcnBjOjE0NzRlMwRhbGkaJDU0Ni42bXN9cL8yMQQhDwytbPhAPg8BAIT+9gG+9gE12j3mADVWhQFQ0gJwYXJ0aWFsX3dvcmtlcjp7d2FsDechsBgzMTUzNjU3JVEAbnXiGDUsIHRhc2uFNAAxJRtIX3dhaXQ6MTAuODEyODI4OTIycwkYLGV4ZWM6MjM4Ljc2MYWzgXtFDwUtGDMxOTI5MjlB0wRheAVyDDI3ODUhwQhwOTUdEBR9LCBmaW5mpwAIMjAzCXQAY56nABQ0NDEyNjM2pwAUMDcuNDUySqcAFDQ2NTQ4MkG+AG0NpxgzMTMwOTg1oVoNqRESXlAGRR8ESP5NHwgAuUBlLBgubm90KGVxNbQgNSwgNzkpKSwgARgUaXNudWxsGRwEKSlOxgEMMXD8Ar1tJBoBAiFEREREJGM+bAAEOGeRflEiBDUsjS0cZmlyc3Ryb3cdbJkiUjwCCDFizHo8AhQ0MzI4NTYhNV6VAQAwSSRZPBQ4NjEyODAhVkEnRTwAME1JWTQUODcwMDczLjQCFDM3NzkyNwE3NY0NEno4Ahg0NTE2NDE4at8CRqMAEDE4Nzk0AWwVoxA1My45N0o2AhQ4MjY5NjMhAVU2EDY3NzcyAT0VqQ0SXjYCGOPastiFCwcqhghoAUABUjxpbm5lciBqb2luLCBlcXVhbDpbZXEoYu8FBCwgNfIEKV1ZRGHYycs0MWI3YnVpbGRfaGFzaF/FTCg6e3RvdGFsOjEuNsX0EGZldGNoFQ4FLiw6MHN9IUTTSp7vKBA6ogAEPW1u4QYQOmRlc2NSxwbJn1KjABgh2O58KYM+PmoATksHAUYQbWV0YSxOSQf5aFJnAAxiDUNvnes8cJxeeP///////////wEYAQ==')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (79) order by processing desc, job_id;"] [2024/05/06 16:34:16.456 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572884553138176\n# Query_time: 3.086845644\n# Parse_time: 0\n# Compile_time: 0.041688553\n# Rewrite_time: 0.000880327\n# Optimize_time: 0.037897083\n# Wait_TS: 0.000088822\n# Cop_time: 3.028309112 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 175\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000012505\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2gPweTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6My4wM3MsIGxvb3BzOjEsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuMzhtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMW1zLCBycGNfBTYUMjE1MiwgAQ8AdAFlFCAxLjc3cwVd8ExyX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzoyMTUxLAGADGFsX3QBZHg3NDYuM21zfQkxNzUgQnl0ZXMJTi9BCjEJMV82CTFfOQqobGUobXlzcWwudGlkYl9tZGxfaW5mby52ZXJzaW9uLCA0MSkJMAl0aWt2XyUJBHt0AV8MMS4xOAHjAGwlKQQwfQFdAQQYCjIJNDNfNQViLDEwMDAwCXRhYmxlOjJdAHwsIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkb65wAA==')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('wgSYCr0ECg1UYWJsZVJlYWRlcl83EpwCCgtTZWxlY3Rpb25fNhKZAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBpAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6MS4xOG1zLCBsb29wczowfXD//////wEEBAF4AQYFAQABBYgsgE8iQSmrqqqqqvapBYgQUiNsZSgFhwAuMoYAOC52ZXJzaW9uLCA0MSlqINpzAAFqDOpz5kAZcyQBQAFSEGRhdGE6PTcIWhN0AcgMMy4wMxXHIDFiwQFjb3BfdAHooCB7bnVtOiAxLCBtYXg6IDEuMzhtcywgcHJvY19rZXlzOiAwLCB0b3RfARIIOiAxAR0McnBjXwU2EDIxNTIsBQ8FZvBJIDEuNzdzLCBjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazoBlSBfcnBjOjIxNTEFgAxhbF90AcpcNzQ2LjNtc31wrwF4////////////ARgB')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 41;"] [2024/05/06 16:34:16.465 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 6d446966663a343200fe0000000000000073, primary: 6d44423a3100000000fb00000000000000685461626c653a3738ff0000000000000000f7, txnStartTS: 449572884449329152, lockForUpdateTS:0, minCommitTs:449572884449329153, ttl: 3389, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:34:16.906 +08:00] [ERROR] [mvcc.go:1021] ["commit failed, no correspond lock found"] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6Nzj/AAAAAAAAAAD3] ["start ts"=449572884449329152] [lock="{{0 0 0 0 0 false 0 false 0} [] [] []}"] [error="retryable: lock not found"] [stack="github.com/pingcap/tidb/store/mockstore/unistore/tikv.(*MVCCStore).Commit\n\tstore/mockstore/unistore/tikv/mvcc.go:1021\ngithub.com/pingcap/tidb/store/mockstore/unistore/tikv.(*Server).KvCommit\n\tstore/mockstore/unistore/tikv/server.go:366\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:183\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).sendReqToRegion\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1421\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReqCtx\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1177\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReq\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:234\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionCommit.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:98\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1036\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:969\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:788\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:222\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitTxn\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1701\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1692\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:34:16.908 +08:00] [WARN] [session.go:1025] ["can not retry txn"] [label=internal] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 16:34:16.909 +08:00] [WARN] [session.go:1041] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [2024/05/06 16:34:16.909 +08:00] [INFO] [job_table.go:255] ["[ddl] handle ddl job failed"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:12.299 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:17.026 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 33, tp general"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:12.299 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:17.109 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=340.613µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:17.124 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=325.019µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:17.142 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=299.73µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:17.157 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=315.53µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:17.185 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=322.431µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:17.220 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=296.915µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:17.235 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=290.872µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:17.265 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=258.004µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:17.281 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=311.506µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:17.300 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=299.778µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:17.321 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=308.684µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:17.338 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=262.523µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:17.353 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=269.983µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:17.367 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=271.106µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:17.385 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=330.202µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:17.402 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=335.545µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:17.422 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=43] ["start time"=4.476627ms] [phyTblIDs="[78]"] [actionTypes="[8]"] [2024/05/06 16:34:17.436 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:17.436 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=79] [version=43] [2024/05/06 16:34:17.438 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=43] ["take time"=34.306448ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:12.299 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:17.518 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 33, tp general"] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:12.299 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:17.665 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=79] [2024/05/06 16:34:17.666 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:17.685 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=19.386948ms] [2024/05/06 16:34:17.686 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 5.42666162\n# Parse_time: 0\n# Compile_time: 0.005843375\n# Rewrite_time: 0.0000185\n# Optimize_time: 0\n# Wait_TS: 0.000078389\n# DB: mysql\n# Is_internal: true\n# Digest: a30bd3c3a49070c554e65922e84c6b76e646842e3925a859fcde73941a7cb423\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status ( table_id bigint(64) PRIMARY KEY, parent_table_id bigint(64), table_statistics text DEFAULT NULL, last_job_id varchar(64) DEFAULT NULL, last_job_start_time timestamp NULL DEFAULT NULL, last_job_finish_time timestamp NULL DEFAULT NULL, last_job_ttl_expire timestamp NULL DEFAULT NULL, last_job_summary text DEFAULT NULL, current_job_id varchar(64) DEFAULT NULL, current_job_owner_id varchar(64) DEFAULT NULL, current_job_owner_addr varchar(256) DEFAULT NULL, current_job_owner_hb_time timestamp, current_job_start_time timestamp NULL DEFAULT NULL, current_job_ttl_expire timestamp NULL DEFAULT NULL, current_job_state text DEFAULT NULL, current_job_status varchar(64) DEFAULT NULL, current_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 16:34:18.533 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572885676163072\n# Query_time: 0.567902298\n# Parse_time: 0\n# Compile_time: 0.268387741\n# Rewrite_time: 0.00813746\n# Optimize_time: 0\n# Wait_TS: 0.000086631\n# DB: mysql\n# Is_internal: true\n# Digest: ca2019e08a331284bd0c64be228a0537fcf9f5983e95d94b67ef42dcb8f54385\n# Num_cop_tasks: 0\n# Mem_max: 353654\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: true\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('ogPoMAkyN18xCTAJMAlOL0EJMAl0aW1lOjI4NS42bXMsIGxvb3BzOjEsIHByZXBhcmU6IHt0b3RhbDogNDkJIkxhdXRvX2lkX2FsbG9jYXRvcjogewUMZF9jbnQ6IDEsIEdldDp7bnVtX3JwYzo0LCB0AUEAXwVosDUwNC4zwrVzfSwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjYyOMK1cywgZ2V0XxEiGHM6MjUuMcIBFwkTFDo2MzcuMgURHHNsb3dlc3RfEUEFdAQgewVzaDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0bwHZBQcIMSwgGYwYcHJpbWFyedZEAA1kGG51bToxLCAFzgxfa2V5JU0JDphieXRlOjMyfX19LCBpbnNlcnQ6MjM2LjFtcwk5Ny40IEtCCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('rgPwQwqpAwoISW5zZXJ0XzE4AUABUgNOL0FaFXRpbWU6Mjg1LjZtcywgbG9vcHM6MWLtAnByZXBhcmU6IHt0b3RhbDogNDkuBSNMYXV0b19pZF9hbGxvY2F0b3I6IHsFDGRfY250OiAxLCBHZXQ6e251bV9ycGM6NCwgdAFBAF8FabA1MDQuM8K1c30sIGNvbW1pdF90eG46IHtwcmV3cml0ZTo2MjjCtXMsIGdldF8RIhhzOjI1LjHCARcJExQ6NjM3LjIFERxzbG93ZXN0XxFBBXQEIHsFc2g6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG8B2QUHCDEsIBmMGHByaW1hcnnWRAANZBhudW06MSwgBc4QX2tleXMZDqhieXRlOjMyfX19LCBpbnNlcnQ6MjM2LjFtc3D2igZ4////////////ARgB')\nINSERT HIGH_PRIORITY INTO mysql.GLOBAL_VARIABLES VALUES (\"tidb_enable_mutation_checker\", \"ON\"), (\"offline_mode\", \"OFF\"), (\"auto_increment_offset\", \"1\"), (\"innodb_flush_neighbors\", \"1\"), (\"slave_rows_search_algorithms\", \"TABLE_SCAN,INDEX_SCAN\"), (\"event_scheduler\", \"OFF\"), (\"log_syslog\", \"\"), (\"tidb_enable_vectorized_expression\", \"ON\"), (\"tidb_ttl_job_schedule_window_start_time\", \"00:00 +0000\"), (\"general_log_file\", \"/usr/local/mysql/data/localhost.log\"), (\"innodb_max_purge_lag_delay\", \"0\"), (\"tidb_txn_commit_batch_size\", \"16384\"), (\"query_cache_type\", \"OFF\"), (\"rewriter_verbose\", \"\"), (\"tidb_evolve_plan_baselines\", \"OFF\"), (\"tidb_source_id\", \"1\"), (\"max_write_lock_count\", \"18446744073709551615\"), (\"tidb_enable_null_aware_anti_join\", \"OFF\"), (\"innodb_fill_factor\", \"\"), (\"tidb_enable_noop_variables\", \"ON\"), (\"tidb_stmt_summary_internal_query\", \"OFF\"), (\"tidb_retry_limit\", \"10\"), (\"default_storage_engine\", \"InnoDB\"), (\"tidb_tso_client_batch_max_wait_time\", \"0\"), (\"ft_boolean_syntax\", \"+ -><()~*:\\\"\\\"&|\"), (\"log_slow_admin_statements\", \"OFF\"), (\"master_verify_checksum\", \"OFF\"), (\"innodb_undo_log_truncate\", \"\"), (\"innodb_large_prefix\", \"ON\"), (\"innodb_compression_pad_pct_max\", \"50\"), (\"tidb_stmt_summary_refresh_interval\", \"1800\"), (\"session_track_schema\", \"\"), (\"innodb_buffer_pool_load_now\", \"OFF\"), (\"collation_database\", \"utf8mb4_bin\"), (\"tidb_ddl_reorg_worker_cnt\", \"4\"), (\"tidb_opt_copcpu_factor\", \"3\"), (\"tidb_ttl_job_schedule_window_end_time\", \"23:59 +0000\"), (\"tidb_index_lookup_size\", \"20000\"), (\"innodb_spin_wait_delay\", \"6\"), (\"sql_require_primary_key\", \"OFF\"), (\"tidb_enable_reuse_chunk\", \"ON\"), (\"innodb_buffer_pool_dump_now\", \"OFF\"), (\"tidb_stmt_summary_max_stmt_count\", \"3000\"), (\"session_track_gtids\", \"OFF\"), (\"sql_big_selects\", \"ON\"), (\"lc_messages\", \"en_US\"), (\"innodb_max_dirty_pages_pct_lwm\", \"0\"), (\"tidb_opt_prefer_range_scan\", \"OFF\"), (\"rpl_semi_sync_master_trace_level\", \"\"), (\"tidb_store_limit\", \"0\"), (\"innodb_random_read_ahead\", \"OFF\"), (\"tidb_enable_noop_functions\", \"OFF\"), (\"transaction_read_only\", \"OFF\"), (\"sql_buffer_result\", \"OFF\"), (\"tidb_stmt_summary_history_size\", \"24\"), (\"binlog_error_action\", \"IGNORE_ERROR\"), (\"innodb_read_ahead_threshold\", \"56\"), (\"log_timestamps\", \"\"), (\"innodb_cmp_per_index_enabled\", \"OFF\"), (\"div_precision_increment\", \"4\"), (\"innodb_replication_delay\", \"0\"), (\"innodb_commit_concurrency\", \"0\"), (\"query_prealloc_size\", \"8192\"), (\"net_buffer_length\", \"16384\"), (\"tidb_opt_enable_hash_join\", \"ON\"), (\"tidb_auto_build_stats_concurrency\", \"1\"), (\"tidb_txn_assertion_level\", \"FAST\"), (\"stored_program_cache\", \"256\"), (\"tidb_build_stats_concurrency\", \"4\"), (\"tidb_enable_auto_increment_in_generated\", \"OFF\"), (\"avoid_temporal_upgrade\", \"OFF\"), (\"tidb_track_aggregate_memory_usage\", \"ON\"), (\"password_history\", \"0\"), (\"max_execution_time\", \"0\"), (\"innodb_status_output\", \"OFF\"), (\"innodb_log_write_ahead_size\", \"\"), (\"wait_timeout\", \"28800\"), (\"bulk_insert_buffer_size\", \"8388608\"), (\"slave_pending_jobs_size_max\", \"16777216\"), (\"innodb_max_undo_log_size\", \"\"), (\"tidb_gc_life_time\", \"10m0s\"), (\"tidb_index_lookup_join_concurrency\", \"-1\"), (\"innodb_stats_persistent\", \"ON\"), (\"rpl_semi_sync_master_wait_point\", \"AFTER_SYNC\"), (\"transaction_alloc_block_size\", \"8192\"), (\"default_authentication_plugin\", \"mysql_native_password\"), (\"transaction_isolation\", \"REPEATABLE-READ\"), (\"old_passwords\", \"0\"), (\"relay_log_purge\", \"ON\"), (\"optimizer_trace_features\", \"greedy_search=on,range_optimizer=on,dynamic_range=on,repeated_subselect=on\"), (\"max_heap_table_size\", \"16777216\"), (\"updatable_views_with_limit\", \"YES\"), (\"long_query_time\", \"10.000000\"), (\"log_error_verbosity\", \"\"), (\"max_binlog_size\", \"1073741824\"), (\"tidb_mem_quota_binding_cache\", \"67108864\"), (\"tidb_enable_window_function\", \"ON\"), (\"tidb_enable_clustered_index\", \"ON\"), (\"concurrent_insert\", \"AUTO\"), (\"innodb_default_row_format\", \"dynamic\"), (\"min_examined_row_limit\", \"0\"), (\"validate_password.enable\", \"OFF\"), (\"tidb_opt_seek_factor\", \"20\"), (\"innodb_buffer_pool_filename\", \"ib_buffer_pool\"), (\"tidb_enable_historical_stats\", \"OFF\"), (\"innodb_file_per_table\", (len:21519);"] [2024/05/06 16:34:19.312 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572885676163072\n# Query_time: 0.651663963\n# Parse_time: 0\n# Compile_time: 0.000547977\n# Rewrite_time: 0.000005432\n# Optimize_time: 0\n# Wait_TS: 0.000086631\n# Prewrite_time: 0.092236715 Commit_time: 0.052440153 Get_commit_ts_time: 0.000024512 Slowest_prewrite_rpc_detail: {total:0.089s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.089s, region_id: 2, store: store1, } Write_keys: 1156 Write_size: 85632 Prewrite_region: 1\n# DB: mysql\n# Is_internal: true\n# Digest: 9505cacb7c710ed17125fcc6cb3669e8ddca6c8cd8af6a31f6b3cd64604c3098\n# Num_cop_tasks: 0\n# Mem_max: 253952\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: true\n# IsSyncStatsFailed: false\n# Prev_stmt: UPDATE `mysql`.`GLOBAL_VARIABLES` SET variable_value= '4096' WHERE variable_name= 'tidb_stmt_summary_max_sql_length' AND variable_value=''\nCOMMIT;"] [2024/05/06 16:34:19.313 +08:00] [INFO] [bootstrap.go:529] ["bootstrap successful"] ["take time"=52.076920692s] [2024/05/06 16:34:19.314 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:34:19.314 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 42, tp add index"] ["take time"=25.479µs] [2024/05/06 16:34:19.315 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 43, tp add index"] ["take time"=19.081µs] [2024/05/06 16:34:19.315 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 34, tp add index"] ["take time"=19.047µs] [2024/05/06 16:34:19.315 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 35, tp add index"] ["take time"=33.922µs] [2024/05/06 16:34:19.315 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 36, tp add index"] ["take time"=20.329µs] [2024/05/06 16:34:19.315 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 37, tp add index"] ["take time"=19.372µs] [2024/05/06 16:34:19.315 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 38, tp add index"] ["take time"=19.397µs] [2024/05/06 16:34:19.315 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 39, tp add index"] ["take time"=18.809µs] [2024/05/06 16:34:19.315 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 40, tp add index"] ["take time"=17.879µs] [2024/05/06 16:34:19.315 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 41, tp add index"] ["take time"=19.791µs] [2024/05/06 16:34:19.315 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:34:19.316 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 33, tp general"] ["take time"=18.182µs] [2024/05/06 16:34:19.316 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 31, tp general"] ["take time"=3.065µs] [2024/05/06 16:34:19.316 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 32, tp add index"] ["take time"=2.091µs] [2024/05/06 16:34:19.316 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:34:19.316 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:34:19.325 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=cb96ffa9-a00d-4475-bdff-87b954b48791] ["take time"=10.50643ms] [2024/05/06 16:34:19.325 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=cb96ffa9-a00d-4475-bdff-87b954b48791] [2024/05/06 16:34:19.326 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:34:19.326 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:34:19.326 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:34:19.326 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:34:19.326 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:34:19.357 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:34:19.358 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=43.651435ms] [2024/05/06 16:34:19.358 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=17d7b5d6-a2c3-424c-a3e6-5cb4f56fda35] ["ddl lease"=20ms] ["stats lease"=3s] ["index usage sync lease"=0s] [2024/05/06 16:34:19.507 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=43] ["start time"=146.958309ms] [2024/05/06 16:34:19.512 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:34:19.513 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=154.028661ms] [2024/05/06 16:34:19.513 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=eb2a7bce-b94c-4417-85ee-65d152c7f3b3] [runWorker=true] [2024/05/06 16:34:19.514 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:34:19.514 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:34:19.515 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 44, tp general"] [2024/05/06 16:34:19.515 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 45, tp add index"] [2024/05/06 16:34:19.518 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:34:19.518 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:34:19.518 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:34:19.518 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:34:19.553 +08:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 16:34:19.903 +08:00] [INFO] [domain.go:1944] ["init stats info time"] ["take time"=68.528233ms] [2024/05/06 16:34:19.953 +08:00] [INFO] [set.go:160] ["set global var"] [conn=3] [name=tidb_stmt_summary_max_stmt_count] [val=3000] [2024/05/06 16:34:20.515 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:34:20.516 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:34:20.516 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 44, tp general"] ["take time"=4.94µs] [2024/05/06 16:34:20.516 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 45, tp add index"] ["take time"=180.134µs] [2024/05/06 16:34:20.516 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:34:20.516 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:34:20.517 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=eb2a7bce-b94c-4417-85ee-65d152c7f3b3] ["take time"=556.843663ms] [2024/05/06 16:34:20.517 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=eb2a7bce-b94c-4417-85ee-65d152c7f3b3] [2024/05/06 16:34:20.517 +08:00] [INFO] [domain.go:1569] ["handleEvolvePlanTasksLoop exited."] [2024/05/06 16:34:20.517 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:34:20.518 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:34:20.518 +08:00] [INFO] [domain.go:1444] ["LoadSysVarCacheLoop exited."] [2024/05/06 16:34:20.518 +08:00] [INFO] [domain.go:1703] ["PlanReplayerTaskCollectHandle exited."] [2024/05/06 16:34:20.518 +08:00] [INFO] [domain.go:1748] ["dumpFileGcChecker exited."] [2024/05/06 16:34:20.518 +08:00] [INFO] [domain.go:1394] ["loadPrivilegeInLoop exited."] [2024/05/06 16:34:20.518 +08:00] [INFO] [domain.go:2103] ["autoAnalyzeWorker exited."] [2024/05/06 16:34:20.518 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:34:20.518 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:34:20.518 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:34:20.518 +08:00] [INFO] [domain.go:2124] ["gcAnalyzeHistory exited."] [2024/05/06 16:34:20.518 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:34:20.518 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:34:20.518 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:34:20.518 +08:00] [INFO] [domain.go:1525] ["globalBindHandleWorkerLoop exited."] [2024/05/06 16:34:20.518 +08:00] [INFO] [domain.go:1959] ["loadStatsWorker exited."] [2024/05/06 16:34:20.518 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:34:20.518 +08:00] [INFO] [domain.go:1779] ["HistoricalStatsWorker exited."] [2024/05/06 16:34:20.518 +08:00] [INFO] [domain.go:1721] ["PlanReplayerTaskDumpHandle exited."] [2024/05/06 16:34:20.518 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:34:20.519 +08:00] [INFO] [domain.go:2038] ["updateStatsWorker exited."] [2024/05/06 16:34:20.536 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:34:20.537 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=576.575852ms] [2024/05/06 16:34:20.538 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=17d7b5d6-a2c3-424c-a3e6-5cb4f56fda35] ["ddl lease"=20ms] ["stats lease"=3s] ["index usage sync lease"=0s] [2024/05/06 16:34:20.671 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=43] ["start time"=130.959869ms] [2024/05/06 16:34:20.677 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:34:20.677 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=138.543028ms] [2024/05/06 16:34:20.678 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=6247c534-313f-48fe-8f5e-140e7a22e3b7] [runWorker=true] [2024/05/06 16:34:20.679 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:34:20.679 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:34:20.680 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 46, tp general"] [2024/05/06 16:34:20.681 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 47, tp add index"] [2024/05/06 16:34:20.684 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:34:20.685 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:34:20.685 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:34:20.686 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:34:20.691 +08:00] [INFO] [bootstrap.go:995] ["Waiting for the DDL owner to be elected in the cluster"] [2024/05/06 16:34:20.798 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=] [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 16:34:20.817 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=] [sql="ALTER TABLE mysql.user MODIFY COLUMN Host CHAR(255)"] [user=] [2024/05/06 16:34:20.855 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:80, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:5, start time: 2024-05-06 16:34:20.828 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:34:20.856 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:80, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:5, start time: 2024-05-06 16:34:20.828 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.user MODIFY COLUMN Host CHAR(255)"] [2024/05/06 16:34:21.785 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 48, tp general"] [job="ID:80, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:20.828 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:21.988 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=15.25903ms] [2024/05/06 16:34:22.689 +08:00] [INFO] [info.go:1114] [SetTiFlashGroupConfig] [2024/05/06 16:34:25.205 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000050, primary: 6d44423a3100000000fb00000000000000685461626c653a3400fe, txnStartTS: 449572886750167040, lockForUpdateTS:0, minCommitTs:0, ttl: 3402, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:34:25.207 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000050, primary: 6d44423a3100000000fb00000000000000685461626c653a3400fe, txnStartTS: 449572886750167040, lockForUpdateTS:0, minCommitTs:0, ttl: 3402, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:34:25.207 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000050, primary: 6d44423a3100000000fb00000000000000685461626c653a3400fe, txnStartTS: 449572886750167040, lockForUpdateTS:0, minCommitTs:0, ttl: 3402, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:34:25.211 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000050, primary: 6d44423a3100000000fb00000000000000685461626c653a3400fe, txnStartTS: 449572886750167040, lockForUpdateTS:0, minCommitTs:0, ttl: 3402, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:34:25.211 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000050, primary: 6d44423a3100000000fb00000000000000685461626c653a3400fe, txnStartTS: 449572886750167040, lockForUpdateTS:0, minCommitTs:0, ttl: 3402, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:34:25.211 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000050, primary: 6d44423a3100000000fb00000000000000685461626c653a3400fe, txnStartTS: 449572886750167040, lockForUpdateTS:0, minCommitTs:0, ttl: 3402, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:34:25.211 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000050, primary: 6d44423a3100000000fb00000000000000685461626c653a3400fe, txnStartTS: 449572886750167040, lockForUpdateTS:0, minCommitTs:0, ttl: 3402, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:34:25.212 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000050, primary: 6d44423a3100000000fb00000000000000685461626c653a3400fe, txnStartTS: 449572886750167040, lockForUpdateTS:0, minCommitTs:0, ttl: 3402, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:34:25.212 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000050, primary: 6d44423a3100000000fb00000000000000685461626c653a3400fe, txnStartTS: 449572886750167040, lockForUpdateTS:0, minCommitTs:0, ttl: 3402, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:34:25.214 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000050, primary: 6d44423a3100000000fb00000000000000685461626c653a3400fe, txnStartTS: 449572886750167040, lockForUpdateTS:0, minCommitTs:0, ttl: 3402, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:34:25.218 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572886857121792\n# Query_time: 3.033200069\n# Parse_time: 0\n# Compile_time: 0.010446981\n# Rewrite_time: 0.000936957\n# Optimize_time: 0.007000363\n# Wait_TS: 0.000091151\n# Cop_time: 3.020194281 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 175\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000011643\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2APweTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6My4wMnMsIGxvb3BzOjEsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuNzRtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMW1zLCBycGNfCTYQNjQ0LCABDwB0AWUUIDEuNThzBV3wTHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjE2NDMsAYAMYWxfdAFkcDEuMDJzfQkxNzUgQnl0ZXMJTi9BCjEJMV82CTFfOQiobGUobXlzcWwudGlkYl9tZGxfaW5mby52ZXJzaW9uLCA0MykJMAl0aWt2XyUHBHt0CV0ENTQB4QBsJScEMH0BXQEEGAoyCTQzXzUFYiwxMDAwMAl0YWJsZToyXQB8LCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG+ucAA=')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('wASYCrsECg1UYWJsZVJlYWRlcl83EpwCCgtTZWxlY3Rpb25fNhKZAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBpAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6MS41NG1zLCBsb29wczowfXD//////wEEBAF4AQYFAQABBYgsgE8iQSmrqqqqqvapBYgQUiNsZSgFhwAuMoYAOC52ZXJzaW9uLCA0MylqINpzAAFqDOpz5kAZcyQBQAFSEGRhdGE6PTcIWhN0AcgMMy4wMhXHIDFivwFjb3BfdAHooCB7bnVtOiAxLCBtYXg6IDEuNzRtcywgcHJvY19rZXlzOiAwLCB0b3RfARIIOiAxAR0McnBjXwk2DDY0NCwFDwVm8EkgMS41OHMsIGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOgGVIF9ycGM6MTY0MwWADGFsX3QBygAxAcpAfXCvAXj///////////8BGAE=')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 43;"] [2024/05/06 16:34:25.222 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 6d446966663a343400fe0000000000000073, primary: 6d44423a3100000000fb00000000000000685461626c653a3400fe, txnStartTS: 449572886750167040, lockForUpdateTS:0, minCommitTs:449572886750167041, ttl: 3402, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:34:25.219 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000050, primary: 6d44423a3100000000fb00000000000000685461626c653a3400fe, txnStartTS: 449572886750167040, lockForUpdateTS:0, minCommitTs:0, ttl: 3402, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:34:25.223 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572886997630976\n# Query_time: 2.534392682\n# Parse_time: 0\n# Compile_time: 0.045293502\n# Rewrite_time: 0.003898918\n# Optimize_time: 0.038687603\n# Wait_TS: 0.000092971\n# Cop_time: 2.472267429 Process_time: 0.001 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0005 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12630\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('wxO4MAkzXzEzCTAJMjI3Mi4xNAlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwQ3Byb2Nlc3NpbmcJMAl0aW1lOjIuNDhzLCBsb29wczoxLCBDb25jdXJyZW5jeTo1CTExLjggS0IJTi9BCjEJMTRfMTQJcn4AGWEUOmRlc2MsToUAFGpvYl9pZFaBABwJMCBCeXRlcxEIHAoyCTE3XzI4HfRUaW5uZXIgam9pbiwgZXF1YWw6W2VxKFoKAQRpZAHTIGx1bW4jMTUpXVZ1AJgsIGJ1aWxkX2hhc2hfdGFibGU6e3RvdGFsOjEuMTNtcywgZmV0Y2gVDgUuDDowc30RphEIJAozCTMxXzQxKEIBUAApHbVAZGF0YTpTZWxlY3Rpb25fNDARihg2MTUuM8K1LoMBbGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuMjEBjSFkNF9rZXlzOiAwLCBycGNfEScBDCXWCCAxLgUrmGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbjXyHCAxNX0JMTcxLYUYTi9BCjQJMQGvBDFfcvgBDHJlb3JJVARrdgm9AHsFiRA5MjQuOR3fBDB9AVUBBBwKNQk0NF8zOQVaHDY2NjYuNjcJKX0u0ALwPCwgcmFuZ2U6Wy1pbmYsODApLCAoODAsK2luZl0sIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkbwlB5KKQACwzCTZfMjkoUHJvYmUhuzg2NDAwCWdyb3VwIGJ5OkNRRUAsIGZ1bmNzOmZpcnN0cm93KBUaCCktPhUMMd8+XwNMcGFydGlhbF93b3JrZXI6e3dhbGwpszgyLjQ3NTY1MTgxMnMsIGM9lQg1LCBBDyXmVDAsIHRvdF93YWl0OjEyLjM3MzcxMTNlwwEYGGV4ZWM6MHMJJSWBCSUYODA4NjU3c0lJAWowNDgwMDA5NXMsIHA5NTISABR9LCBmaW5mowAUODM0ODE5rqMAGDQ4NDYzNDMNlgWjGDU0Ljk2N8JB9wG3GaoQNDkzMjgdqBg1MDk0Mzc0HagREllJQaIAM2FRJbIUbm90KGVxOZYcLCA4MCkpLCABGBRpc251bGwZHAApIegFfSEUAHO1BwgJMziRiGEDEDUJNl8zIdMhNVkTSnMEYZsEZXOhYFL6BCBzY2hlbWFfaWQB4kaeBUX+CR5JZAhtaW4VrQA4Ml8CADFKtwAEMix6XwIYMzkzMzg2Nmq8AQAxSTpVXxg2NjQyNDA4IRshqCW8GDMxOC40OTNGvQEYNjY4NzUwOAFggbAhUxAzNTMxMEEtUWYNEXplAhQ0MjA1MTQBdl4IA0KpABg5MjYyMzg1LmUCGDIyNi4yMjVKqQAQOTUzMjkBXxWoEDk4MzM3AboVqQ0SWWcANqHcDDM2CTBJB6XSJEhhc2hBZ2dfMzFekgFezQUQMi4xNW1B1whyb2O5zSFlARIEOiClv6HQqdwEMTmt60WuxQslxwBwwt8FNCwgUmVzb2x2ZUxvY2s6wWIgX3JwYzoxMTg5Jf0AYY2QCDgwM8FEDH0JMTkuDAMAN2EMADGltf4OA84OA0o2AxZPCH0eADgljDb4BQwxLjk2IW8W6AjdhhQ4CTQzXzOBQxgwCTEwMDAwUoQGemgGYY6acAA=')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('lxbwSQqSFgoNUHJvamVjdGlvbl8xMxL8FAoHU29ydF8xNBKGFAoLSGFzaEpvaW5fMjgSmQQKDlRhYmxlUmVhZGVyXzQxErMCCgxTZWxlCUAYNDASuAEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wXjpbLWluZiw4MCksICg4MCwraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiJ0aWt2X3Rhc2s6e3RpbWU6OTI0LjnCtXMsIGxvb3BzOjB9cP//////AQMEAXgBBgUBAAEFpSyAMSdBKWviWdFIwKEFpQRSGAWhBC50HaAULnJlb3Jn5moALBoBASE7JngwT2frQBltKAFAAVIRZGF0YTpTPVEwWhZ0aW1lOjYxNS4zwhnFFDFif2NvcAnnoCB7bnVtOiAxLCBtYXg6IDEuMjFtcywgcHJvY19rZXlzOiAwLCBycGNfEScBDAVWCCAxLgUr2GNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX1wqwE9PRASuA4KCkEsIEFnZ18yORLdCi4YAhAzMBLjCRkgEDM1ErQFNksCEDM2EpEDHSIUMRKbAQoQRUkMRnVsbElIADQloxTw7zBBKQABARCIw0AwAXZKAgAeei4CCCB0aTYuAgwxLjk2IT4EbG+CLAIIKGUxDYkEQL8NiTxSlAFncm91cCBieTpteXNxOjgCIZMcZXNzaW5nLCBKHwAkc2NoZW1hX2lkc1IfABB0YWJsZQkeJGZ1bmNzOm1pbihKRwBEam9iX2lkKS0+Q29sdW1uIzE44ucAHN7d3d0dPvdAKXAJ50GoBA9kQagISGFzJfAMMzFaE0VQFDIuNDdzLC08DDJiwQFepAIMMi4xNSFmIRFZpAx0b3RfARIEOiBFlkGnSbMIMTkwScIFZkXiBHMs0rYCNCwgUmVzb2x2ZUxvY2s6YTkkX3JwYzoxMTg5LAGABGFsCWQIODAzYRsIfXC+MiMEIRAMrWz4QD4QAQCE/vcBvvcBNds95wA1VoYBUNMCcGFydGlhbF93b3JrZXI6e3dhbA3nIbEYMzkzMzg2NiVRAG514xg1LCB0YXNrJYEAMSUbQF93YWl0OjEyLjM2NjQyNDA4IeshsyxleGVjOjMxOC40OTOFowEVJaoJLRA4NzUwOAFggZ8FchA1MzEwOYGjBDk1LhEAFH0sIGZpbmKpABA0MjA1MUVhAGOeqQAcOTI2MjM4NXMJwQWpGDIyNi4yMjVKqQAQOTUzMjkB1RWoEDk4MzM3AboVqQ0SBH1wxTQBAUYgAgRI/k0gCAC5QGUuGC5ub3QoZXE1tSA1LCA4MCkpLCABGBRpc251bGwZHAQpKU7HAQwxcPwCvW8kGgECIUREREQkYz5sAAQ4Z5GAUSMENSyNLxxmaXJzdHJvdx1smSRdPQA4dcMMMWLLAnY9Ahg1NjUxODEyaj0CADApfFU9FDczNzExMwVlQSgllAAwLaFVNRg3MzgwODY1Lo0BFDQ4MDAwOSHLMY0REno3AhQ1ODM0ODFBb143AkKjABg0ODQ2MzQzDZYFoxQ1NC45NjdGNgIQNzQ5MzIhMlE1GDUwOTQzNzRd3hESXjUCIMkgxs2lCwdBKSJ4CGgBQAFSPGlubmVyIGpvaW4sIGVxdWFsOltlcShi8AUELCA18QQpXVlDAZvJzDQxYjdidWlsZF9oYXNoX8VNUDp7dG90YWw6MS4xM21zLCBmZXRjaBUOBS4sOjBzfSFzz+YvZCkQOqIAAD1KjAChv8niEDpkZXNjUsgGyaBSowAYIVA7FVT5Pj5qAAA6SmoAAUYQbWV0YSxOSgcZh1JnAAxiDUNvnes8cJxeeP///////////wEYAQ==')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (80) order by processing desc, job_id;"] [2024/05/06 16:34:25.700 +08:00] [ERROR] [mvcc.go:1021] ["commit failed, no correspond lock found"] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6NAD+] ["start ts"=449572886750167040] [lock="{{0 0 0 0 0 false 0 false 0} [] [] []}"] [error="retryable: lock not found"] [stack="github.com/pingcap/tidb/store/mockstore/unistore/tikv.(*MVCCStore).Commit\n\tstore/mockstore/unistore/tikv/mvcc.go:1021\ngithub.com/pingcap/tidb/store/mockstore/unistore/tikv.(*Server).KvCommit\n\tstore/mockstore/unistore/tikv/server.go:366\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:183\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).sendReqToRegion\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1421\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReqCtx\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1177\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReq\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:234\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionCommit.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:98\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1036\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:969\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:788\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:222\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitTxn\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1701\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1692\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:34:25.701 +08:00] [WARN] [session.go:1025] ["can not retry txn"] [label=internal] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 16:34:25.701 +08:00] [WARN] [session.go:1041] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [2024/05/06 16:34:25.702 +08:00] [INFO] [job_table.go:255] ["[ddl] handle ddl job failed"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [job="ID:80, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:20.828 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:25.806 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 48, tp general"] [job="ID:80, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:20.828 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:25.812 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=12.401445ms] [2024/05/06 16:34:25.826 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=346.825µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:25.839 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=341.709µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:25.853 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=341.082µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:25.872 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=275.176µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:25.898 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=322.445µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:25.917 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=424.009µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:25.933 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=357.148µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:25.948 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=255.853µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:25.962 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=277.128µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:25.978 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=270.283µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:25.993 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=440.268µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:26.008 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=280.637µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:26.023 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=299.262µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:26.047 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=339.262µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:26.078 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=45] ["start time"=14.117522ms] [phyTblIDs="[4]"] [actionTypes="[4096]"] [2024/05/06 16:34:26.078 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=15.186958ms] [2024/05/06 16:34:26.136 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:26.136 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=80] [version=45] [2024/05/06 16:34:26.136 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=45] ["take time"=74.895632ms] [job="ID:80, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:20.828 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:26.199 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=80] [jobType="modify column"] [2024/05/06 16:34:26.213 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 48, tp general"] [job="ID:80, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:20.828 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:26.559 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=80] [2024/05/06 16:34:26.560 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:26.561 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 5.745993003\n# Parse_time: 0\n# Compile_time: 0.001745504\n# Rewrite_time: 0.000019405\n# Optimize_time: 0\n# Wait_TS: 0.0000816\n# Is_internal: true\n# Digest: 3f37c020cccf830b235092d0307417f140e2b7ec6ce7fe342443460ccf02a37a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.user MODIFY COLUMN Host CHAR(255);"] [2024/05/06 16:34:26.564 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=] [sql="ALTER TABLE mysql.global_priv MODIFY COLUMN Host CHAR(255)"] [user=] [2024/05/06 16:34:26.597 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:81, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:5, start time: 2024-05-06 16:34:26.578 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:34:26.598 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:81, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:5, start time: 2024-05-06 16:34:26.578 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.global_priv MODIFY COLUMN Host CHAR(255)"] [2024/05/06 16:34:27.164 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572888027594752\n# Query_time: 0.507225973\n# Parse_time: 0\n# Compile_time: 0.001792026\n# Rewrite_time: 0.002775932\n# Optimize_time: 0.005872167\n# Wait_TS: 0.000312805\n# Prewrite_time: 0.000685894 Commit_time: 0.000543877 Get_commit_ts_time: 0.000023336 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 1209 Prewrite_region: 1\n# Is_internal: true\n# Digest: bb9a0484a27cea37dfc9b79800bc11ddc72f4ac11810a6eb126d600a567ce029\n# Num_cop_tasks: 0\n# Mem_max: 10391\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('ogPwTDAJMjhfMwkwCTAJTi9BCTAJdGltZToxLjU3bXMsIGxvb3BzOjEsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo2ODUuOcK1cywgZ2V0X2NvCSQgczoyMy4zwrVzETcQOjU0My4JKCBzbG93ZXN0X3ANQ+hfcnBjOiB7dG90YWw6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG9yZTogc3RvcmUxLCB9LCBjb21taQFFEGltYXJ5RkQAADCKRAANZAhudW0B4AXQEF9rZXlzGQ7wPmJ5dGU6MTIwOX0JMi4xNSBLQglOL0EKMQkzNl8xCTAJMQl0YWJsZTp0aWRiX2RkbF9qb2IsIGhhbmRsZTo4MQEgIGltZTo0NzQuNCUOKU4oMiwgR2V0OntudW0FugwxLCB0Af8AXwUuRDE0MS42wrVzfQlOL0EJTi9BCg==')\n# Plan_digest: 3fea32741ba131a439f08d925bc0d60ce688c732cc613c6d3625da6592028edc\n# Binary_plan: tidb_decode_binary_plan('1AN4Cs8DCghVcGRhdGVfMxKUAQoLUG9pbnRfR2V0XzEpAAUB8HXwPzABOAFAAUoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSCWhhbmRsZTo4MVoWdGltZTo0NzQuNMK1cywgbG9vcHM6MmIkR2V0OntudW1fcnBjOjEsIHRvdGFsX3RpbWU6MTQxLjbCtXN9cP///////////wF4CQgI////BXwYUgNOL0FaFAkvGC41N21zLCAJW3wxYv4BY29tbWl0X3R4bjoge3ByZXdyaXRlOjY4NS45wgGFDGdldF8RJBRzOjIzLjMFFwkTDDo1NDMNKBxzbG93ZXN0XxFDGF9ycGM6IHsFq3Q6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG9yZToJBxAxLCB9LA1XHF9wcmltYXJ5RkQAADCKRAANZBhudW06MSwgBdAQX2tleXMZDmRieXRlOjEyMDl9cJcReP///////////wEYAQ==')\nupdate mysql.tidb_ddl_job set processing = 1 where job_id = 81;"] [2024/05/06 16:34:27.187 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 48, tp general"] [job="ID:81, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:26.578 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:27.306 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=2.020184ms] [phyTblIDs="[8]"] [actionTypes="[4096]"] [2024/05/06 16:34:27.336 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:27.336 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=81] [version=46] [2024/05/06 16:34:27.338 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=46] ["take time"=37.0288ms] [job="ID:81, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:26.578 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:27.390 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=81] [jobType="modify column"] [2024/05/06 16:34:27.395 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 48, tp general"] [job="ID:81, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:26.578 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:27.433 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=11.772492ms] [2024/05/06 16:34:27.962 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572888237572096] ["min commit ts"=449572888328011777] [key=bURETEpvYkhp/3N0b3J5AAAA/AAAAAAAAABoAAAAAAAAAFH/AAAAAAAAAAD3] [2024/05/06 16:34:27.963 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572888219484160] [info="{StartTs:449572888219484160 AttemptedCommitTs:449572888237572096 Key:6d44444c4a6f624869ff73746f7279000000fc00000000000000680000000000000051ff0000000000000000f7 MinCommitTs:449572888328011777}"] [2024/05/06 16:34:28.081 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=81] [2024/05/06 16:34:28.082 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:28.084 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.520365519\n# Parse_time: 0\n# Compile_time: 0.00141293\n# Rewrite_time: 0.000023001\n# Optimize_time: 0\n# Wait_TS: 0.000073458\n# Is_internal: true\n# Digest: 9875b36acdf88b4474057c6877f5d97327a5f07d123c3383c9bbe478a2fc5af5\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.global_priv MODIFY COLUMN Host CHAR(255);"] [2024/05/06 16:34:28.087 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=] [sql="ALTER TABLE mysql.db MODIFY COLUMN Host CHAR(255)"] [user=] [2024/05/06 16:34:28.123 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:82, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:5, start time: 2024-05-06 16:34:28.102 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:34:28.123 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:82, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:5, start time: 2024-05-06 16:34:28.102 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.db MODIFY COLUMN Host CHAR(255)"] [2024/05/06 16:34:28.219 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 48, tp general"] [job="ID:82, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:28.102 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:28.419 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=4.204497ms] [phyTblIDs="[10]"] [actionTypes="[4096]"] [2024/05/06 16:34:28.436 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:28.436 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=82] [version=47] [2024/05/06 16:34:28.439 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=47] ["take time"=35.941725ms] [job="ID:82, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:28.102 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:28.985 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572888506531840] ["min commit ts"=449572888510726145] [key="dIAA///////7X3KAAAAAAAAAUg=="] [2024/05/06 16:34:28.986 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572888495259649] [info="{StartTs:449572888495259649 AttemptedCommitTs:449572888506531840 Key:748000fffffffffffb5f728000000000000052 MinCommitTs:449572888510726145}"] [2024/05/06 16:34:28.988 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572888495259649\n# Query_time: 0.546731788\n# Parse_time: 0\n# Compile_time: 0.001610962\n# Rewrite_time: 0\n# Optimize_time: 0\n# Wait_TS: 0.000181131\n# Prewrite_time: 0.000725557 Commit_time: 0.001545568 Get_commit_ts_time: 0.00004947 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 19 Prewrite_region: 1\n# Is_internal: true\n# Digest: bdab55af0288282745b06ae511bf5258d90e46fca67dd2e2ef0faca225d2d599\n# Num_cop_tasks: 0\n# Mem_max: 8587\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('oQPwTDAJMjlfMgkwCTAJTi9BCTAJdGltZToxLjAxbXMsIGxvb3BzOjEsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo3MjUuNsK1cywgZ2V0X2NvCSQgczo0OS41wrVzETcQOjEuNTUBTyBzbG93ZXN0X3ANQehfcnBjOiB7dG90YWw6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG9yZTogc3RvcmUxLCB9LCBjb21taQFFEGltYXJ51kQADWQIbnVtAd4FzhBfa2V5cxkO8ENieXRlOjE5fQkzOTUgQnl0ZXMJTi9BCjEJMzZfMQkwCTEJdGFibGU6dGlkYl9tZGxfaW5mbywgaGFuZGxlOjgyCTEJdCFLFDQ0NS43wiENKU0oMiwgR2V0OntudW0FuwwxLCB0IQAAXyl5QDU0LjbCtXN9CU4vQQlOL0EK')\n# Plan_digest: ca2b8c61a8ea82f17bacb18dbe38cd4b008fc18663d28963f5ced78ed80210d7\n# Binary_plan: tidb_decode_binary_plan('0QN4CswDCghEZWxldGVfMhKVAQoLUG9pbnRfR2V0XzEpAAUB8HnwPzABOAFAAUoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUgloYW5kbGU6ODJaFnRpbWU6NDQ1LjfCtXMsIGxvb3BzOjJiJEdldDp7bnVtX3JwYzoxLCB0b3RhbF90aW1lOjE1NC42wrVzfXD///////////8BeP///wkMBX0YUgNOL0FaFAVdEDEuMDFtFVt0MWL6AWNvbW1pdF90eG46IHtwcmV3cml0ZTo3MjUuAVcULCBnZXRfESQUczo0OS41BZwJExA6MS41NQFQHHNsb3dlc3RfEUEAXwGqkCB7dG90YWw6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG9yZToJBxAxLCB9LA1VHF9wcmltYXJ51kQADWQYbnVtOjEsIAXOEF9rZXlzGQ5cYnl0ZToxOX1wiwN4////////////ARgB')\ndelete from mysql.tidb_mdl_info where job_id = 82;"] [2024/05/06 16:34:29.003 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572888510726144\n# Query_time: 0.497121312\n# Parse_time: 0\n# Compile_time: 0.005611763\n# Rewrite_time: 0.001039381\n# Optimize_time: 0.002014958\n# Wait_TS: 0.00010619\n# Cop_time: 0.476031707 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 188\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000013335\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2QPw5TAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkxCXRpbWU6NDc2LjZtcywgbG9vcHM6MiwgY29wX3Rhc2s6IHtudW06IDEsIG1heDogMS43OG1zLCBwcm9jX2tleXM6IDAsIHRvdF9wcm9jOiAxbXMsIHJwY19udW06IDM5MSwgcnBjX3RpbWU6IDMxMy40bXMsIGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjM5CYAMYWxfdAHLWDk0bXN9CTE4OCBCeXRlcwlOL0EKMQkxAewAXzkJiGxlKG15c3FsLnRpZGJfbWRsX2luZm8udmVyc2lvbiwgNDcpJRwIa3ZfJQYEe3QBXBgxLjU0bXMsLSYEMH0BXQEEHAoyCTQzXzUJAWIsMTAwMDAJdGFibGU6Ml0AfCwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvrnAA')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('xwSYCsIECg1UYWJsZVJlYWRlcl83EqACCgtTZWxlY3Rpb25fNhKbAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBxAIjDQDABOAJAAkoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUh5rZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG9qIHRpa3ZfdGFzazp7dGltZToxLjU0bXMsIGxvb3BzOjB9cP///////////wF4CQgM////AQWKLIBPIkEpq6qqqqr2qQ2KEFIjbGUoBYkALjKIADAudmVyc2lvbiwgNDcp4nUAAWwM6nPmQC51ACQBQAFSEGRhdGE6PT00WhV0aW1lOjQ3Ni42bXMRzRgyYr4BY29wCe5IIHtudW06IDEsIG1heDogMS43OAEqRHByb2Nfa2V5czogMCwgdG90XwESCDogMQEdDHJwY18FNgwzOTEsBQ4FZxAgMzEzLiU18Exjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzozOQmADGFsX3QBzFA5NG1zfXC8AXj///////////8BGAE=')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 47;"] [2024/05/06 16:34:29.081 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=82] [jobType="modify column"] [2024/05/06 16:34:29.091 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 48, tp general"] [job="ID:82, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:28.102 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:29.293 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=82] [2024/05/06 16:34:29.293 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:29.295 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.210163076\n# Parse_time: 0\n# Compile_time: 0.001487858\n# Rewrite_time: 0.000016947\n# Optimize_time: 0\n# Wait_TS: 0.000095973\n# Is_internal: true\n# Digest: 9f9aa26bbaf129c11e3e7cff602c4ee83e66f5af093b1dfdf0738b491284920f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.db MODIFY COLUMN Host CHAR(255);"] [2024/05/06 16:34:29.298 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=] [sql="ALTER TABLE mysql.tables_priv MODIFY COLUMN Host CHAR(255)"] [user=] [2024/05/06 16:34:29.331 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:83, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:5, start time: 2024-05-06 16:34:29.31 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:34:29.331 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:83, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:5, start time: 2024-05-06 16:34:29.31 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.tables_priv MODIFY COLUMN Host CHAR(255)"] [2024/05/06 16:34:29.409 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 48, tp general"] [job="ID:83, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:29.31 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:29.499 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=3.115954ms] [phyTblIDs="[12]"] [actionTypes="[4096]"] [2024/05/06 16:34:29.536 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:29.536 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=83] [version=48] [2024/05/06 16:34:29.537 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=48] ["take time"=50.532295ms] [job="ID:83, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:29.31 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:29.593 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=83] [jobType="modify column"] [2024/05/06 16:34:29.600 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 48, tp general"] [job="ID:83, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:29.31 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:29.993 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=10.034732ms] [2024/05/06 16:34:30.179 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572888815337472] ["min commit ts"=449572888940118017] [key=bURETEpvYkhp/3N0b3J5AAAA/AAAAAAAAABoAAAAAAAAAFP/AAAAAAAAAAD3] [2024/05/06 16:34:30.180 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572888796987392] [info="{StartTs:449572888796987392 AttemptedCommitTs:449572888815337472 Key:6d44444c4a6f624869ff73746f7279000000fc00000000000000680000000000000053ff0000000000000000f7 MinCommitTs:449572888940118017}"] [2024/05/06 16:34:30.200 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572888829493248\n# Query_time: 0.502336711\n# Parse_time: 0\n# Compile_time: 0.024587005\n# Rewrite_time: 0.002834022\n# Optimize_time: 0.018935496\n# Wait_TS: 0.000075154\n# Cop_time: 0.459998239 Process_time: 0.003 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0015 Cop_proc_p90: 0.002 Cop_proc_max: 0.002 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12633\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('1xO4MAkzXzEzCTAJMjI3NC4xNAlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwRnByb2Nlc3NpbmcJMAl0aW1lOjQ3MC42bXMsIGxvb3BzOjEsIENvbmN1cnJlbmN5OjUJMTEuOCBLQglOL0EKMQkxNF8xNAkwboAAGWMUOmRlc2MsTocAFGpvYl9pZBWDDDY5LjkdgxwJMCBCeXRlcxEIHAoyCTE3XzI4HfhUaW5uZXIgam9pbiwgZXF1YWw6W2VxKFoOAThpZCwgQ29sdW1uIzE1KV0udwA2+gCYYnVpbGRfaGFzaF90YWJsZTp7dG90YWw6Njg4LjLCtXMsIGZldGNoHRAFMgw6MHN9EawRCCQKMwkzMV80MShCAVQAKR27QGRhdGE6U2VsZWN0aW9uXzQwGZAINy42BWY1i2hjb3BfdGFzazoge251bTogMSwgbWF4OiAxLjMlMSFsNF9rZXlzOiAwLCB0b3RfARIIOiAxIU4McnBjXxE2AQwl7xAgMS4yOAEemGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvblUKHCAxNX0JMTc1LZsYTi9BCjQJMQG/BDFfcpACDHJlb3JJbgRrdgnNAHsFigwxLjA1AYkJ7QQwfQFTAQQcCjUJNDRfMzkFWBw2NjY2LjY3CSmPLugC8DwsIHJhbmdlOlstaW5mLDgzKSwgKDgzLCtpbmZdLCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG8JQfyajgAsMwk2XzI5KFByb2JlIcc0NjQwMAlncm91cCBieTpVV0AsIGZ1bmNzOmZpcnN0cm93KBUaCCktPhUMOesEOC4lpAn9WDEsIHBhcnRpYWxfd29ya2VyOnt3YWxsKbIgNDY3LjcyMDU5JfIAYz2TCDUsIEEdJeUt/0B3YWl0OjIuMzE0MzYwNjIzc0kWFGV4ZWM6MA0NJX4BJBw5NzU2Mzc5c0lVAWgMNDIyOUUeCHA5NS4RABR9LCBmaW5anwAcOC4wNzQyNTQhzZqfABgzODI2MDA5AXtBtQWfFDM2Ny4zOGkBARURpxwzODY2OTUwMR2nCDgzMwVuEaYJEFlCQZkMMzAJMCmtFG5vdChlcTmRHCwgODMpKSwgARgUaXNudWxsGRwAKSHjBXoMNDYyLl2gDDEJMziRl0H8EDUJNl8zIdAEODAuEAJKggRhkgBlpXMALE4LBSBzY2hlbWFfaWQB4EaxBQB0gYgJHklhCG1pbhWvADgyXAIAMRG5BDEuRStJXAAydlwCGDEuNDU5NzclT169AQAxSUVRXBwwNDgzNTk2NE1PJb0cNDI0LjU1NMKhJC69ARgwNTUwODkyASyBuRw0NjEuMzIxMQVvKb4VEXJkAhgxLjc0MzM4JZGepwAYNzY3MTM2OC6nABQxOTkuNThKpwAUNzkyMjIwASwRpxA2ODcwMGWkEagRElloADah5AwzNgkwSQal2iRIYXNoQWdnXzMxOZEIMC43YR01kV7XBQwyLjkyASlBM07XBQUdocul1ww0MjcsBQ4gdGltZTogMjYxiVTO2gU0LCBSZXNvbHZlTG9jazrBbRxfcnBjOjQyNiX8AGGNjCwxMjkuNG1zfQkxOTPdCQA3YQ0AMaWx/g8Dzg8DSjcDFmEIfR8AOCWONvQFCDIuNyVSKZjdghQ4CTQzXzOBRgwwCTEwYeFlhzqABnpkBmGPmnAA')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('rBbwSQqnFgoNUHJvamVjdGlvbl8xMxKPFQoHU29ydF8xNBKXFAoLSGFzaEpvaW5fMjgSpgQKDlRhYmxlUmVhZGVyXzQxEq8CCgxTZWxlCUAYNDAStgEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wWzpbLWluZiw4MyksICg4MywraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6MS4wNW1zLCBsb29wczowfXD/////BQMEAXgFBwEBAAEFoyyAMSdBKaWWIkhHxKEFowRSGAWfBC50HZ4ULnJlb3Jn3mgALBoBASFDQRaP6GfrQBlrKAFAAVIRZGF0YTpTPU04WhZ0aW1lOjQ2Ny42wrVzEcMYMWKPAWNvcAnkoCB7bnVtOiAxLCBtYXg6IDEuMzltcywgcHJvY19rZXlzOiAwLCB0b3RfARIIOiAxAR0McnBjXxE2AQwFZhAgMS4yOAEe2GNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX1wrwE9TBAStg4KCkE5IEFnZ18yORLgCi4lAhAzMBLkCRkgEDM1ErYFNlgCEDM2EpEDHSIUMRKbAQoQRVYMRnVsbElVADQlshTw7zBBKQABARCIw0AwAXZXAgAevjsCDDIuNzIhEwBshjsCCChlMQ2JBEC/DYk8UpQBZ3JvdXAgYnk6bXlzcTpHAiGRHGVzc2luZywgSh8AJHNjaGVtYV9pZHNSHwAQdGFibGUJHiRmdW5jczptaW4oSkcARGpvYl9pZCktPkNvbHVtbiMxOEa6AprnABze3d3dHT73QClwCedBuQQPZEG5CEhhcyXwDDMxWhVFURA0NjAuNzk+CDJiwWK2AggyLjklaCETTrYCBR1BqkW2DDQyNywFDgVnECAyNjEuRdfOuQI0LCBSZXNvbHZlTG9jazphTBxfcnBjOjQyNmU2BGFsCWUkMTI5LjRtc31wwTI0BCESDK1s+EA+EgEAhP75Ab75ATXdPekANTWIBDEuhRRJxlgyYtACcGFydGlhbF93b3JrZXI6e3dhbA3pJDQ2MS40NTk3NzQhugBjfecYNSwgdGFzayWDADElHURfd2FpdDoyLjMwNDgzNTk2NHMJFwhleGUhQhA0LjU1NIW3gX8AdIHKASwUNTUwODkyASyBsQFwDDMyMTEFbwhwOTUuEQAUfSwgZmluYqcAEDc0MzM4pdqepwAYNzY3MTM2OC6nABQxOTkuNThKpwAUNzkyMjIwASwRpxA2ODcwMEVpEagREl5TBkUfBEj+TR8IALlAZS8YLm5vdChlcTW0IDUsIDgzKSksIAEYFGlzbnVsbBkcBCkpNcYEMi4F7SnGDDFw/AK9ciQaAQIhRERERCRjPm4ABDhnkYNRJAQ1LI0yHGZpcnN0cm93HW6ZJ1k+ADhpXg14CGLEAm4+Ahg3LjcyMDU5RXBelwEAMEknUT4cMTQzNjA2MjMulwEAMA0NUTYcMTk3NTYzNzmhDARheOUSDDQyMjnFsCmOADcREXI2Ahg4LjA3NDI1RW6anwAYMzgyNjAwOQF7QchF3RQzNjcuMzjplAEVEaccMzg2Njk1MDEdpwg4MzMFbhGmCRBeMgIYfPL/rAUMByqFCGgBQAFSPGlubmVyIGpvaW4sIGVxdWFsOltlcShi7gUELCA17AQpXVVACDkuNmHUMcgwO2J1aWxkX2hhc2hfdMFNMDp7dG90YWw6Njg4LjJluBBmZXRjaB0QBTIsOjBzfSGNGerpwSoQOqgAAD1KkgCh08nmFDpkZXNjLE7rBsmkHalFPw2pGCFCdg3ZW0A+bABOUgcBSBBtZXRhLE5lABmJEWkENzA2EgEMDUNvbiLWCEA1cJxeeP///////////wEYAQ==')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (83) order by processing desc, job_id;"] [2024/05/06 16:34:30.251 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=83] [2024/05/06 16:34:30.251 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:30.253 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.955456461\n# Parse_time: 0\n# Compile_time: 0.001280342\n# Rewrite_time: 0.000017414\n# Optimize_time: 0\n# Wait_TS: 0.000069395\n# Is_internal: true\n# Digest: fad5ee47628bd60f7066a2c4665e339b9295edffb82c41a3e064af0365d7c3e8\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.tables_priv MODIFY COLUMN Host CHAR(255);"] [2024/05/06 16:34:30.255 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=] [sql="ALTER TABLE mysql.columns_priv MODIFY COLUMN Host CHAR(255)"] [user=] [2024/05/06 16:34:30.294 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:84, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:5, start time: 2024-05-06 16:34:30.267 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:34:30.294 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:84, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:5, start time: 2024-05-06 16:34:30.267 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.columns_priv MODIFY COLUMN Host CHAR(255)"] [2024/05/06 16:34:30.379 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 48, tp general"] [job="ID:84, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:30.267 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:30.492 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=2.994728ms] [phyTblIDs="[14]"] [actionTypes="[4096]"] [2024/05/06 16:34:30.536 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:30.536 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=84] [version=49] [2024/05/06 16:34:30.537 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=49] ["take time"=56.083279ms] [job="ID:84, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:30.267 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:31.044 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572889046024192] ["min commit ts"=449572889048383489] [key="dIAA///////7X3KAAAAAAAAAVA=="] [2024/05/06 16:34:31.044 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572889045237760] [info="{StartTs:449572889045237760 AttemptedCommitTs:449572889046024192 Key:748000fffffffffffb5f728000000000000054 MinCommitTs:449572889048383489}"] [2024/05/06 16:34:31.046 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572889045237760\n# Query_time: 0.506940973\n# Parse_time: 0\n# Compile_time: 0.001277489\n# Rewrite_time: 0\n# Optimize_time: 0\n# Wait_TS: 0.000084422\n# Prewrite_time: 0.000939925 Commit_time: 0.001481918 Get_commit_ts_time: 0.000019948 Slowest_prewrite_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 19 Prewrite_region: 1\n# Is_internal: true\n# Digest: bdab55af0288282745b06ae511bf5258d90e46fca67dd2e2ef0faca225d2d599\n# Num_cop_tasks: 0\n# Mem_max: 8587\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('owPwQzAJMjlfMgkwCTAJTi9BCTAJdGltZTo4MzYuOMK1cywgbG9vcHM6MSwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjkzOS45BSkMZ2V0XxEkCHM6MREXCRNEOjEuNDhtcywgc2xvd2VzdF9wDUHQX3JwYzoge3RvdGFsOiAwLjAwMHMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwNVRxfcHJpbWFyeUZEAAAxikQADWQIbnVtAd4FzhBfa2V5cxkO8ENieXRlOjE5fQkzOTUgQnl0ZXMJTi9BCjEJMzZfMQkwCTEJdGFibGU6dGlkYl9tZGxfaW5mbywgaGFuZGxlOjg0CTEJdCFNFDM5Ny42wjlNKDIsIEdldDp7bnVtBbsMMSwgdCEAAF8le0QxNjQuNsK1c30JTi9BCU4vQQo=')\n# Plan_digest: ca2b8c61a8ea82f17bacb18dbe38cd4b008fc18663d28963f5ced78ed80210d7\n# Binary_plan: tidb_decode_binary_plan('0wN4Cs4DCghEZWxldGVfMhKVAQoLUG9pbnRfR2V0XzEpAAUB8HnwPzABOAFAAUoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUgloYW5kbGU6ODRaFnRpbWU6Mzk3LjbCtXMsIGxvb3BzOjJiJEdldDp7bnVtX3JwYzoxLCB0b3RhbF90aW1lOjE2NC42wrVzfXD///////////8BeP///wkMBX0QUgNOL0ENXRA4MzYuOB1deDFi+gFjb21taXRfdHhuOiB7cHJld3JpdGU6OTM5LjkFKgxnZXRfESQIczoxERcJE0A6MS40OG1zLCBzbG93ZXN0XxFBAF8BrJAge3RvdGFsOiAwLjAwMHMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6CQcQMSwgfSwNVRxfcHJpbWFyeUZEAAAxikQADWQYbnVtOjEsIAXOEF9rZXlzGQ5cYnl0ZToxOX1wiwN4////////////ARgB')\ndelete from mysql.tidb_mdl_info where job_id = 84;"] [2024/05/06 16:34:31.054 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572889048383488\n# Query_time: 0.505924366\n# Parse_time: 0\n# Compile_time: 0.004957128\n# Rewrite_time: 0.000831871\n# Optimize_time: 0.001846882\n# Wait_TS: 0.000086847\n# Cop_time: 0.496980146 Process_time: 0.005 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.005 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 190\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000011202\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2wP0PgEwCTMxXzcJMAkzMzIzLjMzCWRhdGE6U2VsZWN0aW9uXzYJMQl0aW1lOjQ5Ny41bXMsIGxvb3BzOjIsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDUuODJtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogNW1zLCBycGNfbnVtOiA0MjAsIHJwY190aW1lOiAzMTEuN21zLCBjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzo0MTksIHRvdGFsX3RpbWU6OTIuMW1zfQkxOTAgQnl0ZXMJTi9BCjEJMV82CTFfMAkzMzIzLjMzCWxlKG15c3FsLnRpZGJfbWRsX2luZm8udmVyc2lvbiwgNDkpJR4Ia3ZfJQgEe3QhKRg1LjU4bXMsLSgUMH0JTi9BAQQYCjIJNDNfNQViRDEwMDAwCXRhYmxlOnRpZGJfbQ1dfCwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvrnAA')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('yQSYCsQECg1UYWJsZVJlYWRlcl83EqACCgtTZWxlY3Rpb25fNhKbAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBxAIjDQDABOAJAAkoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUh5rZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG9qIHRpa3ZfdGFzazp7dGltZTo1LjU4bXMsIGxvb3BzOjB9cP///////////wF4CQgM////AQWKLIBPIkEpq6qqqqr2qQ2KEFIjbGUoBYkALjKIADAudmVyc2lvbiwgNDkp4nUAAWwM6nPmQC51ACQBQAFSEGRhdGE6PT00WhV0aW1lOjQ5Ny41bXMRzRgyYsABY29wCe5IIHtudW06IDEsIG1heDogNS44MgEqRHByb2Nfa2V5czogMCwgdG90XwESCDogNQEdDHJwY18FNgw0MjAsBQ4FZxQgMzExLjcBIfBxY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6e251bV9ycGM6NDE5LCB0b3RhbF90aW1lOjkyLjFtc31wvgF4////////////ARgB')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 49;"] [2024/05/06 16:34:31.090 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=84] [jobType="modify column"] [2024/05/06 16:34:31.100 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 48, tp general"] [job="ID:84, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:30.267 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:31.297 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=84] [2024/05/06 16:34:31.298 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:31.299 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.045055096\n# Parse_time: 0\n# Compile_time: 0.001159824\n# Rewrite_time: 0.000022065\n# Optimize_time: 0\n# Wait_TS: 0.000071586\n# Is_internal: true\n# Digest: 9c2066d29bd8561d31038360c5d4a41a39b61143307c144557699cc8e8bd5fbc\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.columns_priv MODIFY COLUMN Host CHAR(255);"] [2024/05/06 16:34:31.302 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=] [sql="ALTER TABLE mysql.columns_priv MODIFY COLUMN Column_priv SET('Select','Insert','Update','References')"] [user=] [2024/05/06 16:34:31.336 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=19.177195ms] [2024/05/06 16:34:31.842 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572889255477248] ["min commit ts"=449572889349849088] [key="dIAA///////+X3KAAAAAAAAAVQ=="] [2024/05/06 16:34:31.843 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572889254428672] [info="{StartTs:449572889254428672 AttemptedCommitTs:449572889255477248 Key:748000fffffffffffe5f728000000000000055 MinCommitTs:449572889349849088}"] [2024/05/06 16:34:31.845 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572889254428672\n# Query_time: 0.513609432\n# Parse_time: 0\n# Compile_time: 0.007550295\n# Rewrite_time: 0.000214353\n# Optimize_time: 0.00185696\n# Wait_TS: 0.000063377\n# Prewrite_time: 0.002338435 Commit_time: 0.001343717 Get_commit_ts_time: 0.000026857 Slowest_prewrite_rpc_detail: {total:0.002s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.002s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 1316 Prewrite_region: 1\n# Is_internal: true\n# Digest: 1b73a00c73a03d7dc9dd08a1ea99474b2523e5f72366f740be5156fa244256c4\n# Num_cop_tasks: 0\n# Mem_max: 9968\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('1ALYMAkyN18xCTAJMAlOL0EJMAl0aW1lOjkzNy45wrVzLCBsb29wczoxLCBwcmVwYXJlOiA0NDkuNAUcLGluc2VydDo0ODguNQURiGNvbW1pdF90eG46IHtwcmV3cml0ZToyLjM0bXMsIGdldF9jDSIMczoyNg1iCTUEOjENJhxzbG93ZXN0XxE/0F9ycGM6IHt0b3RhbDogMC4wMDJzLCByZWdpb25faWQ6IDIsIHN0b3JlOiBzdG9yZTEsIH0sDVUcX3ByaW1hcnlGRAAAMIpEAA1kCG51bSEABcwQX2tleXMZDlhieXRlOjEzMTZ9CTEuNzMgS0IJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('3wLwPgraAgoISW5zZXJ0XzE4AUABUgNOL0FaFnRpbWU6OTM3LjnCtXMsIGxvb3BzOjFiInByZXBhcmU6IDQ0OS40wgEc0Gluc2VydDo0ODguNcK1c2L6AWNvbW1pdF90eG46IHtwcmV3cml0ZToyLjM0bXMsIGdldF9jDSIMczoyNg1jCTUEOjENJhxzbG93ZXN0XxE/mF9ycGM6IHt0b3RhbDogMC4wMDJzLCByZWdpb25faWQ6IDIsIHN0bwGbAHMBBxAxLCB9LA1VHF9wcmltYXJ5RkQAADCKRAANZBxudW06MSwgdwHMEF9rZXlzGQ5kYnl0ZToxMzE2fXDwDXj///////////8BGAE=')\ninsert into mysql.tidb_ddl_job(job_id, reorg, schema_ids, table_ids, job_meta, type, processing) values(85, false, \"1\", \"14\", 0x7b226964223a38352c2274797065223a31322c22736368656d615f6964223a312c227461626c655f6964223a31342c22736368656d615f6e616d65223a226d7973716c222c227461626c655f6e616d65223a22636f6c756d6e735f70726976222c227374617465223a382c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b7b226964223a372c226e616d65223a7b224f223a22436f6c756d6e5f70726976222c224c223a22636f6c756d6e5f70726976227d2c226f6666736574223a362c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3234382c22466c6167223a302c22466c656e223a33312c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a5b2253656c656374222c22496e73657274222c22557064617465222c225265666572656e636573225d2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b224f223a22436f6c756d6e5f70726976222c224c223a22636f6c756d6e5f70726976227d2c7b225470223a302c2252656c6174697665436f6c756d6e223a6e756c6c7d2c302c305d2c22736368656d615f7374617465223a302c22736e617073686f745f766572223a302c227265616c5f73746172745f7473223a302c2273746172745f7473223a3434393537323838393234393731303038302c22646570656e64656e63795f6964223a302c227175657279223a22414c544552205441424c45206d7973716c2e636f6c756d6e735f70726976204d4f4449465920434f4c554d4e20436f6c756d6e5f7072697620534554282753656c656374272c27496e73657274272c27557064617465272c275265666572656e6365732729222c2262696e6c6f67223a7b22536368656d6156657273696f6e223a302c224442496e666f223a6e756c6c2c225461626c65496e666f223a6e756c6c2c2246696e69736865645453223a302c224d756c7469706c655461626c65496e666f73223a6e756c6c7d2c2276657273696f6e223a312c2272656f72675f6d657461223a7b22656e645f68616e646c65223a302c2273716c5f6d6f6465223a302c227761726e696e6773223a7b7d2c227761726e696e67735f636f756e74223a7b7d2c226c6f636174696f6e223a7b226e616d65223a22417369612f5368616e67686169222c226f6666736574223a307d2c2272656f72675f7470223a307d2c226d756c74695f736368656d615f696e666f223a6e756c6c2c227072696f72697479223a302c227365715f6e756d223a302c2263686172736574223a22222c22636f6c6c617465223a22227d, 12, false);"] [2024/05/06 16:34:31.846 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:85, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:5, start time: 2024-05-06 16:34:31.32 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:34:31.846 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:85, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:5, start time: 2024-05-06 16:34:31.32 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.columns_priv MODIFY COLUMN Column_priv SET('Select','Insert','Update','References')"] [2024/05/06 16:34:31.965 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 48, tp general"] [job="ID:85, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:31.32 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:32.112 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=3.355537ms] [phyTblIDs="[14]"] [actionTypes="[4096]"] [2024/05/06 16:34:32.185 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:32.187 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=50] [2024/05/06 16:34:32.193 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=50] ["take time"=89.764187ms] [job="ID:85, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:31.32 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:35.207 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572889481445376\n# Query_time: 3.013122543\n# Parse_time: 0\n# Compile_time: 0.012387766\n# Rewrite_time: 0.00097265\n# Optimize_time: 0.002280619\n# Wait_TS: 0.000090547\n# Cop_time: 2.997951213 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 188\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000013318\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('1wPwhjAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkxCXRpbWU6M3MsIGxvb3BzOjIsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuNzdtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMW1zLCBycGNfbnVtOiAyMzU4LCBycGNfdAFiDCAxLjkBZvB1Y29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6e251bV9ycGM6MjM1NywgdG90YWxfdGltZTo1NzYuMm1zfQkxODggQnl0ZXMJTi9BCjEJMQHqAF85B+BsZShteXNxbC50aWRiX21kbF9pbmZvLnZlcnNpb24sIDUwKQkxCXRpa3ZfdGFzazp7dGltZToxLjUF4ykpBDB9AV0BBBwKMgk0M181CQFiLDEwMDAwCXRhYmxlOjJdAHwsIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkb65wAA==')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('xQSYCsAECg1UYWJsZVJlYWRlcl83EqACCgtTZWxlY3Rpb25fNhKbAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBxAIjDQDABOAJAAkoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUh5rZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG9qIHRpa3ZfdGFzazp7dGltZToxLjUxbXMsIGxvb3BzOjB9cP///////////wF4CQgM////AQWKLIBPIkEpq6qqqqr2qQ2KEFIjbGUoBYkALjKIADAudmVyc2lvbiwgNTAp4nUAAWwM6nPmQC51ACQBQAFSEGRhdGE6PT0gWhB0aW1lOjNzEcgYMmLBAWNvcAnpoCB7bnVtOiAxLCBtYXg6IDEuNzdtcywgcHJvY19rZXlzOiAwLCB0b3RfARIIOiAxAR0McnBjXwU2EDIzNTgsBQ8FYwwgMS45AWfwc2NvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjIzNTcsIHRvdGFsX3RpbWU6NTc2LjJtc31wvAF4////////////ARgB')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 50;"] [2024/05/06 16:34:35.217 +08:00] [ERROR] [mvcc.go:1021] ["commit failed, no correspond lock found"] [key="dIAA///////7X3KAAAAAAAAAVQ=="] ["start ts"=449572889479348224] [lock="{{0 0 0 0 0 false 0 false 0} [] [] []}"] [error="retryable: lock not found"] [stack="github.com/pingcap/tidb/store/mockstore/unistore/tikv.(*MVCCStore).Commit\n\tstore/mockstore/unistore/tikv/mvcc.go:1021\ngithub.com/pingcap/tidb/store/mockstore/unistore/tikv.(*Server).KvCommit\n\tstore/mockstore/unistore/tikv/server.go:366\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:183\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).sendReqToRegion\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1421\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReqCtx\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1177\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReq\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:234\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionCommit.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:98\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1036\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:969\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:788\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:222\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitTxn\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1701\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1692\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/session.autoCommitAfterStmt\n\tsession/tidb.go:282\ngithub.com/pingcap/tidb/session.finishStmt\n\tsession/tidb.go:248\ngithub.com/pingcap/tidb/session.runStmt\n\tsession/session.go:2441\ngithub.com/pingcap/tidb/session.(*session).ExecuteStmt\n\tsession/session.go:2278\ngithub.com/pingcap/tidb/session.(*session).ExecuteInternal\n\tsession/session.go:1730\ngithub.com/pingcap/tidb/ddl.(*session).execute\n\tddl/ddl.go:1812\ngithub.com/pingcap/tidb/ddl.cleanMDLInfo\n\tddl/ddl_worker.go:537\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:275\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:34:35.220 +08:00] [WARN] [session.go:1015] [sql] [label=internal] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/session.autoCommitAfterStmt\n\tsession/tidb.go:282\ngithub.com/pingcap/tidb/session.finishStmt\n\tsession/tidb.go:248\ngithub.com/pingcap/tidb/session.runStmt\n\tsession/session.go:2441\ngithub.com/pingcap/tidb/session.(*session).ExecuteStmt\n\tsession/session.go:2278\ngithub.com/pingcap/tidb/session.(*session).ExecuteInternal\n\tsession/session.go:1730\ngithub.com/pingcap/tidb/ddl.(*session).execute\n\tddl/ddl.go:1812\ngithub.com/pingcap/tidb/ddl.cleanMDLInfo\n\tddl/ddl_worker.go:537\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:275\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [txn="Txn{state=invalid}"] [2024/05/06 16:34:35.221 +08:00] [WARN] [session.go:1298] [retrying] [schemaVersion=50] [retryCnt=0] [queryNum=0] [sql="delete from mysql.tidb_mdl_info where job_id = 85"] [2024/05/06 16:34:35.224 +08:00] [WARN] [session.go:1321] ["transaction association"] ["retrying txnStartTS"=449572890272333824] ["original txnStartTS"=449572889479348224] [2024/05/06 16:34:35.228 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572889479348224\n# Query_time: 3.031927536\n# Parse_time: 0\n# Compile_time: 0.00135898\n# Rewrite_time: 0\n# Optimize_time: 0\n# Wait_TS: 0.000097952\n# Prewrite_time: 0.012284299 Commit_time: 0.001330406 Get_commit_ts_time: 0.000026314 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 19 Prewrite_region: 1 Txn_retry: 1\n# Is_internal: true\n# Digest: bdab55af0288282745b06ae511bf5258d90e46fca67dd2e2ef0faca225d2d599\n# Num_cop_tasks: 0\n# Mem_max: 8587\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('uQTwQDAJMjlfMgkwCTAJTi9BCTAJdGltZToxLjg5bXMsIGxvb3BzOjIsIGNvbW1pdF90eG46IHtwcmV3cml0ZToxMi4zAScMZ2V0XxEiIHM6MjYuM8K1cxE1EDoxLjMzASYgc2xvd2VzdF9wDT/oX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwgY29tbWkBRRBpbWFyedZEAA1kGG51bToxLCAFzBBfa2V5cxkOUGJ5dGU6MTksIHR4bl9yZXRyeToxfSEQBGNrCSoEIHslKRA1ODguMgXtCVQBQhFKEfAAcj7nAAAwiucAAGwBagE6GDQwOC44MTgJZPBGcGNfY291bnQ6MX0JMzk1IEJ5dGVzCU4vQQoxCTM2XzEJMAkxCXRhYmxlOnRpZGJfbWRsX2luZm8sIGhhbmRsZTo4NQkyCXQh4ww5MDEuCVYp5Sg0LCBHZXQ6e251bQV4CDIsICWaAF8F6EQzNjAuNsK1c30JTi9BCU4vQQo=')\n# Plan_digest: ca2b8c61a8ea82f17bacb18dbe38cd4b008fc18663d28963f5ced78ed80210d7\n# Binary_plan: tidb_decode_binary_plan('6QR4CuQECghEZWxldGVfMhKVAQoLUG9pbnRfR2V0XzEpAAUB8HnwPzACOAFAAUoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUgloYW5kbGU6ODVaFnRpbWU6OTAxLjjCtXMsIGxvb3BzOjRiJEdldDp7bnVtX3JwYzoyLCB0b3RhbF90aW1lOjM2MC42wrVzfXD///////////8BeP///wkMAAEBfUBSA04vQVoUdGltZToxLjg5bRVbdDJikgNjb21taXRfdHhuOiB7cHJld3JpdGU6MTIuMwEoDGdldF8RIhRzOjI2LjMFmgkTDDoxLjMFJhxzbG93ZXN0XxE/AF8BqJAge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6CQcQMSwgfSwNVRxfcHJpbWFyedZEAA1kGG51bToxLCAFzBBfa2V5cxkOBGJ5Ad9QOSwgdHhuX3JldHJ5OjF9LCBsb2NrCSoEIHslKhA1ODguMgXtCVQBQhFKEfBC5wAAMIrnAAVqAToYNDA4LjgxOAlkaHBjX2NvdW50OjF9cIsDeP///////////wEYAQ==')\ndelete from mysql.tidb_mdl_info where job_id = 85;"] [2024/05/06 16:34:35.281 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=85] [jobType="modify column"] [2024/05/06 16:34:35.286 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 48, tp general"] [job="ID:85, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:31.32 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:35.404 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=85] [2024/05/06 16:34:35.404 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:35.406 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 4.105507013\n# Parse_time: 0\n# Compile_time: 0.001412686\n# Rewrite_time: 0.000016924\n# Optimize_time: 0\n# Wait_TS: 0.000073852\n# Is_internal: true\n# Digest: 1a3d990987abecfdebaae89ece4893655ba5d1417ec215b622bc68c40815dd37\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.columns_priv MODIFY COLUMN Column_priv SET('Select','Insert','Update','References');"] [2024/05/06 16:34:35.413 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=50] [cur_db=] [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 16:34:35.416 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=50] [cur_db=] [sql="ALTER TABLE mysql.stats_buckets MODIFY upper_bound LONGBLOB NOT NULL"] [user=] [2024/05/06 16:34:35.458 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:86, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:5, start time: 2024-05-06 16:34:35.428 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:34:35.458 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:86, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:5, start time: 2024-05-06 16:34:35.428 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.stats_buckets MODIFY upper_bound LONGBLOB NOT NULL"] [2024/05/06 16:34:35.635 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 48, tp general"] [job="ID:86, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:35.428 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:35.780 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=3.206177ms] [phyTblIDs="[26]"] [actionTypes="[4096]"] [2024/05/06 16:34:35.836 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:35.836 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=86] [version=51] [2024/05/06 16:34:35.837 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=51] ["take time"=68.672349ms] [job="ID:86, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:35.428 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:35.950 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=86] [jobType="modify column"] [2024/05/06 16:34:35.963 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=17.832224ms] [2024/05/06 16:34:35.969 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 48, tp general"] [job="ID:86, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:35.428 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:36.581 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572890497777665] ["min commit ts"=449572890597130241] [key=bURETEpvYkhp/3N0b3J5AAAA/AAAAAAAAABoAAAAAAAAAFb/AAAAAAAAAAD3] [2024/05/06 16:34:36.582 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572890463174656] [info="{StartTs:449572890463174656 AttemptedCommitTs:449572890497777665 Key:6d44444c4a6f624869ff73746f7279000000fc00000000000000680000000000000056ff0000000000000000f7 MinCommitTs:449572890597130241}"] [2024/05/06 16:34:36.645 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=12.312158ms] [2024/05/06 16:34:36.682 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=86] [2024/05/06 16:34:36.683 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:36.684 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.269174743\n# Parse_time: 0\n# Compile_time: 0.000959773\n# Rewrite_time: 0.000017802\n# Optimize_time: 0\n# Wait_TS: 0.000091512\n# Is_internal: true\n# Digest: ce0e3f5812fac6beec45b7562e44ce095457ea53b5578610214f6b9eae54c542\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.stats_buckets MODIFY upper_bound LONGBLOB NOT NULL;"] [2024/05/06 16:34:36.687 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=51] [cur_db=] [sql="ALTER TABLE mysql.stats_buckets MODIFY lower_bound LONGBLOB"] [user=] [2024/05/06 16:34:37.263 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572890676035585] ["min commit ts"=449572890677084161] [key="dIAA///////+X3KAAAAAAAAAVw=="] [2024/05/06 16:34:37.263 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572890675249153] [info="{StartTs:449572890675249153 AttemptedCommitTs:449572890676035585 Key:748000fffffffffffe5f728000000000000057 MinCommitTs:449572890677084161}"] [2024/05/06 16:34:37.267 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572890675249153\n# Query_time: 0.55114484\n# Parse_time: 0\n# Compile_time: 0.04367405\n# Rewrite_time: 0.000288017\n# Optimize_time: 0.002016242\n# Wait_TS: 0.000071013\n# Prewrite_time: 0.000721336 Commit_time: 0.003370991 Get_commit_ts_time: 0.000015992 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 1242 Prewrite_region: 1\n# Is_internal: true\n# Digest: 1b73a00c73a03d7dc9dd08a1ea99474b2523e5f72366f740be5156fa244256c4\n# Num_cop_tasks: 0\n# Mem_max: 9894\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zQLwYTAJMjdfMQkwCTAJTi9BCTAJdGltZToxbXMsIGxvb3BzOjEsIHByZXBhcmU6IDQ5Mi4zwrVzLCBpbnNlcnQ6NTA5wrVzLCBjb21taXRfdHhuOiB7cHJld3JpdGU6NzIxLjPCAS8QZ2V0X2MNJAxzOjE2HTUQOjMuMzcBbxxzbG93ZXN0XxE/mF9ycGM6IHt0b3RhbDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0bwGYAHMBBwwxLCB9FYoYcHJpbWFyeUZEAAAzikQADWQIbnVtAf4FzAxfa2V5JQwJDlhieXRlOjEyNDJ9CTEuNjYgS0IJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('2ALwfQrTAgoISW5zZXJ0XzE4AUABUgNOL0FaEXRpbWU6MW1zLCBsb29wczoxYiBwcmVwYXJlOiA0OTIuM8K1cywgaW5zZXJ0OjUwOcK1c2L6AWNvbW1pdF90eG46IHtwcmV3cml0ZTo3MjEuM8K1cywgZ2V0X2NvbW1pdF90czoxNgVFCREQOjMuMzcBcCBzbG93ZXN0X3ANP9BfcnBjOiB7dG90YWw6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG9yZTogc3RvcmUxLCB9LA1VHF9wcmltYXJ5RkQAADOKRAANZBxudW06MSwgdwHMEF9rZXlzGQ5kYnl0ZToxMjQyfXCmDXj///////////8BGAE=')\ninsert into mysql.tidb_ddl_job(job_id, reorg, schema_ids, table_ids, job_meta, type, processing) values(87, false, \"1\", \"26\", 0x7b226964223a38372c2274797065223a31322c22736368656d615f6964223a312c227461626c655f6964223a32362c22736368656d615f6e616d65223a226d7973716c222c227461626c655f6e616d65223a2273746174735f6275636b657473222c227374617465223a382c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b7b226964223a382c226e616d65223a7b224f223a226c6f7765725f626f756e64222c224c223a226c6f7765725f626f756e64227d2c226f6666736574223a372c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235312c22466c6167223a3132382c22466c656e223a343239343936373239352c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b224f223a226c6f7765725f626f756e64222c224c223a226c6f7765725f626f756e64227d2c7b225470223a302c2252656c6174697665436f6c756d6e223a6e756c6c7d2c302c305d2c22736368656d615f7374617465223a302c22736e617073686f745f766572223a302c227265616c5f73746172745f7473223a302c2273746172745f7473223a3434393537323839303636313039333337362c22646570656e64656e63795f6964223a302c227175657279223a22414c544552205441424c45206d7973716c2e73746174735f6275636b657473204d4f44494659206c6f7765725f626f756e64204c4f4e47424c4f42222c2262696e6c6f67223a7b22536368656d6156657273696f6e223a302c224442496e666f223a6e756c6c2c225461626c65496e666f223a6e756c6c2c2246696e69736865645453223a302c224d756c7469706c655461626c65496e666f73223a6e756c6c7d2c2276657273696f6e223a312c2272656f72675f6d657461223a7b22656e645f68616e646c65223a302c2273716c5f6d6f6465223a302c227761726e696e6773223a7b7d2c227761726e696e67735f636f756e74223a7b7d2c226c6f636174696f6e223a7b226e616d65223a22417369612f5368616e67686169222c226f6666736574223a307d2c2272656f72675f7470223a307d2c226d756c74695f736368656d615f696e666f223a6e756c6c2c227072696f72697479223a302c227365715f6e756d223a302c2263686172736574223a22222c22636f6c6c617465223a22227d, 12, false);"] [2024/05/06 16:34:37.268 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:87, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:5, start time: 2024-05-06 16:34:36.704 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:34:37.268 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:87, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:5, start time: 2024-05-06 16:34:36.704 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.stats_buckets MODIFY lower_bound LONGBLOB"] [2024/05/06 16:34:37.305 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572890677084160\n# Query_time: 0.554028791\n# Parse_time: 0\n# Compile_time: 0.018654298\n# Rewrite_time: 0.002538999\n# Optimize_time: 0.008914451\n# Wait_TS: 0.000097626\n# Cop_time: 1.034025678 Process_time: 0.001 Request_count: 2\n# Is_internal: true\n# Digest: 1419dc3f429d38aa633c567e9a7382c40500243679dfa77e81a8e3ecb9436ee2\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0005 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12615\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('tRO4MAkzXzEzCTAJNjY1Ni42NwlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwRnByb2Nlc3NpbmcJMAl0aW1lOjUyOS42bXMsIGxvb3BzOjEsIENvbmN1cnJlbmN5OjUJMTEuOCBLQglOL0EKMQkxNF8xNAkwboAAGWMUOmRlc2MsTocAFGpvYl9pZB2DHYEcCTAgQnl0ZXMRCBwKMgkxN18yNx32VGlubmVyIGpvaW4sIGVxdWFsOltlcShaDAE4aWQsIENvbHVtbiMxNSldGXUIOC43HXd4LCBidWlsZF9oYXNoX3RhYmxlOnt0b3RhbDo1MjguMQEqEGZldGNoGQ8FMAw6MHN9EaoRCCAKMwk2XzI5KEIBUQApAbgwNDAwCWdyb3VwIGJ5OhWNQCwgZnVuY3M6Zmlyc3Ryb3coFRoIKS0+FQwZsQg3LjgBhzWpUHBhcnRpYWxfd29ya2VyOnt3YWxsXy3VFDcuNjcyMAUwCGNvbjnQiCwgdGFza19udW06MCwgdG90X3dhaXQ6Mi42MzY2MjUwNDdzCRcYZXhlYzowcwkNBVUFJFg3MTMwODZzLCBtYXg6NTI3LjM4MTUzNAGYCHA5NTISABR9LCBmaW5ioAAUODI4MDg1ATmeoQAYNzQwNTgxMg2UBaEcNTEuNDAxwrUNFBWoGDc0OTEwMDkdqBA1MTA1MEXpEagREgB9QdwBBBgKNAkxXzMwMbEkbm90KGlzbnVsbD2ZIc8FZgX8Ab4tjwgJMzhRuSBOL0EKNQk2XzMhvAg4MDA9/EqkAnkwUisDIHNjaGVtYV9pZAHMRtEDRaoJHklNCG1pbhWvADheSAIuuQAALHpIAhAwMjM1MbKoAQwzNTA2RSRBXyWnQkgCFDM2NzcxNAHTRUcYNi43OTc1M4UHKZ8ZEnpHAhAyMjk4M2WfnkcCEDQ4Njg0QRsVnxwxNTguOTE4wkJHAhQ1MDgxNjcZqBQ3LjExMDhpVwmoGRJZRyA2CTMxXzM2CTAp/ThkYXRhOkhhc2hBZ2dfMzF50AA2OnkFDGNvcF9hngg6IHthoAQgMWlmDCAxLjIlsUEqGF9rZXlzOiBtvAESBDogBf4IcnBjZdYQIDI4NiwFDkWnFCAzMDEuMkGokGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2OdK0QgMTV9LCBSZXNvbHZlTG9jazoBlhhfcnBjOjI4gUihHQllIDkzbXN9CTE3Na26YQEAN2EBDDEJMV8tBpX/SsUCAcfJlv4DA3UDSmYAyXV9EwA4JYsEa3YpdQB7JTAlTGnTADA50hQ4CTQzXzOBHwwwCTEwYdJleAA6LnkHfCwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvom0AADNBPxw0MShQcm9iZYFwADbt7QBkQUksU2VsZWN0aW9uXzQwBVPhxAQwOCnkCbkEMSwh7QnWACAhtS5LAgAxxfUhcllLVTwEMzEyPAIIMjY2iSv+PAJdPAQzMTY8AggxNjYBvEE/ADFdPyFsBDQwRT8R/0rTAQxyZW9yFsoINsYBEDk1Ni4xZc8pEj3LBDUJIcsAOQVa/ssBPctqcgA=')\n# Plan_digest: 29484af8ecb33bd721aada2a65e777d1777fbdefaa439f1f3bce3a7a45698fab\n# Binary_plan: tidb_decode_binary_plan('gxbwSQr+FQoNUHJvamVjdGlvbl8xMxLmFAoHU29ydF8xNBLwEwoLSGFzaEpvaW5fMjcSrwQKDlRhYmxlUmVhZGVyXzQxEpYCCgxTZWxlCUAYNDASmwEKEAUkUEZ1bGxTY2FuXzM5IQAAAADw7zBBKQEJ8GkAiMNAOAJAAkoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSHmtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkb2oidGlrdl90YXNrOnt0aW1lOjk1Ni4xwrVzLCBsb29wczowfXD/////BQQEAXgFBwEBAAEFiSwgZTFBKauqqqqqALoFiQRSGAWFAC4uhAAULnJlb3Jn5moALBoBAiFVVVVVlXT2QBltKAFAAVIRZGF0YTpTPTQ4WhV0aW1lOjUwOC4ybXMsDcQYMWKyAWNvcAnnSCB7bnVtOiAxLCBtYXg6IDEuMTcBKkRwcm9jX2tleXM6IDAsIHJwY18FJwgzMTYJDgVYFCAyNjYuMwEv8FVjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzozMTUsIHRvdGFsXwVlCDE2NgG9CH1wqy5wARASiA4KCkFCIEFnZ18yORKuCi4uAhAzMBLKCRkgEDM1EqcFNmECEDM2EocDHSIIMRKWRl8CADQl1v5fAl1fBB10Ol8CADEhPQRsb4JaAgAoQVoAAAEBBEC/SVoslAFncm91cCBieTptQek2ZAIhvxxlc3NpbmcsIEofACRzY2hlbWFfaWRzUh8AEHRhYmxlCR4kZnVuY3M6bWluKEpHAERqb2JfaWQpLT5Db2x1bW4jMTjW4gAc3t3d3R0+90AZ4kHPBA9kQc8ISGFzJeQEMzFRzQwyNi42OTcIMWK+as0CADJFniEOWc0MdG90XwESBDogJX5V3AQyODLcAggzMDFBeAAs/twCLtwCBDI4NtwCGDkzbXN9cK8u2QIlDQytbPhANg0BAIT+7wG+7wE10z3fADU1gwA3afdJulwxYscCcGFydGlhbF93b3JrZXI6e3dhbGyJJSQ1MjcuMDIzNTE1IbUAY50FIQwIYXNrhVoEMCwlmDx3YWl0OjIuNjMzNTA2ODZzCRYUZXhlYzowDQ2FFQUjEDY3NzE0QcIIYXg6QRYUNzk3NTM5AWYIcDk1MhIAFH0sIGZpbmKfABAyMjk4M0UNnp8AFDQ4Njg0OQ2SBZ8cMTU4LjkxOMLBK0FiFacUNTA4MTY3GagcNy4xMTA4MDgZqBkSBH1wwU0FAUYUAgRI/k0UCAC5QGUhKBZub3QoaXNudWxsNa8INSkpWqUBCHD8At2wJBoBASFEREREJGM+VgAEOGeRWFEDBDUsjQccZmlyc3Ryb3cdbnn8Lh0CBd1RHQDIeh0CCDY3MikOnn0BGDY2MjUwNDcufgFCHQIQNjcxMzBFQUkeHDcuMzgxNTM0LnYBERJ6HgIQODI4MDiyvQIYNzQwNTgxMi6hABQ1MS40MDFGHgIUNzQ5MTAwQUoRqBA1MTA1MIXhScYANxUSXh4CQTAUb0ENQSmsHnsIaAFAAVI8aW5uZXIgam9pbiwgZXF1YWw6W2VxKGLHBQQsIDXwBCldVUQEOC4SDwgxzCw5YnVpbGRfaGFzaF/FJiw6e3RvdGFsOjUyOC5lQhBmZXRjaBkPBTAsOjBzfSGZKiJLzRseOqYAAD1KkAChncm9EDpkZXNjUqMGyXsEWhNlZwQ1MmX2DaUFagR9Wj5qAE4nBwFGEG1ldGEsTiUHGYc1DgA5NnoGDA1Db24i0whANXCcXnj///////////8BGAE=')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg order by processing desc, job_id;"] [2024/05/06 16:34:37.382 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 48, tp general"] [job="ID:87, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:36.704 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:40.723 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000057, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572890838827008, lockForUpdateTS:0, minCommitTs:0, ttl: 3300, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:34:40.724 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000057, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572890838827008, lockForUpdateTS:0, minCommitTs:0, ttl: 3300, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:34:40.724 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000057, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572890838827008, lockForUpdateTS:0, minCommitTs:0, ttl: 3300, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:34:40.724 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000057, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572890838827008, lockForUpdateTS:0, minCommitTs:0, ttl: 3300, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:34:40.725 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000057, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572890838827008, lockForUpdateTS:0, minCommitTs:0, ttl: 3300, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:34:40.728 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572890906984448\n# Query_time: 3.091086572\n# Parse_time: 0\n# Compile_time: 0.006199408\n# Rewrite_time: 0.000964652\n# Optimize_time: 0.002708235\n# Wait_TS: 0.000096392\n# Cop_time: 3.03351708 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 175\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000012597\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2gPweTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6My4wM3MsIGxvb3BzOjEsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuNDFtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMW1zLCBycGNfCTYQMzUwLCABDwB0AWUUIDEuNzlzBV3wTHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjEzNDksAYAMYWxfdAFkeDY1MS4xbXN9CTE3NSBCeXRlcwlOL0EKMQkxXzYJMV85CqhsZShteXNxbC50aWRiX21kbF9pbmZvLnZlcnNpb24sIDUxKQkwCXRpa3ZfJQkEe3QBXwwxLjIyAeMAbCUpBDB9AV0BBBgKMgk0M181BWIsMTAwMDAJdGFibGU6Ml0AfCwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvrnAA')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('wgSYCr0ECg1UYWJsZVJlYWRlcl83EpwCCgtTZWxlY3Rpb25fNhKZAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBpAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6MS4yMm1zLCBsb29wczowfXD//////wEEBAF4AQYFAQABBYgsgE8iQSmrqqqqqvapBYgQUiNsZSgFhwAuMoYAOC52ZXJzaW9uLCA1MSlqINpzAAFqDOpz5kAZcyQBQAFSEGRhdGE6PTcIWhN0AcgMMy4wMxXHIDFiwQFjb3BfdAHooCB7bnVtOiAxLCBtYXg6IDEuNDFtcywgcHJvY19rZXlzOiAwLCB0b3RfARIEOiAFHQxycGNfCTYMMzUwLAUPBWbwSSAxLjc5cywgY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6AZUgX3JwYzoxMzQ5BYAMYWxfdAHKXDY1MS4xbXN9cK8BeP///////////wEYAQ==')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 51;"] [2024/05/06 16:34:40.732 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 6d446966663a353200fe0000000000000073, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572890838827008, lockForUpdateTS:0, minCommitTs:449572890838827009, ttl: 3300, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:34:40.740 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572890924810240\n# Query_time: 3.043040314\n# Parse_time: 0\n# Compile_time: 0.021759812\n# Rewrite_time: 0.003882245\n# Optimize_time: 0.014738017\n# Wait_TS: 0.000087205\n# Cop_time: 3.009389703 Process_time: 0.005 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0025 Cop_proc_p90: 0.003 Cop_proc_max: 0.003 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12633\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('0xO4MAkzXzEzCTAJMjI3Ni44MAlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwQ3Byb2Nlc3NpbmcJMAl0aW1lOjMuMDFzLCBsb29wczoxLCBDb25jdXJyZW5jeTo1CTExLjggS0IJTi9BCjEJMTRfMTQJcn4AGWEUOmRlc2MsToUAFGpvYl9pZFaBABwJMCBCeXRlcxEIHAoyCTE3XzI4HfRUaW5uZXIgam9pbiwgZXF1YWw6W2VxKFoKAQRpZAHTIGx1bW4jMTUpXVZ1AJgsIGJ1aWxkX2hhc2hfdGFibGU6e3RvdGFsOjk2MsK1cywgZmV0Y2gVDgUuDDowc30RphEIJAozCTMxXzQxKEIBUAApHbVAZGF0YTpTZWxlY3Rpb25fNDARihA1NTQuOAVkNYN8Y29wX3Rhc2s6IHtudW06IDEsIG1heDogMy40NW1zLCAhZDRfa2V5czogMCwgdG90XwESCDogMwEdDHJwY18RNgEMJeUQIDMuMzQBHphjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25VAhwgMTV9CTE3Ny2VGE4vQQo0CTEBvwQxX3IIAgxyZW9ySWQEa3YJzQB7BYoIMy4xBYkJ7QQwfQFTAQQcCjUJNDRfMzkFWBw2NjY2LjY3CSmLLt4C8DwsIHJhbmdlOlstaW5mLDg3KSwgKDg3LCtpbmZdLCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG8JQfKajgAsMwk2XzI5KFByb2JlIcc4NjQwMAlncm91cCBieTpDUVFALCBmdW5jczpmaXJzdHJvdygVGggpLT4VDDHrPmsDTHBhcnRpYWxfd29ya2VyOnt3YWxsKbABKigxODczNjE2cywgYz2RCDUsIEEbJeMt/UR3YWl0OjE1LjA1NzM0NDM1NHNJFRRleGVjOjANDSV9CSUYNDMxNTkzc0lVBWoUNjUzNjMyQVoEOTUyEgAUfSwgZmluZqMAEDk5MTM4tqMAEDk5Mzc0gXJBuAWjGDUxLjMzNcJhZwEUGaoUODA3NjEyAV9B/wmqEDQzMDU4MqoACRJZSUGgADNhXyW0FG5vdChlcTmYHCwgODcpKSwgARgUaXNudWxsGRwAKSHqBX8BbABztRUICTM4kZZhARA1CTZfMyHVCDgwMF0VSoEEYZcAZaVuUggFIHNjaGVtYV9pZCGMRqwFRf4JHklmCG1pbhWtADgyYQIAMUq3AAQyLHphAhQwNjIwMjIh915hAgAxSUlZYRQwMzA4NzcyYQIcMjA3LjAyNsJGvwEQMDYzNzYFYDG/FDAyMTUzMgE/UWkREn5pAhQwODkwMzlqDANCqwAYMjA2OTk4NU3/RWkYMTg4LjA1OUqrABQyMzAzMTcBLRWrEDU1ODgxARIVqw0SWWoANqHtDDM2CTBJCqXjJEhhc2hBZ2dfMzFelQFe3gUIMi44oaJBNE7dBQAyAR2h0andDDU1MCwFD0WwDCAxLjZhKM7fBTQsIFJlc29sdmVMb2NrOsFyIF9ycGM6MTU0OSX/AGGNlAg4MjUBohB9CTE5M90PADdhDgAxpbf+EAPOEANKOAMWXwh9IAA4JYs2+gUMMi41OSFSQogGFDgJNDNfM4FFDDAJMTBh4mWIOoYGemoGYZCacAA=')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('qBbwSQqjFgoNUHJvamVjdGlvbl8xMxKNFQoHU29ydF8xNBKXFAoLSGFzaEpvaW5fMjgSpgQKDlRhYmxlUmVhZGVyXzQxEq8CCgxTZWxlCUAYNDAStgEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wWzpbLWluZiw4NyksICg4NywraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6My4xNG1zLCBsb29wczowfXD/////BQMEAXgFBwEBAAEFoyyAMSdBKZ0xLpGayaEFoyBSGG15c3FsLnQdniQucmVvcmdqIHRpzmgALBoBASFPZT4NtWjrQBlrKAFAAVIRZGF0YTpTPU04WhZ0aW1lOjU1NC44wrVzEcMYMWKPAWNvcAnkoCB7bnVtOiAxLCBtYXg6IDMuNDVtcywgcHJvY19rZXlzOiAwLCB0b3RfARIIOiAzAR0McnBjXxE2AQwFZgwgMy4zJSjYY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fXCxAT1MEBK8DgoKQTkgQWdnXzI5Et8KLiUCEDMwEuUJGSAQMzUSswU2WAIQMzYSkQMdIhQxEpsBChBFVgxGdWxsSVUANCWyFPDvMEEpAAEBEIjDQDABdlcCAB6+OwIMMi41OSExAGyGOwIIKGUxDYkEQL8NiTBSlAFncm91cCBieTptRkcCIZEcZXNzaW5nLCBKHwAkc2NoZW1hX2lkc1IfABB0YWJsZQkeJGZ1bmNzOm1pbihKRwBEam9iX2lkKS0+Q29sdW1uIzE4RroCmucAHN7d3d0dPvdAKXAJ50G5BA9kQbkISGFzJfAMMzFaE0VRDDMuMDFVtAgyYsBitAIIMi44IWUhEE6zAgAyAR1Bp0mzDDU1MCwFDwVlGCAxLjY2cyzStQI0LCBSZXNvbHZlTG9jazphSCBfcnBjOjE1NDllMwRhbAlkCDgyNQGiCH1wwTIxBCEPDK1s+EA+DwEAhP72Ab72ATXaPeYANVaFAVDWAnBhcnRpYWxfd29ya2VyOnt3YWwN5ygzLjAxMDYyMDIyMiVRAG514hg1LCB0YXNrJYEAMSUbSF93YWl0OjE1LjA1MDMwODc3NHMJGCxleGVjOjIwNy4wMjaFs4F7JaoJLQw2Mzc2BWCBrgVyEDIxNTMyAT8IcDk1MhIAFH0sIGZpbmKrABgxMDg5MDM5rqsAGDIwNjk5ODUuqwAYMTg4LjA1OUqrABQyMzAzMTcBLRWrEDU1ODgxARIVqw0SXlQGRSMESP5NIwgAuUBlMBgubm90KGVxNbggNSwgODcpKSwgARgUaXNudWxsGRwEKSlOygEMMXD8Ar1xJBoBAiFEREREJGM+bAAEOGeRglEmBDUsjTEcZmlyc3Ryb3cdbJkmUkACCDFizXpAAhQxODczNjFpkVZAAgAwSShZQBQ3MzQ0MzVBAUErRUAAMC2iWTgYNzQzMTU5M6ELBGF4RSYUMTY1MzYzQaoxjRESfjgCEDk5MTM4tqMAEDk5Mzc0gc0VoxQ1MS4zMzVKNwIUODA3NjEyAV8ZqhA0MzA1OOGVTeIAMQ0SXjcCGBYKTYGFDAcqiwhoAUABUjxpbm5lciBqb2luLCBlcXVhbDpbZXEoYvQFBCwgNfMEKV1SRQIwYjdidWlsZF9oYXNoX8VRKDp7dG90YWw6OTYyBdwQZmV0Y2gVDgUuMDowc30h7YNaQ5QsEEE2wggAPUqMAKHWyeYQOmRlc2NSzAbJpFKjABghwiFvljRCPmoATlAHAUYQbWV0YSxOTgcZh1JnAAxiDUNvXbA8cJxeeP///////////wEYAQ==')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (87) order by processing desc, job_id;"] [2024/05/06 16:34:41.198 +08:00] [ERROR] [mvcc.go:1021] ["commit failed, no correspond lock found"] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6Mjb/AAAAAAAAAAD3] ["start ts"=449572890838827008] [lock="{{0 0 0 0 0 false 0 false 0} [] [] []}"] [error="retryable: lock not found"] [stack="github.com/pingcap/tidb/store/mockstore/unistore/tikv.(*MVCCStore).Commit\n\tstore/mockstore/unistore/tikv/mvcc.go:1021\ngithub.com/pingcap/tidb/store/mockstore/unistore/tikv.(*Server).KvCommit\n\tstore/mockstore/unistore/tikv/server.go:366\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:183\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).sendReqToRegion\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1421\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReqCtx\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1177\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReq\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:234\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionCommit.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:98\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1036\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:969\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:788\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:222\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitTxn\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1701\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1692\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:34:41.211 +08:00] [WARN] [session.go:1025] ["can not retry txn"] [label=internal] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 16:34:41.212 +08:00] [WARN] [session.go:1041] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [2024/05/06 16:34:41.213 +08:00] [INFO] [job_table.go:255] ["[ddl] handle ddl job failed"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [job="ID:87, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:36.704 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:41.275 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 48, tp general"] [job="ID:87, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:36.704 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:41.299 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=10.284431ms] [2024/05/06 16:34:41.320 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=301.427µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:41.334 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=308.883µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:41.351 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=291.501µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:41.365 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=286.934µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:41.381 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=292.239µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:41.396 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=329.416µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:34:41.468 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=53] ["start time"=3.473829ms] [phyTblIDs="[26]"] [actionTypes="[4096]"] [2024/05/06 16:34:41.536 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:41.536 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=87] [version=53] [2024/05/06 16:34:41.537 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=53] ["take time"=142.534859ms] [job="ID:87, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:36.704 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:42.043 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572891929608192] ["min commit ts"=449572891932229633] [key="dIAA///////7X3KAAAAAAAAAVw=="] [2024/05/06 16:34:42.043 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572891928821760] [info="{StartTs:449572891928821760 AttemptedCommitTs:449572891929608192 Key:748000fffffffffffb5f728000000000000057 MinCommitTs:449572891932229633}"] [2024/05/06 16:34:42.046 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572891928821760\n# Query_time: 0.505827015\n# Parse_time: 0\n# Compile_time: 0.001358164\n# Rewrite_time: 0\n# Optimize_time: 0\n# Wait_TS: 0.000085796\n# Prewrite_time: 0.000594981 Commit_time: 0.001275439 Get_commit_ts_time: 0.000023226 Slowest_prewrite_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 19 Prewrite_region: 1\n# Is_internal: true\n# Digest: bdab55af0288282745b06ae511bf5258d90e46fca67dd2e2ef0faca225d2d599\n# Num_cop_tasks: 0\n# Mem_max: 8587\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('oQPwTDAJMjlfMgkwCTAJTi9BCTAJdGltZTo5MDcuNsK1cywgbG9vcHM6MSwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjU5NcK1cywgZ2V0X2NvCSIUczoyMy4yBT4JNUQ6MS4yOG1zLCBzbG93ZXN0X3ANP9BfcnBjOiB7dG90YWw6IDAuMDAwcywgcmVnaW9uX2lkOiAyLCBzdG9yZTogc3RvcmUxLCB9LA1VHF9wcmltYXJ5RkQAADGKRAANZAhudW0B3AXMEF9rZXlzGQ7wQ2J5dGU6MTl9CTM5NSBCeXRlcwlOL0EKMQkzNl8xCTAJMQl0YWJsZTp0aWRiX21kbF9pbmZvLCBoYW5kbGU6ODcJMQl0IUsUNDM1LjTCOUsoMiwgR2V0OntudW0FuwwxLCB0IQAAXyV5RDE4Ni40wrVzfQlOL0EJTi9BCg==')\n# Plan_digest: ca2b8c61a8ea82f17bacb18dbe38cd4b008fc18663d28963f5ced78ed80210d7\n# Binary_plan: tidb_decode_binary_plan('0QN4CswDCghEZWxldGVfMhKVAQoLUG9pbnRfR2V0XzEpAAUB8HnwPzABOAFAAUoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUgloYW5kbGU6ODdaFnRpbWU6NDM1LjTCtXMsIGxvb3BzOjJiJEdldDp7bnVtX3JwYzoxLCB0b3RhbF90aW1lOjE4Ni40wrVzfXD///////////8BeP///wkMBX0QUgNOL0ENXRA5MDcuNh1dcDFi+AFjb21taXRfdHhuOiB7cHJld3JpdGU6NTk1BSgMZ2V0XxEiFHM6MjMuMgUXCRNAOjEuMjhtcywgc2xvd2VzdF8RPwBfAaqQIHt0b3RhbDogMC4wMDBzLCByZWdpb25faWQ6IDIsIHN0b3JlOgkHEDEsIH0sDVUcX3ByaW1hcnlGRAAAMYpEAA1kGG51bToxLCAFzBBfa2V5cxkOXGJ5dGU6MTl9cIsDeP///////////wEYAQ==')\ndelete from mysql.tidb_mdl_info where job_id = 87;"] [2024/05/06 16:34:42.051 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572891932229632\n# Query_time: 0.501714794\n# Parse_time: 0\n# Compile_time: 0.005512877\n# Rewrite_time: 0.000946719\n# Optimize_time: 0.002100315\n# Wait_TS: 0.000122711\n# Cop_time: 0.479164779 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 188\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000041024\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('3APwVTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkxCXRpbWU6NDc5LjdtcywgbG9vcHM6MiwgY29wX3Rhc2s6IHtudW06IDEsIG1heDogMS42BSlEcHJvY19rZXlzOiAwLCB0b3RfARIsOiAxbXMsIHJwY19uATYIMzY3CQ4AdAFmFCAzMDYuOAEh8Hljb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzozNjYsIHRvdGFsX3RpbWU6MTA0LjZtc30JMTg4IEJ5dGVzCU4vQQoxCTFfNgkxXzkMiGxlKG15c3FsLnRpZGJfbWRsX2luZm8udmVyc2lvbiwgNTMpJR8Ia3ZfJQkEe3QBxAwxLjQ2AcIAbCUpFDB9CU4vQQEEXAoyCTQzXzUJMV8wCTEwMDAwCXRhYmxlOjJdAHwsIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkb65wAA==')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('ygSYCsUECg1UYWJsZVJlYWRlcl83EqACCgtTZWxlY3Rpb25fNhKbAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBxAIjDQDABOAJAAkoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUh5rZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG9qIHRpa3ZfdGFzazp7dGltZToxLjQ2bXMsIGxvb3BzOjB9cP///////////wF4CQgM////AQWKLIBPIkEpq6qqqqr2qQ2KEFIjbGUoBYkALjKIADAudmVyc2lvbiwgNTMp4nUAAWwM6nPmQC51ACQBQAFSEGRhdGE6PT00WhV0aW1lOjQ3OS43bXMRzRgyYsEBY29wCe5EIHtudW06IDEsIG1heDogMS42BSpEcHJvY19rZXlzOiAwLCB0b3RfARIIOiAxAUcMcnBjXwU2DDM2NywFDgVnFCAzMDYuOAEh8HJjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzozNjYsIHRvdGFsX3RpbWU6MTA0LjZtc31wvAF4////////////ARgB')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 53;"] [2024/05/06 16:34:42.138 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=87] [jobType="modify column"] [2024/05/06 16:34:42.145 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 48, tp general"] [job="ID:87, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:36.704 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:42.613 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=35.037761ms] [2024/05/06 16:34:42.730 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572892109701120] ["min commit ts"=449572892235792385] [key=bURETEpvYkhp/3N0b3J5AAAA/AAAAAAAAABoAAAAAAAAAFf/AAAAAAAAAAD3] [2024/05/06 16:34:42.731 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572892085583872] [info="{StartTs:449572892085583872 AttemptedCommitTs:449572892109701120 Key:6d44444c4a6f624869ff73746f7279000000fc00000000000000680000000000000057ff0000000000000000f7 MinCommitTs:449572892235792385}"] [2024/05/06 16:34:42.806 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=87] [2024/05/06 16:34:42.806 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:42.808 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 6.12190467\n# Parse_time: 0\n# Compile_time: 0.00116919\n# Rewrite_time: 0.000018398\n# Optimize_time: 0\n# Wait_TS: 0.000077081\n# Is_internal: true\n# Digest: 2d58d9b5c297b9f81ef2fbfc7d824d65c3715a0bbea4504df3340fd39607fc4c\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.stats_buckets MODIFY lower_bound LONGBLOB;"] [2024/05/06 16:34:42.811 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=] [sql="ALTER TABLE mysql.stats_histograms MODIFY last_analyze_pos LONGBLOB DEFAULT NULL"] [user=] [2024/05/06 16:34:42.844 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:88, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:5, start time: 2024-05-06 16:34:42.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:34:42.845 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:88, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:5, start time: 2024-05-06 16:34:42.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.stats_histograms MODIFY last_analyze_pos LONGBLOB DEFAULT NULL"] [2024/05/06 16:34:43.008 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 48, tp general"] [job="ID:88, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:42.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:43.205 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=3.740682ms] [phyTblIDs="[24]"] [actionTypes="[4096]"] [2024/05/06 16:34:43.236 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:43.236 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=88] [version=54] [2024/05/06 16:34:43.239 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=54] ["take time"=44.713167ms] [job="ID:88, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:42.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:43.347 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=88] [jobType="modify column"] [2024/05/06 16:34:43.352 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 48, tp general"] [job="ID:88, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:42.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:43.574 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=88] [2024/05/06 16:34:43.574 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:43.576 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.766106935\n# Parse_time: 0\n# Compile_time: 0.001449476\n# Rewrite_time: 0.000016656\n# Optimize_time: 0\n# Wait_TS: 0.000086217\n# Is_internal: true\n# Digest: 8cf940b8227b3940066b7fea5e4a92b5903ecb0732d73409b58db69a2a25d5e6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.stats_histograms MODIFY last_analyze_pos LONGBLOB DEFAULT NULL;"] [2024/05/06 16:34:43.590 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=] [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 16:34:43.627 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=] [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 16:34:43.631 +08:00] [INFO] [txn.go:55] ["Try to create a new txn inside a transaction auto commit"] [schemaVersion=54] [txnStartTS=449572892469362688] [txnScope=global] [2024/05/06 16:34:43.657 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [2024/05/06 16:34:43.667 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=] [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\t);"] [user=] [2024/05/06 16:34:43.700 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=] [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\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\t);"] [user=] [2024/05/06 16:34:43.757 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=] [sql="ALTER TABLE mysql.tables_priv MODIFY COLUMN Column_priv SET('Select','Insert','Update','References')"] [user=] [2024/05/06 16:34:43.907 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=16.537202ms] [2024/05/06 16:34:44.335 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572892523888640\n# Query_time: 0.545449514\n# Parse_time: 0\n# Compile_time: 0.021813045\n# Rewrite_time: 0.000319149\n# Optimize_time: 0.002088764\n# Wait_TS: 0.000091244\n# Prewrite_time: 0.000782383 Commit_time: 0.000997032 Get_commit_ts_time: 0.000024538 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 1314 Prewrite_region: 1\n# Is_internal: true\n# Digest: 1b73a00c73a03d7dc9dd08a1ea99474b2523e5f72366f740be5156fa244256c4\n# Num_cop_tasks: 0\n# Mem_max: 9966\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('0gLwbTAJMjdfMQkwCTAJTi9BCTAJdGltZToxOS45bXMsIGxvb3BzOjEsIHByZXBhcmU6IDU0MS43wrVzLCBpbnNlcnQ6MTkuNG1zLCBjb21taXRfdHhuOiB7cHJld3JpdGU6NzgyLjTCtXMsIGdldF9jDSQUczoyNC41BUYAYwUTDDo5OTcFDxxzbG93ZXN0XxFB0F9ycGM6IHt0b3RhbDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0b3JlOiBzdG9yZTEsIH0sDVUcX3ByaW1hcnnWRAANZAhudW0hAAXOEF9rZXlzGQ5YYnl0ZToxMzE0fQkxLjczIEtCCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('3QLwRgrYAgoISW5zZXJ0XzE4AUABUgNOL0FaFHRpbWU6MTkuOW1zLCBsb29wczoxYiBwcmVwYXJlOiA1NDEuN8K1cywgaW5zZXJ0ASuoNG1zYvwBY29tbWl0X3R4bjoge3ByZXdyaXRlOjc4Mi40wrVzLCBnZXRfYw0kFHM6MjQuNQUXCTcMOjk5NwUPHHNsb3dlc3RfEUGYX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvAZsAcwEHEDEsIH0sDVUcX3ByaW1hcnnWRAANZBhudW06MSwgBc4QX2tleXMZDmRieXRlOjEzMTR9cO4NeP///////////wEYAQ==')\ninsert into mysql.tidb_ddl_job(job_id, reorg, schema_ids, table_ids, job_meta, type, processing) values(89, false, \"1\", \"12\", 0x7b226964223a38392c2274797065223a31322c22736368656d615f6964223a312c227461626c655f6964223a31322c22736368656d615f6e616d65223a226d7973716c222c227461626c655f6e616d65223a227461626c65735f70726976222c227374617465223a382c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b7b226964223a382c226e616d65223a7b224f223a22436f6c756d6e5f70726976222c224c223a22636f6c756d6e5f70726976227d2c226f6666736574223a372c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3234382c22466c6167223a302c22466c656e223a33312c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a5b2253656c656374222c22496e73657274222c22557064617465222c225265666572656e636573225d2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b224f223a22436f6c756d6e5f70726976222c224c223a22636f6c756d6e5f70726976227d2c7b225470223a302c2252656c6174697665436f6c756d6e223a6e756c6c7d2c302c305d2c22736368656d615f7374617465223a302c22736e617073686f745f766572223a302c227265616c5f73746172745f7473223a302c2273746172745f7473223a3434393537323839323531353530303033322c22646570656e64656e63795f6964223a302c227175657279223a22414c544552205441424c45206d7973716c2e7461626c65735f70726976204d4f4449465920434f4c554d4e20436f6c756d6e5f7072697620534554282753656c656374272c27496e73657274272c27557064617465272c275265666572656e6365732729222c2262696e6c6f67223a7b22536368656d6156657273696f6e223a302c224442496e666f223a6e756c6c2c225461626c65496e666f223a6e756c6c2c2246696e69736865645453223a302c224d756c7469706c655461626c65496e666f73223a6e756c6c7d2c2276657273696f6e223a312c2272656f72675f6d657461223a7b22656e645f68616e646c65223a302c2273716c5f6d6f6465223a302c227761726e696e6773223a7b7d2c227761726e696e67735f636f756e74223a7b7d2c226c6f636174696f6e223a7b226e616d65223a22417369612f5368616e67686169222c226f6666736574223a307d2c2272656f72675f7470223a307d2c226d756c74695f736368656d615f696e666f223a6e756c6c2c227072696f72697479223a302c227365715f6e756d223a302c2263686172736574223a22222c22636f6c6c617465223a22227d, 12, false);"] [2024/05/06 16:34:44.335 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:89, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:5, start time: 2024-05-06 16:34:43.778 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:34:44.336 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:89, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:5, start time: 2024-05-06 16:34:43.778 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.tables_priv MODIFY COLUMN Column_priv SET('Select','Insert','Update','References')"] [2024/05/06 16:34:44.423 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 48, tp general"] [job="ID:89, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:43.778 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:44.619 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=6.002662ms] [phyTblIDs="[12]"] [actionTypes="[4096]"] [2024/05/06 16:34:44.686 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:44.686 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=89] [version=55] [2024/05/06 16:34:44.689 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=55] ["take time"=80.408894ms] [job="ID:89, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:43.778 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:44.770 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=11.900642ms] [2024/05/06 16:34:44.791 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=89] [jobType="modify column"] [2024/05/06 16:34:44.795 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 48, tp general"] [job="ID:89, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:43.778 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:44.966 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=89] [2024/05/06 16:34:44.966 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:44.969 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.224812339\n# Parse_time: 0\n# Compile_time: 0.013476047\n# Rewrite_time: 0.000020315\n# Optimize_time: 0\n# Wait_TS: 0.000098816\n# Is_internal: true\n# Digest: 14950ce634ff75bc56add1463f872b77428f3c8a7f8e2613c88838ecff9b91d9\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.tables_priv MODIFY COLUMN Column_priv SET('Select','Insert','Update','References');"] [2024/05/06 16:34:44.985 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=55] [cur_db=] [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 16:34:44.992 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=55] [cur_db=] [sql="ALTER TABLE mysql.user CHANGE `Repl_slave_priv` `Repl_slave_priv` ENUM('N','Y') NOT NULL DEFAULT 'N' AFTER `Execute_priv`"] [user=] [2024/05/06 16:34:45.026 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:90, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:5, start time: 2024-05-06 16:34:45.004 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:34:45.026 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:90, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:5, start time: 2024-05-06 16:34:45.004 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.user CHANGE `Repl_slave_priv` `Repl_slave_priv` ENUM('N','Y') NOT NULL DEFAULT 'N' AFTER `Execute_priv`"] [2024/05/06 16:34:45.109 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 48, tp general"] [job="ID:90, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:45.004 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:45.500 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=10.989073ms] [phyTblIDs="[4]"] [actionTypes="[4096]"] [2024/05/06 16:34:45.500 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=12.551556ms] [2024/05/06 16:34:45.537 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:45.537 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=90] [version=56] [2024/05/06 16:34:45.538 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=56] ["take time"=60.133322ms] [job="ID:90, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:45.004 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:45.623 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=90] [jobType="modify column"] [2024/05/06 16:34:45.639 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 48, tp general"] [job="ID:90, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:45.004 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:45.971 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=90] [2024/05/06 16:34:45.972 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:45.973 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.983407199\n# Parse_time: 0\n# Compile_time: 0.002143694\n# Rewrite_time: 0.000020072\n# Optimize_time: 0\n# Wait_TS: 0.00008521\n# Is_internal: true\n# Digest: 9277d5b9e5785a289b450aea98e4ed497a393620211123b26ad941a29e356a32\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.user CHANGE `Repl_slave_priv` `Repl_slave_priv` ENUM('N','Y') NOT NULL DEFAULT 'N' AFTER `Execute_priv`;"] [2024/05/06 16:34:45.977 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=56] [cur_db=] [sql="ALTER TABLE mysql.user CHANGE `Repl_client_priv` `Repl_client_priv` ENUM('N','Y') NOT NULL DEFAULT 'N' AFTER `Repl_slave_priv`"] [user=] [2024/05/06 16:34:46.011 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:91, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:5, start time: 2024-05-06 16:34:45.988 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:34:46.011 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:91, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:5, start time: 2024-05-06 16:34:45.988 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.user CHANGE `Repl_client_priv` `Repl_client_priv` ENUM('N','Y') NOT NULL DEFAULT 'N' AFTER `Repl_slave_priv`"] [2024/05/06 16:34:46.117 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 48, tp general"] [job="ID:91, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:45.988 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:46.470 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=19.166386ms] [phyTblIDs="[4]"] [actionTypes="[4096]"] [2024/05/06 16:34:46.470 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=20.645704ms] [2024/05/06 16:34:46.536 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:46.536 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=91] [version=57] [2024/05/06 16:34:46.536 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=57] ["take time"=88.378088ms] [job="ID:91, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:45.988 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:46.659 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=91] [jobType="modify column"] [2024/05/06 16:34:46.678 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 48, tp general"] [job="ID:91, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:45.988 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:34:47.058 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=15.408445ms] [2024/05/06 16:34:47.488 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572893356982272] ["min commit ts"=449572893468393472] [key=bURETEpvYkhp/3N0b3J5AAAA/AAAAAAAAABoAAAAAAAAAFv/AAAAAAAAAAD3] [2024/05/06 16:34:47.488 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572893270736896] [info="{StartTs:449572893270736896 AttemptedCommitTs:449572893356982272 Key:6d44444c4a6f624869ff73746f7279000000fc0000000000000068000000000000005bff0000000000000000f7 MinCommitTs:449572893468393472}"] [2024/05/06 16:34:47.583 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=91] [2024/05/06 16:34:47.583 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:47.585 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.6099457849999999\n# Parse_time: 0\n# Compile_time: 0.002147137\n# Rewrite_time: 0.000018816\n# Optimize_time: 0\n# Wait_TS: 0.000086207\n# Is_internal: true\n# Digest: 8185ae5c66e7da348c92571f0427ae402eb5d645897bc0af1f34f48553ee3eb5\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.user CHANGE `Repl_client_priv` `Repl_client_priv` ENUM('N','Y') NOT NULL DEFAULT 'N' AFTER `Repl_slave_priv`;"] [2024/05/06 16:34:47.590 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=57] [cur_db=] [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 16:34:47.592 +08:00] [WARN] [bootstrap.go:2018] ["enable-batch-dml is now configured by the system variable tidb_enable_batch_dml. One-time importing the value specified in tidb.toml file"] [value=OFF] [2024/05/06 16:34:47.598 +08:00] [WARN] [bootstrap.go:2018] ["mem-quota-query is now configured by the system variable tidb_mem_quota_query. One-time importing the value specified in tidb.toml file"] [value=1073741824] [2024/05/06 16:34:47.604 +08:00] [WARN] [bootstrap.go:2018] ["query-log-max-len is now configured by the system variable tidb_query_log_max_len. One-time importing the value specified in tidb.toml file"] [value=4096] [2024/05/06 16:34:47.612 +08:00] [WARN] [bootstrap.go:2018] ["committer-concurrency is now configured by the system variable tidb_committer_concurrency. One-time importing the value specified in tidb.toml file"] [value=128] [2024/05/06 16:34:47.618 +08:00] [WARN] [bootstrap.go:2018] ["run-auto-analyze is now configured by the system variable tidb_enable_auto_analyze. One-time importing the value specified in tidb.toml file"] [value=ON] [2024/05/06 16:34:47.627 +08:00] [WARN] [bootstrap.go:2018] ["oom-action is now configured by the system variable tidb_mem_oom_action. One-time importing the value specified in tidb.toml file"] [value=cancel] [2024/05/06 16:34:47.639 +08:00] [WARN] [bootstrap.go:2018] ["prepared-plan-cache.enable is now configured by the system variable tidb_enable_prepared_plan_cache. One-time importing the value specified in tidb.toml file"] [value=ON] [2024/05/06 16:34:47.654 +08:00] [WARN] [bootstrap.go:2018] ["prepared-plan-cache.capacity is now configured by the system variable tidb_prepared_plan_cache_size. One-time importing the value specified in tidb.toml file"] [value=100] [2024/05/06 16:34:47.660 +08:00] [WARN] [bootstrap.go:2018] ["prepared-plan-cache.memory-guard-ratio is now configured by the system variable tidb_prepared_plan_cache_memory_guard_ratio. One-time importing the value specified in tidb.toml file"] [value=0.1] [2024/05/06 16:34:47.670 +08:00] [WARN] [bootstrap.go:2018] ["oom-use-tmp-storage is now configured by the system variable tidb_enable_tmp_storage_on_oom. One-time importing the value specified in tidb.toml file"] [value=ON] [2024/05/06 16:34:47.800 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:93, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:3, start time: 2024-05-06 16:34:47.707 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:47.801 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:93, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:3, start time: 2024-05-06 16:34:47.707 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] [2024/05/06 16:34:48.414 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572893597892609\n# Query_time: 0.507128872\n# Parse_time: 0\n# Compile_time: 0.00163536\n# Rewrite_time: 0.003991693\n# Optimize_time: 0.005745925\n# Wait_TS: 0.000066905\n# Prewrite_time: 0.000712909 Commit_time: 0.000867822 Get_commit_ts_time: 0.000020854 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 5442 Prewrite_region: 1\n# Is_internal: true\n# Digest: bb9a0484a27cea37dfc9b79800bc11ddc72f4ac11810a6eb126d600a567ce029\n# Num_cop_tasks: 0\n# Mem_max: 19351\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('ogPwTDAJMjhfMwkwCTAJTi9BCTAJdGltZToxLjIxbXMsIGxvb3BzOjEsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo3MTIuOcK1cywgZ2V0X2NvCSQQczoyMC4JFwk3TDo4NjcuOMK1cywgc2xvd2VzdF9wDUPQX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwNVxxfcHJpbWFyedZEAA1kGG51bToxLCAF0BBfa2V5cxkO8D5ieXRlOjU0NDJ9CTYuOTAgS0IJTi9BCjEJMzZfMQkwCTEJdGFibGU6dGlkYl9kZGxfam9iLCBoYW5kbGU6OTMBICFMCDM1NQ39KU4oMiwgR2V0OntudW0FugwxLCB0Af8AXwUuRDEyNy43wrVzfQlOL0EJTi9BCg==')\n# Plan_digest: 3fea32741ba131a439f08d925bc0d60ce688c732cc613c6d3625da6592028edc\n# Binary_plan: tidb_decode_binary_plan('1AN4Cs8DCghVcGRhdGVfMxKUAQoLUG9pbnRfR2V0XzEpAAUB8HXwPzABOAFAAUoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSCWhhbmRsZTo5M1oWdGltZTozNTUuOMK1cywgbG9vcHM6MmIkR2V0OntudW1fcnBjOjEsIHRvdGFsX3RpbWU6MTI3LjfCtXN9cP///////////wF4CQgI////BXwYUgNOL0FaFAkvGC4yMW1zLCAJW3wxYv4BY29tbWl0X3R4bjoge3ByZXdyaXRlOjcxMi45wgGFDGdldF8RJAxzOjIwDRcJExA6ODY3LgmtHHNsb3dlc3RfEUMYX3JwYzogewWrdDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0b3JlOgkHEDEsIH0sDVccX3ByaW1hcnnWRAANZBhudW06MSwgBdAQX2tleXMZDmRieXRlOjU0NDJ9cJc3eP///////////wEYAQ==')\nupdate mysql.tidb_ddl_job set processing = 1 where job_id = 93;"] [2024/05/06 16:34:48.415 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 48, tp general"] [job="ID:93, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:47.707 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:48.633 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=11.114675ms] [2024/05/06 16:34:48.695 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=2.991231ms] [phyTblIDs="[70,92]"] [actionTypes="[2097152,2097152]"] [2024/05/06 16:34:48.736 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:48.736 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=93] [version=58] [2024/05/06 16:34:48.737 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=58] ["take time"=61.205374ms] [job="ID:93, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:3, start time: 2024-05-06 16:34:47.707 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:49.246 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572893816782848] ["min commit ts"=449572893822025729] [key="dIAA///////7X3KAAAAAAAAAXQ=="] [2024/05/06 16:34:49.246 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572893815996416] [info="{StartTs:449572893815996416 AttemptedCommitTs:449572893816782848 Key:748000fffffffffffb5f72800000000000005d MinCommitTs:449572893822025729}"] [2024/05/06 16:34:49.249 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572893815996416\n# Query_time: 0.50941272\n# Parse_time: 0\n# Compile_time: 0.001296017\n# Rewrite_time: 0\n# Optimize_time: 0\n# Wait_TS: 0.000082836\n# Prewrite_time: 0.000562995 Commit_time: 0.001246996 Get_commit_ts_time: 0.000021422 Slowest_prewrite_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 19 Prewrite_region: 1\n# Is_internal: true\n# Digest: bdab55af0288282745b06ae511bf5258d90e46fca67dd2e2ef0faca225d2d599\n# Num_cop_tasks: 0\n# Mem_max: 8587\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('oQPwTDAJMjlfMgkwCTAJTi9BCTAJdGltZTo5NDIuNcK1cywgbG9vcHM6MSwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjU2M8K1cywgZ2V0X2NvCSIYczoyMS40wgE+CTVEOjEuMjVtcywgc2xvd2VzdF9wDT/QX3JwYzoge3RvdGFsOiAwLjAwMHMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwNVRxfcHJpbWFyedZEAA1kCG51bQHcBcwQX2tleXMZDvBDYnl0ZToxOX0JMzk1IEJ5dGVzCU4vQQoxCTM2XzEJMAkxCXRhYmxlOnRpZGJfbWRsX2luZm8sIGhhbmRsZTo5MwkxCXQhSxQ0NDEuOMIhDSlLKDIsIEdldDp7bnVtBbsMMSwgdCEAAF8leUQxODMuOcK1c30JTi9BCU4vQQo=')\n# Plan_digest: ca2b8c61a8ea82f17bacb18dbe38cd4b008fc18663d28963f5ced78ed80210d7\n# Binary_plan: tidb_decode_binary_plan('0QN4CswDCghEZWxldGVfMhKVAQoLUG9pbnRfR2V0XzEpAAUB8HnwPzABOAFAAUoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUgloYW5kbGU6OTNaFnRpbWU6NDQxLjjCtXMsIGxvb3BzOjJiJEdldDp7bnVtX3JwYzoxLCB0b3RhbF90aW1lOjE4My45wrVzfXD///////////8BeP///wkMBX0QUgNOL0ENXRA5NDIuNR1dcDFi+AFjb21taXRfdHhuOiB7cHJld3JpdGU6NTYzBSgMZ2V0XxEiKHM6MjEuNMK1cywgCRNAOjEuMjVtcywgc2xvd2VzdF8RPwBfAaqQIHt0b3RhbDogMC4wMDBzLCByZWdpb25faWQ6IDIsIHN0b3JlOgkHDDEsIH0RVRxfcHJpbWFyedZEAA1kGG51bToxLCAFzBBfa2V5cxkOXGJ5dGU6MTl9cIsDeP///////////wEYAQ==')\ndelete from mysql.tidb_mdl_info where job_id = 93;"] [2024/05/06 16:34:49.251 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572893822025728\n# Query_time: 0.49294218\n# Parse_time: 0\n# Compile_time: 0.005223928\n# Rewrite_time: 0.000875756\n# Optimize_time: 0.001903032\n# Wait_TS: 0.000085013\n# Cop_time: 0.484893049 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 188\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000011263\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2wP0PgEwCTMxXzcJMAkzMzIzLjMzCWRhdGE6U2VsZWN0aW9uXzYJMQl0aW1lOjQ4NS40bXMsIGxvb3BzOjIsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuNTJtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMW1zLCBycGNfbnVtOiA0ODIsIHJwY190aW1lOiAzMTMuMm1zLCBjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzo0ODEsIHRvdGFsX3RpbWU6ODguNm1zfQkxODggQnl0ZXMJTi9BCjEJMV82CTFfMAkzMzIzLjMzCWxlKG15c3FsLnRpZGJfbWRsX2luZm8udmVyc2lvbiwgNTgpJR4Ia3ZfJQgEe3QhKQgxLjM9KBQwfQlOL0EBBBgKMgk0M181BWJEMTAwMDAJdGFibGU6dGlkYl9tDV18LCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG+ucAA=')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('yQSYCsQECg1UYWJsZVJlYWRlcl83EqACCgtTZWxlY3Rpb25fNhKbAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBxAIjDQDABOAJAAkoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUh5rZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG9qIHRpa3ZfdGFzazp7dGltZToxLjM0bXMsIGxvb3BzOjB9cP///////////wF4CQgM////AQWKLIBPIkEpq6qqqqr2qQ2KEFIjbGUoBYkALjKIADAudmVyc2lvbiwgNTgp4nUAAWwM6nPmQC51ACQBQAFSEGRhdGE6PT0oWhV0aW1lOjQ4NS4dzRgyYsABY29wCe6gIHtudW06IDEsIG1heDogMS41Mm1zLCBwcm9jX2tleXM6IDAsIHRvdF8BEgg6IDEBHQxycGNfBTYMNDgyLAUOBWcQIDMxMy4FPvBxY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6e251bV9ycGM6NDgxLCB0b3RhbF90aW1lOjg4LjZtc31wvAF4////////////ARgB')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 58;"] [2024/05/06 16:34:49.319 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 48, tp general"] [job="ID:93, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:47.707 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:49.432 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=93] [2024/05/06 16:34:49.432 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:49.434 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.752720934\n# Parse_time: 0\n# Compile_time: 0.008477218\n# Rewrite_time: 0.003479651\n# Optimize_time: 0\n# Wait_TS: 0.000086128\n# Is_internal: true\n# Digest: 812c81f344f5d0c8b8aedcb68ff1dca865b59104853273f7e66b8abff5429992\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE OR REPLACE VIEW mysql.tidb_mdl_view as ( select JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID );"] [2024/05/06 16:34:49.438 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=58] [cur_db=] [sql="ALTER TABLE mysql.user ADD COLUMN IF NOT EXISTS `User_attributes` JSON"] [user=] [2024/05/06 16:34:49.447 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=58] [cur_db=] [sql="ALTER TABLE mysql.user ADD COLUMN IF NOT EXISTS `Token_issuer` varchar(255)"] [user=] [2024/05/06 16:34:49.447 +08:00] [INFO] [txn.go:55] ["Try to create a new txn inside a transaction auto commit"] [schemaVersion=58] [txnStartTS=449572894000283649] [txnScope=global] [2024/05/06 16:34:49.448 +08:00] [WARN] [bootstrap.go:2018] ["performance.server-memory-quota is now configured by the system variable tidb_server_memory_limit. One-time importing the value specified in tidb.toml file"] [value=0] [2024/05/06 16:34:49.469 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=58] [cur_db=] [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 16:34:49.476 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=58] [cur_db=] [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 16:34:49.494 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=58] [cur_db=] [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 16:34:49.498 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=58] [cur_db=] [sql="ALTER TABLE mysql.bind_info ADD COLUMN IF NOT EXISTS `sql_digest` varchar(64)"] [user=] [2024/05/06 16:34:49.503 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=58] [cur_db=] [sql="ALTER TABLE mysql.bind_info ADD COLUMN IF NOT EXISTS `plan_digest` varchar(64)"] [user=] [2024/05/06 16:34:49.515 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=58] [cur_db=] [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 16:34:49.515 +08:00] [INFO] [txn.go:55] ["Try to create a new txn inside a transaction auto commit"] [schemaVersion=58] [txnStartTS=449572894017323008] [txnScope=global] [2024/05/06 16:34:49.521 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=58] [cur_db=] [sql="Alter table mysql.user add COLUMN IF NOT EXISTS `Password_reuse_history` smallint unsigned DEFAULT NULL AFTER `Create_Tablespace_Priv` "] [user=] [2024/05/06 16:34:49.526 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=58] [cur_db=] [sql="Alter table mysql.user add COLUMN IF NOT EXISTS `Password_reuse_time` smallint unsigned DEFAULT NULL AFTER `Password_reuse_history`"] [user=] [2024/05/06 16:34:49.557 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=58] [cur_db=] [sql="ALTER TABLE mysql.user ADD COLUMN IF NOT EXISTS `Password_expired` ENUM('N','Y') NOT NULL DEFAULT 'N'"] [user=] [2024/05/06 16:34:49.575 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=58] [cur_db=] [sql="ALTER TABLE mysql.user ADD COLUMN IF NOT EXISTS `Password_last_changed` TIMESTAMP DEFAULT CURRENT_TIMESTAMP()"] [user=] [2024/05/06 16:34:49.579 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=58] [cur_db=] [sql="ALTER TABLE mysql.user ADD COLUMN IF NOT EXISTS `Password_lifetime` SMALLINT UNSIGNED DEFAULT NULL"] [user=] [2024/05/06 16:34:49.604 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=58] [cur_db=] [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 16:34:49.670 +08:00] [INFO] [bootstrap.go:966] ["start migrate DDLs"] [2024/05/06 16:34:49.676 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:34:49.676 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 55, tp add index"] ["take time"=20.497µs] [2024/05/06 16:34:49.676 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 56, tp add index"] ["take time"=18.635µs] [2024/05/06 16:34:49.676 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 57, tp add index"] ["take time"=25.655µs] [2024/05/06 16:34:49.676 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 58, tp add index"] ["take time"=19.856µs] [2024/05/06 16:34:49.676 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 49, tp add index"] ["take time"=18.024µs] [2024/05/06 16:34:49.676 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 50, tp add index"] ["take time"=18.993µs] [2024/05/06 16:34:49.677 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 51, tp add index"] ["take time"=18.473µs] [2024/05/06 16:34:49.677 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 52, tp add index"] ["take time"=23.197µs] [2024/05/06 16:34:49.677 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 53, tp add index"] ["take time"=17.427µs] [2024/05/06 16:34:49.677 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 54, tp add index"] ["take time"=20.958µs] [2024/05/06 16:34:49.677 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:34:49.677 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 48, tp general"] ["take time"=4.573µs] [2024/05/06 16:34:49.677 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 46, tp general"] ["take time"=1.761µs] [2024/05/06 16:34:49.677 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 47, tp add index"] ["take time"=1.647µs] [2024/05/06 16:34:49.677 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:34:49.677 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:34:49.685 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=6247c534-313f-48fe-8f5e-140e7a22e3b7] ["take time"=9.5693ms] [2024/05/06 16:34:49.692 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=6247c534-313f-48fe-8f5e-140e7a22e3b7] [2024/05/06 16:34:49.692 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:34:49.692 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:34:49.692 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:34:49.693 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:34:49.693 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:34:49.750 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=74.302506ms] [2024/05/06 16:34:49.750 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=17d7b5d6-a2c3-424c-a3e6-5cb4f56fda35] ["ddl lease"=20ms] ["stats lease"=3s] ["index usage sync lease"=0s] [2024/05/06 16:34:49.750 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:34:49.991 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=58] ["start time"=239.498519ms] [2024/05/06 16:34:49.998 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:34:49.998 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=247.374173ms] [2024/05/06 16:34:49.999 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=3067c86e-91d3-4be9-8b51-901ea71ea33b] [runWorker=true] [2024/05/06 16:34:50.000 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:34:50.000 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:34:50.001 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 59, tp general"] [2024/05/06 16:34:50.002 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 60, tp add index"] [2024/05/06 16:34:50.007 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:34:50.008 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:34:50.008 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:34:50.009 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:34:50.052 +08:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 16:34:50.628 +08:00] [INFO] [domain.go:1944] ["init stats info time"] ["take time"=136.373148ms] [2024/05/06 16:34:51.001 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:34:51.002 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:34:51.002 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 59, tp general"] ["take time"=7.047µs] [2024/05/06 16:34:51.009 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 60, tp add index"] ["take time"=5.918µs] [2024/05/06 16:34:51.009 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:34:51.010 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:34:51.010 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=3067c86e-91d3-4be9-8b51-901ea71ea33b] ["take time"=476.543623ms] [2024/05/06 16:34:51.010 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=3067c86e-91d3-4be9-8b51-901ea71ea33b] [2024/05/06 16:34:51.010 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:34:51.010 +08:00] [INFO] [domain.go:2038] ["updateStatsWorker exited."] [2024/05/06 16:34:51.010 +08:00] [INFO] [domain.go:1959] ["loadStatsWorker exited."] [2024/05/06 16:34:51.011 +08:00] [INFO] [domain.go:2124] ["gcAnalyzeHistory exited."] [2024/05/06 16:34:51.011 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:34:51.011 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:34:51.012 +08:00] [INFO] [domain.go:1721] ["PlanReplayerTaskDumpHandle exited."] [2024/05/06 16:34:51.012 +08:00] [INFO] [domain.go:1748] ["dumpFileGcChecker exited."] [2024/05/06 16:34:51.012 +08:00] [INFO] [domain.go:1779] ["HistoricalStatsWorker exited."] [2024/05/06 16:34:51.012 +08:00] [INFO] [domain.go:2103] ["autoAnalyzeWorker exited."] [2024/05/06 16:34:51.012 +08:00] [INFO] [domain.go:1703] ["PlanReplayerTaskCollectHandle exited."] [2024/05/06 16:34:51.012 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:34:51.012 +08:00] [INFO] [domain.go:1444] ["LoadSysVarCacheLoop exited."] [2024/05/06 16:34:51.013 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:34:51.013 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:34:51.013 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:34:51.013 +08:00] [INFO] [domain.go:1394] ["loadPrivilegeInLoop exited."] [2024/05/06 16:34:51.013 +08:00] [INFO] [domain.go:1525] ["globalBindHandleWorkerLoop exited."] [2024/05/06 16:34:51.013 +08:00] [INFO] [domain.go:1569] ["handleEvolvePlanTasksLoop exited."] [2024/05/06 16:34:51.013 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:34:51.013 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:34:51.013 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:34:51.024 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:34:51.025 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=491.401166ms] [2024/05/06 16:34:51.027 +08:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 16:34:51.027 +08:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 16:34:51.027 +08:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 16:34:51.027 +08:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 16:34:51.028 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 16:34:51.028 +08:00] [INFO] [db.go:625] ["Waiting for closer"] [2024/05/06 16:34:51.117 +08:00] [INFO] [region_cache.go:2484] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 16:34:51.123 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:34:51.123 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:34:51.183 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:34:51.184 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:34:51.190 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:34:51.195 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=b0c76709-8f87-49a5-9702-095b6d6e789a] ["ddl lease"=20ms] ["stats lease"=3s] ["index usage sync lease"=0s] [2024/05/06 16:34:51.197 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).Init\n\tdomain/domain.go:1074\ngithub.com/pingcap/tidb/session.(*domainMap).Get.func1\n\tsession/tidb.go:90\ngithub.com/pingcap/tidb/util.RunWithRetry\n\tutil/misc.go:69\ngithub.com/pingcap/tidb/session.(*domainMap).Get\n\tsession/tidb.go:76\ngithub.com/pingcap/tidb/session.createSessionWithOpt\n\tsession/session.go:3520\ngithub.com/pingcap/tidb/session.createSession\n\tsession/session.go:3516\ngithub.com/pingcap/tidb/session.runInBootstrapSession\n\tsession/session.go:3480\ngithub.com/pingcap/tidb/session.BootstrapSession\n\tsession/session.go:3309\ngithub.com/pingcap/tidb/session.createStoreAndBootstrap\n\tsession/main_test.go:88\ngithub.com/pingcap/tidb/session.TestUpgradeVersion74.func1\n\tsession/bootstrap_test.go:702\ngithub.com/pingcap/tidb/session.TestUpgradeVersion74\n\tsession/bootstrap_test.go:734\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1446\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.234 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=35.862799ms] [2024/05/06 16:34:51.259 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:34:51.259 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=62.47254ms] [2024/05/06 16:34:51.259 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=5e2d78fd-83db-4236-bd9f-125c04ff4df5] [runWorker=true] [2024/05/06 16:34:51.260 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:34:51.260 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:34:51.260 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 61, tp general"] [2024/05/06 16:34:51.261 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:34:51.261 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 62, tp add index"] [2024/05/06 16:34:51.261 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:34:51.261 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:34:51.261 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:34:51.270 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 16:34:51.273 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.302 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.317 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.332 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.364 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.377 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.397 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.411 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.436 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.450 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.464 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.481 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.499 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.512 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.527 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.553 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.566 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.579 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.634 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.634 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=22.435601ms] [2024/05/06 16:34:51.649 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.667 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.703 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.721 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.735 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.752 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.769 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.783 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.797 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.803 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572894486560768\n# Query_time: 0.512024068\n# Parse_time: 0\n# Compile_time: 0.006974939\n# Rewrite_time: 0.00032824\n# Optimize_time: 0.00232748\n# Wait_TS: 0.000107146\n# Prewrite_time: 0.000759871 Commit_time: 0.000644158 Get_commit_ts_time: 0.000022871 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 676 Prewrite_region: 1\n# Is_internal: true\n# Digest: 1b73a00c73a03d7dc9dd08a1ea99474b2523e5f72366f740be5156fa244256c4\n# Num_cop_tasks: 0\n# Mem_max: 9328\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('1QLwZTAJMjdfMQkwCTAJTi9BCTAJdGltZToxLjE1bXMsIGxvb3BzOjEsIHByZXBhcmU6IDU0NC4zwrVzLCBpbnNlcnQ6NjEwLjTCtXMsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo3NTkuOQUxFGdldF9jbwkkFHM6MjIuOQUXCRMUOjY0NC4yBREgc2xvd2VzdF9wDUPQX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwNVxxfcHJpbWFyedZEAA1kCG51bSEEAHcB0BBfa2V5cxkOVGJ5dGU6Njc2fQkxLjExIEtCCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('4ALweQrbAgoISW5zZXJ0XzE4AUABUgNOL0FaFHRpbWU6MS4xNW1zLCBsb29wczoxYiJwcmVwYXJlOiA1NDQuM8K1cywgaW5zZXJ0OjYxMC40wrVzYv0BY29tbWl0X3R4bjoge3ByZXdyaXRlOjc1OS45wrVzLCBnZXRfY29tBSQUczoyMi45BRcJNxQ6NjQ0LjIFESRzbG93ZXN0X3ByCUOYX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvAZ8AcwEHEDEsIH0sDVccX3ByaW1hcnnWRAANZEBudW06MSwgd3JpdGVfa2V5cxkOYGJ5dGU6Njc2fXDwCHj///////////8BGAE=')\ninsert into mysql.tidb_ddl_job(job_id, reorg, schema_ids, table_ids, job_meta, type, processing) values(3, false, \"2\", \"0\", 0x7b226964223a332c2274797065223a312c22736368656d615f6964223a322c227461626c655f6964223a302c22736368656d615f6e616d65223a2274657374222c227461626c655f6e616d65223a22222c227374617465223a382c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b7b226964223a322c2264625f6e616d65223a7b224f223a2274657374222c224c223a2274657374227d2c2263686172736574223a22757466386d6234222c22636f6c6c617465223a22757466386d62345f62696e222c227374617465223a302c22706f6c6963795f7265665f696e666f223a6e756c6c7d5d2c22736368656d615f7374617465223a302c22736e617073686f745f766572223a302c227265616c5f73746172745f7473223a302c2273746172745f7473223a3434393537323839343438333135323839362c22646570656e64656e63795f6964223a302c227175657279223a22435245415445204441544142415345204946204e4f54204558495354532074657374222c2262696e6c6f67223a7b22536368656d6156657273696f6e223a302c224442496e666f223a6e756c6c2c225461626c65496e666f223a6e756c6c2c2246696e69736865645453223a302c224d756c7469706c655461626c65496e666f73223a6e756c6c7d2c2276657273696f6e223a312c2272656f72675f6d657461223a6e756c6c2c226d756c74695f736368656d615f696e666f223a6e756c6c2c227072696f72697479223a302c227365715f6e756d223a302c2263686172736574223a22222c22636f6c6c617465223a22227d, 1, false);"] [2024/05/06 16:34:51.804 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:51.284 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:51.804 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:34:51.284 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 16:34:51.815 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.831 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.844 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.858 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.873 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.887 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.912 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.928 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.943 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.958 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.982 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:51.996 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:52.012 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:52.025 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:52.046 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:52.059 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=14.26148ms] [2024/05/06 16:34:52.104 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:52.161 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:52.178 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:52.193 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:52.209 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:52.224 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:52.242 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:52.257 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:52.273 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:52.288 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:52.321 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:52.334 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:52.341 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:51.284 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:52.367 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:52.426 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=36.495656ms] [2024/05/06 16:34:52.432 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:34:52.433 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=44.105265ms] [2024/05/06 16:34:52.465 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:52.465 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=3] [version=1] [2024/05/06 16:34:52.466 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=90.165218ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:34:51.284 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:52.517 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:51.284 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:52.550 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=3] [2024/05/06 16:34:52.551 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:52.553 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.2833218180000001\n# Parse_time: 0\n# Compile_time: 0.000876336\n# Rewrite_time: 0.000017125\n# Optimize_time: 0\n# Wait_TS: 0.000082788\n# DB: mysql\n# Is_internal: true\n# Digest: 0a22979ad136f741465cf206b13e5717b9758dda34f7cae5a7a925f91711d6a0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse mysql;\nCREATE DATABASE IF NOT EXISTS test;"] [2024/05/06 16:34:52.556 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 16:34:52.652 +08:00] [INFO] [session.go:3817] ["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 16:34:53.123 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:52.677 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:53.124 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:52.677 +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 16:34:53.241 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:52.677 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:53.270 +08:00] [INFO] [info.go:1114] [SetTiFlashGroupConfig] [2024/05/06 16:34:53.911 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572894996168704\n# Query_time: 0.32272606\n# Parse_time: 0\n# Compile_time: 0.319946884\n# Rewrite_time: 0.000213105\n# Optimize_time: 0\n# Wait_TS: 0.000092078\n# Is_internal: true\n# Digest: 97fee0577cfae72ca71097e77c429509f8ce51c8c933f491cff959296248fc4a\n# Num_cop_tasks: 0\n# Mem_max: 127895\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: true\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('ngHwVTAJMjhfMwkwCTAJTi9BCTAJdGltZToybXMsIGxvb3BzOjEJMjQuOSBLQglOL0EKMQkzNl8xCTAJMQl0YWJsZTp0aWRiX2RkbF9qb2IsIGhhbmRsZTo1AR8BSBg1MDguNMK1FU1gMiwgR2V0OntudW1fcnBjOjEsIHRvdGFsXwUuRDE3Mi40wrVzfQlOL0EJTi9BCg==')\n# Plan_digest: 3fea32741ba131a439f08d925bc0d60ce688c732cc613c6d3625da6592028edc\n# Binary_plan: tidb_decode_binary_plan('0AF4CssBCghVcGRhdGVfMxKTAQoLUG9pbnRfR2V0XzEpAAUB8G3wPzABOAFAAUoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSCGhhbmRsZTo1WhZ0aW1lOjUwOC40wrVzLCBsb29wczoyYiRHZXQ6e251bV9ycGM6MSwgdG90YWxfdGltZToxNzIuNMK1c31w/////wUEBAF4BQcBAQV7GFIDTi9BWhEFXQQybRVYRDFwl8cBeP///////////wEYAQ==')\nupdate mysql.tidb_ddl_job set job_meta = 0x7b226964223a352c2274797065223a332c22736368656d615f6964223a312c227461626c655f6964223a342c22736368656d615f6e616d65223a226d7973716c222c227461626c655f6e616d65223a2275736572222c227374617465223a342c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b7b226964223a342c226e616d65223a7b224f223a2275736572222c224c223a2275736572227d2c2263686172736574223a22757466386d6234222c22636f6c6c617465223a22757466386d62345f62696e222c22636f6c73223a5b7b226964223a312c226e616d65223a7b224f223a22486f7374222c224c223a22686f7374227d2c226f6666736574223a302c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235342c22466c6167223a343039392c22466c656e223a3235352c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a322c226e616d65223a7b224f223a2255736572222c224c223a2275736572227d2c226f6666736574223a312c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235342c22466c6167223a343039392c22466c656e223a33322c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a332c226e616d65223a7b224f223a2261757468656e7469636174696f6e5f737472696e67222c224c223a2261757468656e7469636174696f6e5f737472696e67227d2c226f6666736574223a322c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235322c22466c6167223a302c22466c656e223a36353533352c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a342c226e616d65223a7b224f223a22706c7567696e222c224c223a22706c7567696e227d2c226f6666736574223a332c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235342c22466c6167223a302c22466c656e223a36342c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696(len:90840);"] [2024/05/06 16:34:53.959 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=11.146192ms] [phyTblIDs="[4]"] [actionTypes="[8]"] [2024/05/06 16:34:53.960 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=12.428277ms] [2024/05/06 16:34:54.012 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:54.012 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=5] [version=2] [2024/05/06 16:34:54.014 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=77.053408ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:52.677 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:54.104 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:52.677 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:55.037 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572895335907328] ["min commit ts"=449572895437619202] [key=bURETEpvYkhp/3N0b3J5AAAA/AAAAAAAAABoAAAAAAAAAAX/AAAAAAAAAAD3] [2024/05/06 16:34:55.037 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572895221088256] [info="{StartTs:449572895221088256 AttemptedCommitTs:449572895335907328 Key:6d44444c4a6f624869ff73746f7279000000fc00000000000000680000000000000005ff0000000000000000f7 MinCommitTs:449572895437619202}"] [2024/05/06 16:34:55.108 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=5] [2024/05/06 16:34:55.109 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:55.111 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 2.475677121\n# Parse_time: 0\n# Compile_time: 0.01714374\n# Rewrite_time: 0.000017292\n# Optimize_time: 0\n# Wait_TS: 0.000070636\n# DB: mysql\n# Is_internal: true\n# Digest: 14c6b489558060bdbede877927034270db5af07c6621aa28f87eeaec8727e925\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.user ( Host CHAR(255), User CHAR(32), authentication_string TEXT, plugin CHAR(64), Select_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Insert_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Update_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Delete_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Process_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Grant_priv ENUM('N','Y') NOT NULL DEFAULT 'N', References_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_db_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Super_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Index_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_user_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Event_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_slave_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_client_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Trigger_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Account_locked ENUM('N','Y') NOT NULL DEFAULT 'N', Shutdown_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Reload_priv ENUM('N','Y') NOT NULL DEFAULT 'N', FILE_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Config_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N', Password_reuse_history smallint unsigned DEFAULT NULL, Password_reuse_time smallint unsigned DEFAULT NULL, User_attributes json, Token_issuer VARCHAR(255), Password_expired ENUM('N','Y') NOT NULL DEFAULT 'N', Password_last_changed TIMESTAMP DEFAULT CURRENT_TIMESTAMP(), Password_lifetime SMALLINT UNSIGNED DEFAULT NULL, PRIMARY KEY (Host, User));"] [2024/05/06 16:34:55.120 +08:00] [INFO] [session.go:3817] ["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 16:34:55.336 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=18.168496ms] [2024/05/06 16:34:55.699 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572895509184512] ["min commit ts"=449572895531728896] [key="dIAA///////+X3KAAAAAAAAABw=="] [2024/05/06 16:34:55.699 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572895508135936] [info="{StartTs:449572895508135936 AttemptedCommitTs:449572895509184512 Key:748000fffffffffffe5f728000000000000007 MinCommitTs:449572895531728896}"] [2024/05/06 16:34:55.704 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572895508135936\n# Query_time: 0.538372252\n# Parse_time: 0\n# Compile_time: 0.028900852\n# Rewrite_time: 0.00033245\n# Optimize_time: 0.005394841\n# Wait_TS: 0.000093013\n# Prewrite_time: 0.00217154 Commit_time: 0.004799432 Get_commit_ts_time: 0.000021678 Slowest_prewrite_rpc_detail: {total:0.002s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.002s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 3909 Prewrite_region: 1\n# Is_internal: true\n# Digest: 1b73a00c73a03d7dc9dd08a1ea99474b2523e5f72366f740be5156fa244256c4\n# Num_cop_tasks: 0\n# Mem_max: 12561\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('0wLYMAkyN18xCTAJMAlOL0EJMAl0aW1lOjkzOS44wrVzLCBsb29wczoxLCBwcmVwYXJlOiA0ODAuNgUcLGluc2VydDo0NTkuMwURiGNvbW1pdF90eG46IHtwcmV3cml0ZToyLjE3bXMsIGdldF9jDSIkczoyMS43wrVzLA01DDo0LjgBJRxzbG93ZXN0XxE+0F9ycGM6IHt0b3RhbDogMC4wMDJzLCByZWdpb25faWQ6IDIsIHN0b3JlOiBzdG9yZTEsIH0sDVQcX3ByaW1hcnlGRAAANIpEAA1kCG51bQH/BcsQX2tleXMZDlhieXRlOjM5MDl9CTQuMjcgS0IJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('3gLwPgrZAgoISW5zZXJ0XzE4AUABUgNOL0FaFnRpbWU6OTM5LjjCtXMsIGxvb3BzOjFiInByZXBhcmU6IDQ4MC42wgEc0Gluc2VydDo0NTkuM8K1c2L5AWNvbW1pdF90eG46IHtwcmV3cml0ZToyLjE3bXMsIGdldF9jDSIoczoyMS43wrVzLCAJNTw6NC44bXMsIHNsb3dlc3RfET6YX3JwYzoge3RvdGFsOiAwLjAwMnMsIHJlZ2lvbl9pZDogMiwgc3RvAZoAcwEHDDEsIH0RVBxfcHJpbWFyeUZEAAA0ikQADWQcbnVtOjEsIHcByxBfa2V5cxkOZGJ5dGU6MzkwOX1wkSJ4////////////ARgB')\ninsert into mysql.tidb_ddl_job(job_id, reorg, schema_ids, table_ids, job_meta, type, processing) values(7, false, \"1\", \"6\", 0x7b226964223a372c2274797065223a332c22736368656d615f6964223a312c227461626c655f6964223a362c22736368656d615f6e616d65223a226d7973716c222c227461626c655f6e616d65223a2270617373776f72645f686973746f7279222c227374617465223a382c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b7b226964223a362c226e616d65223a7b224f223a2270617373776f72645f686973746f7279222c224c223a2270617373776f72645f686973746f7279227d2c2263686172736574223a22757466386d6234222c22636f6c6c617465223a22757466386d62345f62696e222c22636f6c73223a5b7b226964223a312c226e616d65223a7b224f223a22486f7374222c224c223a22686f7374227d2c226f6666736574223a302c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a22222c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235342c22466c6167223a332c22466c656e223a3235352c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a322c226e616d65223a7b224f223a2255736572222c224c223a2275736572227d2c226f6666736574223a312c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a22222c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235342c22466c6167223a332c22466c656e223a33322c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a332c226e616d65223a7b224f223a2250617373776f72645f74696d657374616d70222c224c223a2270617373776f72645f74696d657374616d70227d2c226f6666736574223a322c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a2243555252454e545f54494d455354414d50222c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a372c22466c6167223a3133312c22466c656e223a32362c22446563696d616c223a362c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a342c226e616d65223a7b224f223a2250617373776f7264222c224c223a2270617373776f7264227d2c226f6666736574223a332c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235322c22466c6167223a302c22466c656e223a36353533352c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e(len:7863);"] [2024/05/06 16:34:55.706 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:55.143 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:55.706 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:55.143 +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 16:34:55.718 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572895531204608\n# Query_time: 0.447693922\n# Parse_time: 0\n# Compile_time: 0.01592683\n# Rewrite_time: 0.002958101\n# Optimize_time: 0.010054324\n# Wait_TS: 0.000095595\n# Cop_time: 0.834405509 Process_time: 0.001 Request_count: 2\n# Is_internal: true\n# Digest: 1a96197a635ab3d1c0fc027ce178d8aa751e4bd033c39db6163d3ba75b49fe3f\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0005 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 1969\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('tROgMAkzXzEzCTAJMTAJbXlzcWwudGlkYl9kZGxfam9iLmpvYl9tZXRhLCBKHQDwRnByb2Nlc3NpbmcJMAl0aW1lOjQyNS4zbXMsIGxvb3BzOjEsIENvbmN1cnJlbmN5Ok9GRgkxLjM2IEtCCU4vQQoxCTE0XzE0Yn0AGWAYOmRlc2MsIEqEAAGhBGlkLoAAADIdgBwJMCBCeXRlcxEIHAoyCTE3XzI4CXNUaW5uZXIgam9pbiwgZXF1YWw6W2VxKGJlADAsIENvbHVtbiMxNSldHXIdcHgsIGJ1aWxkX2hhc2hfdGFibGU6e3RvdGFsOjQxOC43ASoQZmV0Y2gZDwUwDDowc30RoxEIJAozCTMxXzQxKEIBUgApCbJAZGF0YTpTZWxlY3Rpb25fNDAVhwQxODL5AHAsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDIuMAWIIV00X2tleXM6IDAsIHRvdF8BEgg6IDEBpQxycGNfCTYIMzEsBQ4l3xAgMjI3LgXwmGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbjX7RCAxNX0sIFJlc29sdmVMb2NrOgGWGF9ycGM6MTMJgARhbAllIDg2bXN9CTE3NS27GE4vQQo0CTEB7QQxX0WoUG5vdChpc3RydWVfd2l0aF9udWxsKEq3ARRyZW9yZykhOwx0aWt2KQ4AewXJCDEuOF2nBDB9AWUBBBwKNQk0M18zOQ1qDDAwMAkpxi4VA3wsIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkbyWUmnAALDMJNl8yOShQcm9iZQGpNDY0MDAJZ3JvdXAgYnk6VXBALCBmdW5jczpmaXJzdHJvdygVGggpLT4VDAV5ZYYIMy45Icd1hkhwYXJ0aWFsX3dvcmtlcjp7d2FsLW4gNDIzLjU5NjEyRRUAYz2zCDUsIEFAAF9BCCmiRF93YWl0OjIuMDg4NzQ3Mjk4c0k5FGV4ZWM6MA0NJWAkMi4wOTI5NDA3MAEkQXgUNDIxLjgxJXUIcDk1GQ8UfSwgZmluYpsAEDczNTU1BTaWmwAgMTEwOTg2MzM2DY4FmxwxNTUuMDfCtQ0UDaIcMTExMjA2MjcZohgzLjY3NjE5ZQIJpRkSWSMQNAkxXzNheSWsSYxFgjWITXMhigwxNy44PYoICTM4kZJB1xA1CTZfMyG3ADhBajX3SssCYZwAZaVrACxOBgUkc2NoZW1hX2lkc1IfAEXECR5JSAhtaW4VrwA4UkMCBDE3ia+OQwIcMTcuNDk4NTNFdJaoASAwODU5NDQ5MTEtlCWoPkMCHDg2MDQ2MDE0AdUIYXg6AWgQMzI4NTWFgiWhBDE3FRJuSQIBzQwzMzEyqkkCIDA4NjY4NTE1Ny6hABQ2Ni40NzM+SQIgMDg2NzgyNzkzLqgAEDk0MjI0IfoVqA0SWUkANqHhDDM2CTAp/wBkodwkSGFzaEFnZ18zMXXNCDE3LkWSNYpe2gUQODM3LjQFnUEuudy5zQQ4NjLNBQA1LRD+ywW5ywA4gTXB8GllBDc0qcsAMb3LADdB9AAxpWH+9gLO9gJKXAMWQwh9Bg4fCD4yBhA2MDQuMiVdKYjdNAQ4CcE0ADQF0wAx/jQG2TRqcgA=')\n# Plan_digest: 03fa0f18132c15290435ccd6930c03fe7257c7017164897b1e5acdd3c92e1828\n# Binary_plan: tidb_decode_binary_plan('nBbwSQqXFgoNUHJvamVjdGlvbl8xMxL9FAoHU29ydF8xNBKFFAoLSGFzaEpvaW5fMjgSzgQKDlRhYmxlUmVhZGVyXzQxEqkCCgxTZWxlCUAYNDASmQEKEAUkUEZ1bGxTY2FuXzM5IQAAAADw7zBBKQEJ8HEAiMNAOAJAAkoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSHmtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkb2ogdGlrdl90YXNrOnt0aW1lOjEuODNtcywgbG9vcHM6MH1w////////////AXj///8JDAABBYcIIGUxDYcEACQFh1hSL25vdChpc3RydWVfd2l0aF9udWxsKAWYAC4ulwAcLnJlb3JnKSnefwA0GgEBIVVVVVWVj/JAKQAFATQkQDgBQAFSEWRhdGE6Uz1HNFoVdGltZTo0MTguMm1zEdkYMWK+AWNvcAn6SCB7bnVtOiAxLCBtYXg6IDIuMDcBKkRwcm9jX2tleXM6IDAsIHRvdF8BEgg6IDEBHQxycGNfCTYIMzEsBQ4FZxQgMjI3LjUBIfBMY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6e251bV9ycGM6MTMJgARhbAllHDg2bXN9cK8BPZEQEoAOCgpBYSBBZ2dfMjkSqwouTQIQMzASxwkZIBAzNRKiBTaAAhAzNhKRAx0iCDESm0Z+AgA0Jff+fgJdfgQidDp+Ahw2MDQuMsK1czGnADBugAIAKFWABEC/SYAslAFncm91cCBieTptYQ0ALjJ1AiG+HGVzc2luZywgSh8AJHNjaGVtYV9pZHNSHwAQdGFibGUJHiRmdW5jczptaW4oSkcARGpvYl9pZCktPkNvbHVtbiMxOOrnABje3d3dHT73TeUB50HlBA9kQeUISGFzJe4EMzFV4wQ3LkWcIGxvb3BzOjFir2LjAhA4MzcuNCVoIRVZ5VnWBDg2MtYCADWFFf7UAi7UAgQ4NWVUUdQENzRB1ACrLtQCBf4IrWz4Ov4AAIT+5QG+5QE1yT3VADU9dIUtMXRQyQJwYXJ0aWFsX3dvcmtlcjp7d2FsbbgkNDE3LjQ5ODUzOYkhAG51/SEMCGFza4VSADAlGERfd2FpdDoyLjA4NTk0NDkxMXMJFxRleGVjOjANDYVzASQYNjA0NjAxNEG6BGF4BWgQMzI4NTWFiQhwOTUyEgAUfSwgZmluYqEAEDczMzEyLe6WoQAYNjY4NTE1Nw2UBaEUNjYuNDczRWGhOBmoFDc4Mjc5My6oABA5NDIyNCEQFagNEl77A2EUCK1I/k0WBAC5qfkAFsl7xXExsQg1KSk9pwA4AWUtpwhw/AK9PSQaAQIhRERERCRjPlYABDhnkVAVVAAsbf8cZmlyc3Ryb3cdbnn0VR8IMjMuJe0NeARiw24fAhwyMy41OTYxMkVRAGOafgEYODc0NzI5OC5+AT4fAhg5Mjk0MDcwASRFHxAyMS44MSXjJXQRD24ZAhgyMy43MzU1kQeOGQIgMTEwOTg2MzM2LpsAFDE1NS4wNz4ZAhwxMTEyMDYyNxmiGDMuNjc2MTmFzwmlGRJeGQIYFK5H4Qx7CCqUCGgBQAFSPGlubmVyIGpvaW4sIGVxdWFsOltlcShiugUELCA16wwpXVoTRbsENDJlSjHFLDlidWlsZF9oYXNoX8UXGDp7dG90YWwSZQglvRBmZXRjaBkPBTAsOjBzfSGdqwU5Kn4IOqQAAD1KjgChmcmuFDpkZXNjLE6zBslsUeQEMjUy4ggFbADqQmwAThoHAUgQbWV0YSxOZQAZiR1pRT4xEAgPQ29ZEUhPRkZw9Ap4////////////ARgB')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and not reorg order by processing desc, job_id;"] [2024/05/06 16:34:55.855 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:55.143 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:55.984 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=2.333845ms] [phyTblIDs="[6]"] [actionTypes="[8]"] [2024/05/06 16:34:56.012 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:56.012 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=7] [version=3] [2024/05/06 16:34:56.013 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=34.296226ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:55.143 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:56.083 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:55.143 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:56.656 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572895759794176] ["min commit ts"=449572895852331009] [key=bURETEpvYkhp/3N0b3J5AAAA/AAAAAAAAABoAAAAAAAAAAf/AAAAAAAAAAD3] [2024/05/06 16:34:56.657 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572895739871232] [info="{StartTs:449572895739871232 AttemptedCommitTs:449572895759794176 Key:6d44444c4a6f624869ff73746f7279000000fc00000000000000680000000000000007ff0000000000000000f7 MinCommitTs:449572895852331009}"] [2024/05/06 16:34:56.692 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572895761104896\n# Query_time: 0.585409225\n# Parse_time: 0\n# Compile_time: 0.057206625\n# Rewrite_time: 0.008458577\n# Optimize_time: 0.03985941\n# Wait_TS: 0.00008932\n# Cop_time: 0.49340225 Process_time: 0.019 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0095 Cop_proc_p90: 0.018 Cop_proc_max: 0.018 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12631\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('0xO4MAkzXzEzCTAJMjIyMy41NQlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwRnByb2Nlc3NpbmcJMAl0aW1lOjUwNS44bXMsIGxvb3BzOjEsIENvbmN1cnJlbmN5OjUJMTEuOCBLQglOL0EKMQkxNF8xNAkwboAAGWMUOmRlc2MsTocAFGpvYl9pZBmDCDMuMh2DHAkwIEJ5dGVzEQgcCjIJMTdfMjgd+FRpbm5lciBqb2luLCBlcXVhbDpbZXEoWg4BOGlkLCBDb2x1bW4jMTUpXRl3CDIuOR13mCwgYnVpbGRfaGFzaF90YWJsZTp7dG90YWw6OTY3wrVzLCBmZXRjaBUOBS4MOjBzfRGoEQgkCjMJMzFfNDEoQgFQACkdt0BkYXRhOlNlbGVjdGlvbl80MBGMEDY5MC4yBWQ1h2xjb3BfdGFzazoge251bTogMSwgbWF4OiAxLjgzAbYhaDRfa2V5czogMCwgdG90XwESCDogMQEdDHJwY18RNgEMJesMIDEuNwU7mGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvblUGHCAxNX0JMTc1LZcYTi9BCjQJMQG/BDFfcowCDHJlb3JJagRrdgnNAHsFigwxLjU1AacJ7QQwfQFTAQQcCjUJNDRfMzkFWBw2NjY2LjY3CSmLLuQC6CwgcmFuZ2U6Wy1pbmYsNyksICg3LCtpbmZdLCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG8JQfaajAAsMwk2XzI5KFByb2JlIcU0NjQwMAlncm91cCBieTpVUUAsIGZ1bmNzOmZpcnN0cm93KBUaCCktPhUMMekMNTAxLiWECftYMSwgcGFydGlhbF93b3JrZXI6e3dhbGwpsAEsFDE2MjQ4NiEsAGM9kQg1LCBBGyXjLf08d2FpdDoyLjQ4MTA3NDQ1c0kTFGV4ZWM6MA0NJXsFIxg1MDM0NzlzSVIkNDk2LjM2ODU4NAFnCHA5NTISABR9LCBmaW5ioAAQMjQ3NDJFc5qgABw5MTU5MTIwMw2UBaEcMTI1LjM3NMJhZEHJEakcOTE3NjQ1MzcNqSUQDDQyNzUVqS4SAFlFQZwAM2FbJbIUbm90KGVxOZYYLCA3KSksIAEXFGlzbnVsbBkbACkh5wV9DDQ5NS4uHAQICTM4kZVB/hA1CTZfMyHUCDgwMF0USoAEYZQAZaVxACxOCQUgc2NoZW1hX2lkAeNGrwVF+wkeSWUIbWluFa8AODJgAgAxGbklH0lgADJuYAIB5RAwODQwMQUxXsABADFJSlFgHDcyMzI2Nzk2LsABHDMwNS4zMTfCPsABCDcyN0FYADEB3ShheDo0OTQuNzQxMaXsSWgVEWpnAgGnEDgxNDQ1JZGepwAQNDM0NTJBOkFRRWYUMjIyLjY4SqYAEDQ1OTk1MqYAEDk3MjY1ZXYRpxESWWYANqHlDDM2CTBJBaXbJEhhc2hBZ2dfMzE5kCVdNY5i1gUEOS5lRkEwUtYF5aShy6XXDDQwNiwFDkWuECAyNzcupVHO2gU0LCBSZXNvbHZlTG9jazrBbRhfcnBjOjQwgWbhAAllCDExNAFkEH0JMTkx3QkAN2ELADGlsf4NA84NA0o1AxZdCH0dADgljTr2BQA4LvYI3YIUOAk0M18zgUMMMAkxMGHfZYU6gAZ6ZgZhjZpwAA==')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('qBbwSQqjFgoNUHJvamVjdGlvbl8xMxKLFQoHU29ydF8xNBKTFAoLSGFzaEpvaW5fMjgSpAQKDlRhYmxlUmVhZGVyXzQxEq0CCgxTZWxlCUAYNDAStAEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjhyAT3wWDpbLWluZiw3KSwgKDcsK2luZl0sIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkb2ogdGlrdl90YXNrOnt0aW1lOjEuNTVtcywgbG9vcHM6MH1w////CQMEAXgJCAz///8BBaEsgDEnQSlOFkbcGF+hBaEEUhgFnQQudB2cFC5yZW9yZ95oACwaAQEhapQbMrtY60AZaygBQAFSEWRhdGE6Uz1LCFoWdAHBGDY5MC4ywrUVwxgxYo8BY29wCeSgIHtudW06IDEsIG1heDogMS44M21zLCBwcm9jX2tleXM6IDAsIHRvdF8BEgg6IDEBHQxycGNfETYBDAVmDCAxLjcFO9hjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9cK8BPUwQErgOCgpBNyBBZ2dfMjkS3QouIwIQMzAS4gkZIBAzNRK1BTZWAhAzNhKRAx0iFDESmwEKEEVUDEZ1bGxJUwA0JbIU8O8wQSkAAQEQiMNAMAF2VQIAHsI7Agg4LjghMYo7AggoZTENiQRAvw2JPFKUAWdyb3VwIGJ5Om15c3E6RwIhkRxlc3NpbmcsIEofACRzY2hlbWFfaWRzUh8AEHRhYmxlCR4kZnVuY3M6bWluKEpHAERqb2JfaWQpLT5Db2x1bW4jMThKugKW5wAc3t3d3R0+90ApcAnnQbkED2RBuQhIYXMl8AwzMVoTRVEINDk0OTwIMmLCZrQCBDkuRZchEVK0AiWEQalFtQw0MDYsBQ4FZhQgMjc3LjUBac64AjQsIFJlc29sdmVMb2NrOmFLHF9ycGM6NDA1ZTUEYWwJZQgxMTQBZAx9cL8BXeclEQytbPhAPhEBAIT++AG++AE13D3oCDVaFSUhDDQ5NS4yiQFQzwJwYXJ0aWFsX3dvcmtlcjp7d2FsDekBLRAwODQwMQUyAGN95iERCGFzayWDADElHURfd2FpdDoyLjQ3MjMyNjc5NnMJFyxleGVjOjMwNS4zMTeFtoF+BYsFLBQ3Njg1ODFB1QRheEEkFC43NDExMiHBCHA5NS4RABR9LCBmaW5ipwAUODE0NDU5ATiepwAUNDM0NTI3LqYAFDIyMi42OEqmAAw0NTk5NqYAFDk3MjY1NgFvEacREgR9cMFBBQFGHgIESP5NHggAuUBlLRgtbm90KGVxNbMcNSwgNykpLCABFxRpc251bGwZGwQpKT3EBeuJiQwxcPwCXYgkGgECIUREREQkYz5tAAQ4Z5GAUSIENSyNLxxmaXJzdHJvdx1umSRRPAw1MDEuxRQNeARiyWo8AgEtEDE2MjQ4JSZelQEAMEklUTwYODEwNzQ0NS6VAQAwDQ1RMxw4MTUwMzQ3OVUzCDYuM0FERaMpjRkSajUCAaAQMjQ3NDKFbZqgABw5MTU5MTIwMw2URdwYMTI1LjM3NELcAhg5MTc2NDUzQWJB3AFwEDE0Mjc1FakuEgBeNgIgHTJH64gCB0EpIocIaAFAAVI8aW5uZXIgam9pbiwgZXF1YWw6W2VxKGLwBQQsIDXxBCldTUUINTAyMkUCMGI3YnVpbGRfaGFzaF/FTyQ6e3RvdGFsOjk2aRMQZmV0Y2gVDgUuLDowc30hiXdxmi8IEDqkAAA9So4AodPJ5BA6ZGVzY1LKBsmiFaUEMy6FDU1yGCHX/qweUB0+bABOUAcBSBBtZXRhLE5OBxmJFWkANS7cBxQxYg1Db24i1AhANXCcXnj///////////8BGAE=')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (7) order by processing desc, job_id;"] [2024/05/06 16:34:56.704 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=7] [2024/05/06 16:34:56.704 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:56.707 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.591635586\n# Parse_time: 0\n# Compile_time: 0.004177925\n# Rewrite_time: 0.000013833\n# Optimize_time: 0\n# Wait_TS: 0.00008963\n# DB: mysql\n# Is_internal: true\n# Digest: eeb59bc0d98f65a2a5aef8eaa99596260e746b00eed183baf856558ef03533ac\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.password_history ( Host char(255) NOT NULL DEFAULT '', User char(32) NOT NULL DEFAULT '', Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6), Password text, PRIMARY KEY (Host,User,Password_timestamp ) ) COMMENT='Password history for user accounts' ;"] [2024/05/06 16:34:56.715 +08:00] [INFO] [session.go:3817] ["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 16:34:56.870 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:56.753 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:56.870 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:56.753 +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 16:34:57.459 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572895968985088\n# Query_time: 0.507837576\n# Parse_time: 0\n# Compile_time: 0.001729807\n# Rewrite_time: 0.002896465\n# Optimize_time: 0.016617497\n# Wait_TS: 0.000085452\n# Prewrite_time: 0.000701748 Commit_time: 0.001729055 Get_commit_ts_time: 0.000022132 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 3116 Prewrite_region: 1\n# Is_internal: true\n# Digest: bb9a0484a27cea37dfc9b79800bc11ddc72f4ac11810a6eb126d600a567ce029\n# Num_cop_tasks: 0\n# Mem_max: 12183\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('nwPwTDAJMjhfMwkwCTAJTi9BCTAJdGltZToxLjU5bXMsIGxvb3BzOjEsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo3MDEuN8K1cywgZ2V0X2NvCSQgczoyMi4xwrVzETcQOjEuNzMBTyBzbG93ZXN0X3ANQehfcnBjOiB7dG90YWw6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG9yZTogc3RvcmUxLCB9LCBjb21taQFFEGltYXJ5RkQAADKKRAANZAhudW0B3gXOEF9rZXlzGQ7wQGJ5dGU6MzExNn0JMy45MCBLQglOL0EKMQkzNl8xCTAJMQl0YWJsZTp0aWRiX2RkbF9qb2IsIGhhbmRsZTo5CTEJJUkQNTAwLjklCylLKDIsIEdldDp7bnVtBbkMMSwgdAH+AF8FLkQxNTguOcK1c30JTi9BCU4vQQo=')\n# Plan_digest: 3fea32741ba131a439f08d925bc0d60ce688c732cc613c6d3625da6592028edc\n# Binary_plan: tidb_decode_binary_plan('0QN4CswDCghVcGRhdGVfMxKTAQoLUG9pbnRfR2V0XzEpAAUB8G3wPzABOAFAAUoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSCGhhbmRsZTo5WhZ0aW1lOjUwMC45wrVzLCBsb29wczoyYiRHZXQ6e251bV9ycGM6MSwgdG90YWxfdGltZToxNTguOcK1c31w/////wUEBAF4BQcBAQV7GFIDTi9BWhQFXRAxLjU5bRVbeDFi/AFjb21taXRfdHhuOiB7cHJld3JpdGU6NzAxLjcFhQxnZXRfESQUczoyMi4xBRcJExA6MS43MwFQHHNsb3dlc3RfEUEFqpAge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6CQcQMSwgfSwNVRxfcHJpbWFyeUZEAAAyikQADWQYbnVtOjEsIAXOEF9rZXlzGQ5kYnl0ZTozMTE2fXCXH3j///////////8BGAE=')\nupdate mysql.tidb_ddl_job set processing = 1 where job_id = 9;"] [2024/05/06 16:34:57.460 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:56.753 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:57.581 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=2.069124ms] [phyTblIDs="[8]"] [actionTypes="[8]"] [2024/05/06 16:34:57.614 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:57.614 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=9] [version=4] [2024/05/06 16:34:57.617 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=46.58331ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:56.753 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:57.733 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:56.753 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:57.831 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=9] [2024/05/06 16:34:57.832 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:57.834 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.122169793\n# Parse_time: 0\n# Compile_time: 0.002846563\n# Rewrite_time: 0.000023949\n# Optimize_time: 0\n# Wait_TS: 0.000089021\n# DB: mysql\n# Is_internal: true\n# Digest: 3bc9b46cf9e300a8d240915cf47216424544ed9f992c07151fba2e2cadc41632\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE 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 16:34:57.872 +08:00] [INFO] [session.go:3817] ["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),\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 16:34:58.073 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:57.899 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:58.073 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:57.899 +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),\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 16:34:58.192 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:57.899 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:58.536 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=5.61889ms] [phyTblIDs="[10]"] [actionTypes="[8]"] [2024/05/06 16:34:58.562 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:58.562 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=11] [version=5] [2024/05/06 16:34:58.563 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=42.050249ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:57.899 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:58.631 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:57.899 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:58.846 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=11] [2024/05/06 16:34:58.846 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:58.848 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.98904705\n# Parse_time: 0\n# Compile_time: 0.013622963\n# Rewrite_time: 0.000013987\n# Optimize_time: 0\n# Wait_TS: 0.000098567\n# DB: mysql\n# Is_internal: true\n# Digest: aeaf612801484f0311f850d36f60f29e6d904828682c1f3bb7307dff25ca3a15\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.db ( Host CHAR(255), DB CHAR(64), User CHAR(32), Select_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Insert_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Update_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Delete_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Grant_priv ENUM('N','Y') NOT NULL DEFAULT 'N', References_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Index_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Event_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Trigger_priv ENUM('N','Y') NOT NULL DEFAULT 'N', PRIMARY KEY (Host, DB, User));"] [2024/05/06 16:34:58.863 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:34:58.939 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:58.877 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:58.940 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:58.877 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:34:59.020 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:58.877 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:59.200 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=3.128237ms] [phyTblIDs="[12]"] [actionTypes="[8]"] [2024/05/06 16:34:59.266 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:59.266 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=13] [version=6] [2024/05/06 16:34:59.266 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=77.446931ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:58.877 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:59.427 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:58.877 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:59.477 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=33.649525ms] [2024/05/06 16:34:59.575 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=13] [2024/05/06 16:34:59.575 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:59.577 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.718252927\n# Parse_time: 0\n# Compile_time: 0.004104075\n# Rewrite_time: 0.000013867\n# Optimize_time: 0\n# Wait_TS: 0.000074717\n# DB: mysql\n# Is_internal: true\n# Digest: e8b37dad6cc7f05ee1f0be61455667495826928a93ddd09b94e02fbaed113955\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tables_priv ( Host CHAR(255), DB CHAR(64), User CHAR(32), Table_name CHAR(64), Grantor CHAR(77), Timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, Table_priv SET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'), Column_priv SET('Select','Insert','Update','References'), PRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 16:34:59.585 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:34:59.702 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:59.612 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:59.702 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:59.612 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:34:59.772 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:59.612 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:02.945 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000000f, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572896708231168, lockForUpdateTS:0, minCommitTs:0, ttl: 3168, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:02.946 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000000f, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572896708231168, lockForUpdateTS:0, minCommitTs:0, ttl: 3168, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:02.947 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000000f, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572896708231168, lockForUpdateTS:0, minCommitTs:0, ttl: 3168, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:02.947 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000000f, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572896708231168, lockForUpdateTS:0, minCommitTs:0, ttl: 3168, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:02.951 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000000f, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572896708231168, lockForUpdateTS:0, minCommitTs:0, ttl: 3168, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:02.951 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000000f, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572896708231168, lockForUpdateTS:0, minCommitTs:0, ttl: 3168, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:02.954 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572896751747072\n# Query_time: 3.030170824\n# Parse_time: 0\n# Compile_time: 0.018651796\n# Rewrite_time: 0.001039101\n# Optimize_time: 0.002043545\n# Wait_TS: 0.000088729\n# Cop_time: 3.004722559 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 175\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000011479\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2QPweTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6My4wMXMsIGxvb3BzOjEsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuMzNtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMW1zLCBycGNfCTYQODgwLCABDwB0AWUUIDEuNzhzBV3wTHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjE4NzksAYAMYWxfdAFkeDcxMC4xbXN9CTE3NSBCeXRlcwlOL0EKMQkxXzYJMV85CsBsZShteXNxbC50aWRiX21kbF9pbmZvLnZlcnNpb24sIDYpCTAJdGlrdl90YXNrOnt0AV4MMS4wNwHiAGwlKAQwfQFcAQQcCjIJNDNfNQkBYSwxMDAwMAl0YWJsZToyXACALCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG8JqnAA')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('wQSYCrwECg1UYWJsZVJlYWRlcl83EpsCCgtTZWxlY3Rpb25fNhKZAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBpAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6MS4wN21zLCBsb29wczowfXD//////wEEBAF4AQYFAQABBYgsgE8iQSmrqqqqqvapBYgQUiJsZSgFhwAuMoYANC52ZXJzaW9uLCA2KWog2nIAAWkM6nPmQBlyJAFAAVIQZGF0YTo9NghaE3QBxwwzLjAxFcYgMWLBAWNvcF90AeegIHtudW06IDEsIG1heDogMS4zM21zLCBwcm9jX2tleXM6IDAsIHRvdF8BEgg6IDEBHQxycGNfCTYMODgwLAUPBWbwSSAxLjc4cywgY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6AZUgX3JwYzoxODc5BYAMYWxfdAHKXDcxMC4xbXN9cK8BeP///////////wEYAQ==')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 6;"] [2024/05/06 16:35:02.957 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 6d446966663a370000fd0000000000000073, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572896708231168, lockForUpdateTS:0, minCommitTs:449572896708231169, ttl: 3168, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:02.961 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572896847953920\n# Query_time: 2.692312432\n# Parse_time: 0\n# Compile_time: 0.040878146\n# Rewrite_time: 0.002571251\n# Optimize_time: 0.035489315\n# Wait_TS: 0.000078445\n# Cop_time: 2.639268731 Process_time: 0.001 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0005 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12630\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('xxO4MAkzXzEzCTAJMjIyOC44NwlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwQ3Byb2Nlc3NpbmcJMAl0aW1lOjIuNjVzLCBsb29wczoxLCBDb25jdXJyZW5jeTo1CTExLjggS0IJTi9BCjEJMTRfMTQJcn4AGWEUOmRlc2MsToUAFGpvYl9pZB2BADQZgRwJMCBCeXRlcxEIHAoyCTE3XzI4HfRUaW5uZXIgam9pbiwgZXF1YWw6W2VxKFoKAQRpZAHTIGx1bW4jMTUpXVZ1AJgsIGJ1aWxkX2hhc2hfdGFibGU6e3RvdGFsOjEuMThtcywgZmV0Y2gVDgUuDDowc30RphEIJAozCTMxXzQxKEIBUAApHbVAZGF0YTpTZWxlY3Rpb25fNDARihg2MTQuMsK1OQJ4LCBjb3BfdGFzazoge251bTogMSwgbWF4OiA4MTIuMQUrIWY0X2tleXM6IDAsIHJwY18RKQEMJdgMIDcyMw1ZmGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbjX3HCAxNX0JMTcxLYoYTi9BCjQJMQG0BDFfcv0BDHJlb3JJWQRrdgnCAHsFjAg1NzgFt0llBDB9AVMBBBwKNQk0NF8zOQVYHDY2NjYuNjcJKYAu0wLwPCwgcmFuZ2U6Wy1pbmYsMTUpLCAoMTUsK2luZl0sIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkbwlB55qOACwzCTZfMjkoUHJvYmUhvDg2NDAwCWdyb3VwIGJ5OkNRRkAsIGZ1bmNzOmZpcnN0cm93KBUaCCktPhUMMeAEMi4u3wJULCBwYXJ0aWFsX3dvcmtlcjp7d2FsbCmyASocMzE5MTUzMXNBBQBuNZEINSwgQRAl5VgwLCB0b3Rfd2FpdDoxMy4yMTEyODk0M2HEARgYZXhlYzowcwklJX0JJRg5MTk4NzlzSUoBajAyNDE0Nzg2cywgcDk1MhIAFH0sIGZpbmajABQzMTQ0NjeuowAYMjU2NTQyMg2WBaMQNTAuNDJJFgG3GaoUMjY0MTc0ASxB9AWqBDU2AUEuqgANEllJQaAAM2FUJbQUbm90KGVxOZgcLCAxNSkpLCABGBRpc251bGwZHAApIeoFfwFsAHO1CggJMziRi2EBEDUJNl8zIdUEODAuFQJKdgRhnABlpWMALE79BCBzY2hlbWFfaWQhjEahBUX+CR5JZghtaW4VrQA4MmECADFKtwAAMn5hAhQxMjYxOTAhTQBjWmECADFJPFVhFDAwMjE0NzZhAiAyOTUuNTQ2wrUt0yVAQWkcMDA2NDA0OTgB3QRheCVTFDA0NjQ1MUEwUWkREnppAhgxNjExNzIzamkCQqsAFDMwMTk2NQF+QVVFaRQyMDUuMTOpYgEVGasUMzU0NjkwIfMVqww5MTU3JR0Vqw0SWWoANqHiDDM2CTBJCgBkodgkSGFzaEFnZ18zMV6VAV7TBQwxLjI5wWBBNbnRAagBEgg6IDEBHaHUpeAMMjAwN6nvBcYMIDEuNIkrxuAFNCwgUmVzb2x2ZUxvY2s6wWgQX3JwYzohwUUAAGGNlSg3MzAuOW1zfQkxOS4PAwA3YQ8AMaW4/hEDzhEDSjkDFlUIfSEAOCWMNvsFBDEuJVFCiAYUOAk0M18zgUUMMAkxMGHiZYg6hgZ6agZhkJZvAA==')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('nBbwSQqXFgoNUHJvamVjdGlvbl8xMxKBFQoHU29ydF8xNBKLFAoLSGFzaEpvaW5fMjgSmwQKDlRhYmxlUmVhZGVyXzQxEq8CCgxTZWxlCUAYNDAStgEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wWzpbLWluZiwxNSksICgxNSwraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6NTc4wrVzLCBsb29wczowfXD/////BQMEAXgFBwEBAAEFoyyAMSdBKTxMXW6/aaEFowRSGAWfBC50HZ4ULnJlb3Jn3mgALBoBASGA3GsuVFrrQBlrKAFAAVIRZGF0YTpTPU0sWhZ0aW1lOjYxNC4yHcMYMWKEAWNvcAnkTCB7bnVtOiAxLCBtYXg6IDgxMi4xBSxEcHJvY19rZXlzOiAwLCBycGNfESkBDAVZDCA3MjMNWthjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9cKsBPUEQErsOCgpBLiBBZ2dfMjkS3gouGgIQMzAS5AkZIBAzNRKyBTZNAhAzNhKPAx0iFDESmgEKEEVLDEZ1bGxJSgA0JacU8O8wQSkAAQEQiMNAMAF2TAIAHnowAggfdGk2MAIQMS4xbXOSLwIIKGUxDYgEQL8NiDxSlAFncm91cCBieTpteXNxOjsCIZUcZXNzaW5nLCBKHwAkc2NoZW1hX2lkc1IfABB0YWJsZQkeJGZ1bmNzOm1pbihKRwBEam9iX2lkKS0+Q29sdW1uIzE43uYAHN7d3d0dPvdAKW4J5kGsBA9kQawISGFzJe4MMzFaE0VRDDIuNjQ1OwgyYsFipwIMMS4yOSFlIRBZpQx0b3RfARIEOiAlgkGoRbQMMjAwN0nDBWYYIDEuNDFzLNK0AjQsIFJlc29sdmVMb2NrOmE8JF9ycGM6MjAwNiwBgARhbAlkJDczMC45bXN9cL4yJQQhEAytbPhAPhABAIT+9gG+9gE12j3mADVWhgFQ1gJwYXJ0aWFsX3dvcmtlcjp7d2FsDechsRgxMjYxOTA1JVEAbnXhGDUsIHRhc2slgQAxJRtAX3dhaXQ6MTMuMjAwMjE0NzMBMyGzLGV4ZWM6Mjk1LjU0NoV7ARUlqgktFDY0MDQ5OEHTBGF4BXIwMDQ2NDUxN3MsIHA5NTISABR9LCBmaW5mqwAUNjExNzIzrqsAFDMwMTk2NQF+AZYJqxAwNS4xM6lSARUZqxQzNTQ2OTBBwxWrDDkxNTclHRWrDRJeSAZFIwRI/k0jCAC5QGUxGC5ub3QoZXE1uCA1LCAxNSkpLCABGBRpc251bGwZHAQpKU7KAQwxcPwCvXAkGgECIUREREQkYz5sAAQ4Z5GCUSYENSyNMRxmaXJzdHJvdx1smSZSQAIIMWLNekACFDMxOTE1M2mRVkACADA6QAIUMTEyODk0NkACBDBzCSU1jRwxMTkxOTg3OV04GDI0MTQ3ODZdOBESejgCFDMzMTQ0NkFxAGOeowAYMjU2NTQyMg2WRTgUNTAuNDI4RuICGDEyNjQxNzQBLFE3CDI1NgFBLqoADRJeNwIYUGHhk4gDByp/CGgBQAFSPGlubmVyIGpvaW4sIGVxdWFsOltlcShi9AUELCA18wQpXVJFAjBiN2J1aWxkX2hhc2hfxVEYOnt0b3RhbMH4ADihlBBmZXRjaBUOBS4sOjBzfSH8EMdI0gsQOqIAAD1KjAChxMnmEDpkZXNjUswGyaRSowAYIYsa5ZT/ID5qAE5QBwFGEG1ldGEsTk4HGYcZZyGTKGxvb3BzOjFiDUNvXbA8cJxeeP///////////wEYAQ==')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (15) order by processing desc, job_id;"] [2024/05/06 16:35:02.990 +08:00] [ERROR] [mvcc.go:1021] ["commit failed, no correspond lock found"] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6MTT/AAAAAAAAAAD3] ["start ts"=449572896708231168] [lock="{{0 0 0 0 0 false 0 false 0} [] [] []}"] [error="retryable: lock not found"] [stack="github.com/pingcap/tidb/store/mockstore/unistore/tikv.(*MVCCStore).Commit\n\tstore/mockstore/unistore/tikv/mvcc.go:1021\ngithub.com/pingcap/tidb/store/mockstore/unistore/tikv.(*Server).KvCommit\n\tstore/mockstore/unistore/tikv/server.go:366\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:183\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).sendReqToRegion\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1421\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReqCtx\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1177\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReq\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:234\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionCommit.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:98\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1036\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:969\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:788\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:222\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitTxn\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1701\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1692\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:35:02.991 +08:00] [WARN] [session.go:1025] ["can not retry txn"] [label=internal] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 16:35:02.992 +08:00] [WARN] [session.go:1041] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [2024/05/06 16:35:02.993 +08:00] [INFO] [job_table.go:255] ["[ddl] handle ddl job failed"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:59.612 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:03.059 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:59.612 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:03.120 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=289.013µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:03.133 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=324.33µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:03.149 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=347.425µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:03.182 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=254.835µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:03.197 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=277.942µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:03.230 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=317.453µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:03.265 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=7.096829ms] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:03.312 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=293.71µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:06.342 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000000f, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572897569898496, lockForUpdateTS:0, minCommitTs:0, ttl: 3273, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:06.342 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000000f, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572897569898496, lockForUpdateTS:0, minCommitTs:0, ttl: 3273, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:06.343 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000000f, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572897569898496, lockForUpdateTS:0, minCommitTs:0, ttl: 3273, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:06.343 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000000f, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572897569898496, lockForUpdateTS:0, minCommitTs:0, ttl: 3273, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:06.344 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000000f, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572897569898496, lockForUpdateTS:0, minCommitTs:0, ttl: 3273, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:06.344 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000000f, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572897569898496, lockForUpdateTS:0, minCommitTs:0, ttl: 3273, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:06.345 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000000f, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572897569898496, lockForUpdateTS:0, minCommitTs:0, ttl: 3273, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:06.347 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572897646968832\n# Query_time: 3.005260199\n# Parse_time: 0\n# Compile_time: 0.012344434\n# Rewrite_time: 0.000932069\n# Optimize_time: 0.001947841\n# Wait_TS: 0.000100613\n# Cop_time: 2.990299047 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 171\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000013337\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('0APwhjAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6Mi45OXMsIGxvb3BzOjEsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDg2NC4xwrVzLCBwcm9jX2tleXM6IDAsIHJwY19udW06IDE1ODYsIHJwY190aW1lOiAxLjc3cwVQ8HlyX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzoxNTg1LCB0b3RhbF90aW1lOjc4NC4zbXN9CTE3MSBCeXRlcwlOL0EKMQkxXzYJMV8wCRH9wGxlKG15c3FsLnRpZGJfbWRsX2luZm8udmVyc2lvbiwgNikJMAl0aWt2X3Rhc2s6e3QhGiA3MDIuNcK1cywtHRQwfQlOL0EBBBwKMgk0M181CQFjLDEwMDAwCXRhYmxlOjJeAIAsIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkbwmycgA=')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('uASYCrMECg1UYWJsZVJlYWRlcl83Ep8CCgtTZWxlY3Rpb25fNhKbAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBxAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiJ0aWt2X3Rhc2s6e3RpbWU6NzAyLjXCtXMsIGxvb3BzOjB9cP///////////wF4CQgM////AQWKLIBPIkEpq6qqqqr2qQWKEFIibGUoBYkALjKIADQudmVyc2lvbiwgNilqIuJ0AAFrDOpz5kAZdCQBQAFSEGRhdGE6PToIWhN0AcsQMi45OXMRyCAxYrQBY29wX3QB60wge251bTogMSwgbWF4OiA4NjQuMQX0RHByb2Nfa2V5czogMCwgcnBjXwkpCDU4NgkPBVnwSSAxLjc3cywgY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6AYhEX3JwYzoxNTg1LCB0b3RhbF90Ab1cNzg0LjNtc31wqwF4////////////ARgB')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 6;"] [2024/05/06 16:35:06.349 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 6d446966663a380000fd0000000000000073, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572897569898496, lockForUpdateTS:0, minCommitTs:449572897569898497, ttl: 3273, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:06.350 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=351.914µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:06.363 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572897897054208\n# Query_time: 2.094266816\n# Parse_time: 0\n# Compile_time: 0.042056191\n# Rewrite_time: 0.002951859\n# Optimize_time: 0.031935613\n# Wait_TS: 0.000084147\n# Cop_time: 2.014668325 Process_time: 0.001 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0005 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12630\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('yxO4MAkzXzEzCTAJMjIyOC44NwlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwQ3Byb2Nlc3NpbmcJMAl0aW1lOjIuMDRzLCBsb29wczoxLCBDb25jdXJyZW5jeTo1CTExLjggS0IJTi9BCjEJMTRfMTQJcn4AGWEUOmRlc2MsToUAFGpvYl9pZFaBABwJMCBCeXRlcxEIHAoyCTE3XzI4HfRUaW5uZXIgam9pbiwgZXF1YWw6W2VxKFoKAQRpZAHTIGx1bW4jMTUpXVZ1AKAsIGJ1aWxkX2hhc2hfdGFibGU6e3RvdGFsOjg2Ni41wrVzLCBmZXRjaB0QBTIMOjBzfRGqEQgkCjMJMzFfNDEoQgFUACkduUBkYXRhOlNlbGVjdGlvbl80MBGOCDUyOAVkNYVoY29wX3Rhc2s6IHtudW06IDEsIG1heDogODgzBSkhZjRfa2V5czogMCwgcnBjXxEnAQwl2AwgNzgxDbuYY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uNfccIDE1fQkxNzEtihhOL0EKNAkxAbAEMV9y/QEMcmVvcklZBGt2CcAAewWMDDYwMy4u4gAEMH0BVQEEHAo1CTQ0XzM5BVocNjY2Ni42Nwkpgi7VAvA8LCByYW5nZTpbLWluZiwxNSksICgxNSwraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCUHpopAALDMJNl8yOShQcm9iZSG8ODY0MDAJZ3JvdXAgYnk6Q1FKQCwgZnVuY3M6Zmlyc3Ryb3coFRoIKS0+FQwx4AwyLjAzLmQDTHBhcnRpYWxfd29ya2VyOnt3YWxsKbY4Mi4wMjU3OTQxNjVzLCBjPZUINSwgQRIl6WAwLCB0b3Rfd2FpdDoxMC4xMjc1MTQ4MTFzCRgUZXhlYzowDQ0lgQUlFDgxMjUwMwGJQUwFahA2Mjg4MQFqCHA5NTISABR9LCBmaW5mowAQOTY4NTGBOKKjAAw4NzkwBdUBugWiDDU1LjRJFgETHagMODY5MgXNFagQODAzMDkBbxWoDRJZSRA0CTFfM2FSJbIUbm90KGVxOZYcLCAxNSkpLCABGBRpc251bGwZHAApIegFfzaoAQgJMziRjWEDEDUJNl8zIdMEODAuEwJKeARhngBlpWVS/wQkc2NoZW1hX2lkc1IfAEX+CR5JZAhtaW4VrQA4Ml8CADEVtwQyc7HDBDIsel8CFDQ0MDEyOAExXrwBADFJR1VfGDE5NDcwMjYyXwIcMjc1Ljc2N8KhGzK/ARgxOTkxODc3AS0xvxQ0MTQxNzgBEjG/ERJ+ZwIMMjAyMUWgnqsAGDIyOTc4MjZB5QGWRWgYMjAwLjMxNkarABwyMzIxNjA1NiGIBGF4If4YMjUxMzUzOSEdEasREllqADah4AwzNgkwSQql1iRIYXNoQWdnXzMxXpUBXtMFGDEuNDNtcyw60wUBvUFHCDogMQEdodap4gQwM63xRbEMIDk0MgEgzuIFNCwgUmVzb2x2ZUxvY2s6wWggX3JwYzoxMDI5RQAAYY2TKDY3Ny45bXN9CTE5Lg8DADdhDwAxpbj+EQPOEQNKdwMWVwh9IQA4JYw2+wUIMS4yJW/pa92JFDgJNDNfM4FGDDAJMTBh42WJOocGemsGYZGacAA=')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('oBbwSQqbFgoNUHJvamVjdGlvbl8xMxKFFQoHU29ydF8xNBKPFAoLSGFzaEpvaW5fMjgSmwQKDlRhYmxlUmVhZGVyXzQxErMCCgxTZWxlCUAYNDASuAEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wXjpbLWluZiwxNSksICgxNSwraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiJ0aWt2X3Rhc2s6e3RpbWU6NjAzLjjCtXMsIGxvb3BzOjB9cP//////AQMEAXgBBgUBAAEFpSyAMSdBKTxMXW6/aaEFpQRSGAWhBC50HaAULnJlb3Jn5moALBoBASGA3GsuVFrrQBltKAFAAVIRZGF0YTpTPVEoWhR0aW1lOjUyOMIZwxgxYoIBY29wCeZEIHtudW06IDEsIG1heDogODgzBSpEcHJvY19rZXlzOiAwLCBycGNfEScBDAVVFCA3ODEuNQUu2GNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX1wqwE9PxASuw4KCkEuIEFnZ18yORLgCi4aAhAzMBLmCRkgEDM1ErQFNk0CEDM2EpEDHSIUMRKbAQoQRUsMRnVsbElKADQlpRTw7zBBKQABARCIw0AwAXZMAgAeejACCCB0aTYwAhgxLjIzbXMsji4CCChlMQ2JBEC/DYk8UpQBZ3JvdXAgYnk6bXlzcTo6AiGWHGVzc2luZywgSh8AJHNjaGVtYV9pZHNSHwAQdGFibGUJHiRmdW5jczptaW4oSkcARGpvYl9pZCktPkNvbHVtbiMxOOLnABze3d3dHT73QClwCedBqgQPZEGqCEhhcyXwDDMxWhNFUwwyLjAyNTwIMmLBYqcCCDEuNCVmIRFZpwx0b3RfARIIOiAxIYNBqkm2BDAzTcUFZgwgOTQyASDOtgI0LCBSZXNvbHZlTG9jazphPCRfcnBjOjEwMjksAYAEYWwJZCQ2NzcuOW1zfXC+MiUEIRAMrWz4QD4QAQCE/vcBvvcBNds95wA1VoYBUNYCcGFydGlhbF93b3JrZXI6e3dhbA3nIbEUNDQwMTI4IbgAY33jGDUsIHRhc2slgQAxJRtIX3dhaXQ6MTAuMTE5NDcwMjYxcwkYLGV4ZWM6Mjc1Ljc2N4VPIcglqgktEDkxODc3AS2BogVyEDE0MTc4ARIIcDk1MhIAFH0sIGZpbmKrACA1MjAyMTE1cyyiqwAcMjI5NzgyNjMyqwAUMDAuMzE2RqsAHDIzMjE2MDU2YX8EYXgFmRQ1MTM1MzkhHRGrERIEfXDFOQEBRiMCBEj+TSMIALlAZTEYLm5vdChlcTW4IDUsIDE1KSksIAEYFGlzbnVsbBkcBCkpOcoBugRsb8G6DDFw/AK9ciQaAQIhRERERCRjPmwABDhnkYNRJgg1LCCJMhxmaXJzdHJvdx1smScANVJ2AARiy3pAAhQ1Nzk0MTZulQEAMEkoVUAYMjc1MTQ4MUEBQStFQAAwLaJVOBgyODEyNTAzIQA1jRA2Mjg4MQFqNY0NEn44AhQ5Njg1MTRqOAJCowAMODc5MAXVFaIMNTUuNOmHARMdqAw4NjkyBc0VqBA4MDMwOQFvFagNEl41AhhQYeGTiAMHKn0IaAFAAVI8aW5uZXIgam9pbiwgZXF1YWw6W2VxKGLzBQQsIDXxBCldOc0BiU1DMGI7YnVpbGRfaGFzaF/FUCg6e3RvdGFsOjg2NhoNCBBmZXRjaB0QBTIsOjBzfSH8EMdI0gsQOqYAAD1KkAChxsnpFDpkZXNjLE7uBsmnUqcAGCGLGuWU/yA+agBOUwcBRhBtZXRhLE5jABmHUmcAEGINQ29uItUIQDVwnF54////////////ARgB')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (15) order by processing desc, job_id;"] [2024/05/06 16:35:06.381 +08:00] [ERROR] [mvcc.go:1021] ["commit failed, no correspond lock found"] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6MTT/AAAAAAAAAAD3] ["start ts"=449572897569898496] [lock="{{0 0 0 0 0 false 0 false 0} [] [] []}"] [error="retryable: lock not found"] [stack="github.com/pingcap/tidb/store/mockstore/unistore/tikv.(*MVCCStore).Commit\n\tstore/mockstore/unistore/tikv/mvcc.go:1021\ngithub.com/pingcap/tidb/store/mockstore/unistore/tikv.(*Server).KvCommit\n\tstore/mockstore/unistore/tikv/server.go:366\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:183\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).sendReqToRegion\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1421\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReqCtx\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1177\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReq\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:234\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionCommit.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:98\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1036\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:969\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:788\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:222\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitTxn\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1701\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1692\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:35:06.400 +08:00] [WARN] [session.go:1025] ["can not retry txn"] [label=internal] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 16:35:06.401 +08:00] [WARN] [session.go:1041] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [2024/05/06 16:35:06.408 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=316.241µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:06.408 +08:00] [INFO] [job_table.go:255] ["[ddl] handle ddl job failed"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:59.612 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:06.426 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=350.741µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:06.440 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=284.252µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:06.460 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=306.786µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:06.483 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=280.033µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:06.500 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=336.479µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:06.549 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:59.612 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:06.553 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=340.25µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:06.575 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=270.276µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:06.595 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=295.384µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:06.610 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=277.281µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:06.625 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=286.567µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:06.641 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=17.138014ms] [2024/05/06 16:35:06.675 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=8] ["start time"=434.345µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:06.709 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=8] ["start time"=389.53µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:06.724 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=8] ["start time"=461.784µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:06.758 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=8] ["start time"=404.426µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:06.787 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=8] ["start time"=389.597µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:06.825 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=8] ["start time"=432.635µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:06.849 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=8] ["start time"=496.104µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:09.907 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000000f, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572898484518912, lockForUpdateTS:0, minCommitTs:0, ttl: 3319, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:09.913 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000000f, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572898484518912, lockForUpdateTS:0, minCommitTs:0, ttl: 3319, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:09.923 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572898686894080\n# Query_time: 2.653603646\n# Parse_time: 0\n# Compile_time: 0.055577468\n# Rewrite_time: 0.028572359\n# Optimize_time: 0.024198646\n# Wait_TS: 0.00012869\n# Cop_time: 2.549888186 Process_time: 0.003 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0015 Cop_proc_p90: 0.003 Cop_proc_max: 0.003 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12632\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zBO4MAkzXzEzCTAJMjIyOC44NwlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwQ3Byb2Nlc3NpbmcJMAl0aW1lOjIuNTZzLCBsb29wczoxLCBDb25jdXJyZW5jeTo1CTExLjggS0IJTi9BCjEJMTRfMTQJcn4AGWEUOmRlc2MsToUAFGpvYl9pZFaBABwJMCBCeXRlcxEIHAoyCTE3XzI4HfRUaW5uZXIgam9pbiwgZXF1YWw6W2VxKFoKAQRpZAHTIGx1bW4jMTUpXVZ1AJgsIGJ1aWxkX2hhc2hfdGFibGU6e3RvdGFsOjEuMzdtcywgZmV0Y2gVDgUuDDowc30RphEIJAozCTMxXzQxKEIBUAApHbVAZGF0YTpTZWxlY3Rpb25fNDARihg3MjguMsK1LoMBcGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDg1OS44BSshZjRfa2V5czogMCwgcnBjXxEpAQwl2BQgNzYzLjkFLphjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb2419xwgMTV9CTE3MS2KGE4vQQo0CTEBtAQxX3L9AQxyZW9ySVkEa3YJwgB7BYwQNjAxLjEFi0lnBDB9AVUBBBwKNQk0NF8zOQVaHDY2NjYuNjcJKYIu1QLwPCwgcmFuZ2U6Wy1pbmYsMTUpLCAoMTUsK2luZl0sIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkbwlB6aKQACwzCTZfMjkoUHJvYmUhwDg2NDAwCWdyb3VwIGJ5OkNRSkAsIGZ1bmNzOmZpcnN0cm93KBUaCCktPhUMMeQ+ZANMcGFydGlhbF93b3JrZXI6e3dhbGwptjgyLjU1NDg1ODYwMXMsIGM9lQg1LCBBFCXpYDAsIHRvdF93YWl0OjEyLjc2OTUyODY0OXMJGBRleGVjOjANDSWBCSUQNjI2OTIBWEFOAWoMMzk2NQkSCHA5NTISABR9LCBmaW5mowAQOTY3NjOqogAYNzAzNzQzMQF9AboFohA1My42MUkXARQVqSA3MDQ1NzAzNHNJ9wGpFDQxNjQxOYGoEakREllKQaMAM2FXJbMUbm90KGVxOZccLCAxNSkpLCABGBRpc251bGwZHAApIekFfwFsAHO1DQgJMziRjmEEEDUJNl8zIdQEODAuFAJKeQRhnwBlpWYALE4ABSBzY2hlbWFfaWQB4kakBUX/CR5JZQhtaW4VrQA4MmACADFKtwAEMix6YAIUMjkzMzgwAeheYAIAMUlIWWAAMUE6BDQ4TVMlvhQyNjYuODVKvwEYNjE2NjY5OCGtUWgUMjQ0NjEyAXIxvxESemgCFDM5NDAyOQE5oqsAGDM0ODA3MjIuqwAcMTk2LjIyN8KhZTJqAhg2MzcxMTc2QZYVqxA4Mjg4NEHbFasNEllqADah5QwzNgkwSQql2yRIYXNoQWdnXzMxXpUBXtYFDDMuNzbBY0E1udQBqAESCDogMwEdodep4wg0NzGp8gB04b4MIDEuNAG/zuMFNCwgUmVzb2x2ZUxvY2s6wWsgX3JwYzoxNDcwRQAAYY2ULDcxNy43bXN9CTE5Mt0TADdhDwAxpbn+EQPOEQNKOQMWWAh9IQA4JYw2/AUMMy41MSFSQooGFDgJNDNfM4FGDDAJMTBh42WJOogGemwGYZGacAA=')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('oRbwSQqcFgoNUHJvamVjdGlvbl8xMxKGFQoHU29ydF8xNBKQFAoLSGFzaEpvaW5fMjgSnwQKDlRhYmxlUmVhZGVyXzQxErMCCgxTZWxlCUAYNDASuAEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wXjpbLWluZiwxNSksICgxNSwraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiJ0aWt2X3Rhc2s6e3RpbWU6NjAxLjHCtXMsIGxvb3BzOjB9cP//////AQMEAXgBBgUBAAEFpSyAMSdBKTxMXW6/aaEFpQRSGAWhBC50HaAULnJlb3Jn5moALBoBASGA3GsuVFrrQBltKAFAAVIRZGF0YTpTPVEwWhZ0aW1lOjcyOC4ywhnFGDFihAFjb3AJ6Ewge251bTogMSwgbWF4OiA4NTkuOAUsRHByb2Nfa2V5czogMCwgcnBjXxEpAQwFWRQgNzYzLjkFLthjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9cKsBPUMQErwOCgpBMiBBZ2dfMjkS4AouHgIQMzAS5gkZIBAzNRK0BTZRAhAzNhKRAx0iFDESmwEKEEVPDEZ1bGxJTgA0JakU8O8wQSkAAQEQiMNAMAF2UAIAHno0AgggdGk2NAIYMy41MW1zLI4yAggoZTENiQRAvw2JPFKUAWdyb3VwIGJ5Om15c3E6PgIhlhxlc3NpbmcsIEofACRzY2hlbWFfaWRzUh8AEHRhYmxlCR4kZnVuY3M6bWluKEpHAERqb2JfaWQpLT5Db2x1bW4jMTji5wAc3t3d3R0+90ApcAnnQa4ED2RBrghIYXMl8AwzMVoTRVMMMi41NTU8CDJiwWKpAgwzLjc2IWYhEVmnDHRvdF8BEgg6IDMBHUGqSbYINDcxScUFZhggMS40MXMs0rYCNCwgUmVzb2x2ZUxvY2s6YT4kX3JwYzoxNDcwLAGABGFsCWQkNzE3Ljdtc31wwDIpBCEQDK1s+EA+EAEAhP73Ab73ATXbPecANVaGAVDWAnBhcnRpYWxfd29ya2VyOnt3YWwN5yGxFDI5MzM4MCG4AGN94xg1LCB0YXNrJYEAMSUbSF93YWl0OjEyLjc2MTI2OTI0OHMJGCxleGVjOjI2Ni44NTGFTyHIJaoJLRQ2NjY5ODZB1ARheAlyEDQ0NjEyAXIIcDk1MhIAFH0sIGZpbmKrABQzOTQwMjkBOaKrABgzNDgwNzIyLqsAGDE5Ni4yMjdKqwAUMzcxMTc2QVwVqxw4Mjg4NDNzLBmrDRIEfXDFPQEBRiMCBEj+TSMIALlAZTEYLm5vdChlcTW4IDUsIDE1KSksIAEYFGlzbnVsbBkcBCkpTsoBDDFw/AK9ciQaAQIhRERERCRjPmwABDhnkYNRJgQ1LI0yHGZpcnN0cm93HWyZJ11AIa4EbG/hNAgxYsx6QAIUNDg1ODYwITVelQFpW11AGDk1Mjg2NDkulQEAMA0NAHTB9EU4BDk2QWYBWDGNEDM5NjU5BRJROBESejgCEDQ5Njc2IcWeogAYNzAzNzQzMQF9Qc1F4hA1My42MUrhAhw3MDQ1NzAzNF3hFDQxNjQxOSFFEakREl42AhhQYeGTiAMHKoIIaAFAAVI8aW5uZXIgam9pbiwgZXF1YWw6W2VxKGL0BQQsIDXyBCldWUQBiTHOLDdidWlsZF9oYXNoX8VRLDp7dG90YWw6MS4zN6F2EGZldGNoFQ4FLiw6MHN9IfwQx0jSCxA6ogAAPUqMAKHDyeYUOmRlc2MsTusGyaRSowAYIYsa5ZT/ID5qAE5QBwFGEG1ldGEsTmMAGYdSZwAQYg1Db24i0ghANXCcXnj///////////8BGAE=')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (15) order by processing desc, job_id;"] [2024/05/06 16:35:09.937 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572898566307840\n# Query_time: 3.077743915\n# Parse_time: 0\n# Compile_time: 0.007535614\n# Rewrite_time: 0.000973741\n# Optimize_time: 0.002070891\n# Wait_TS: 0.000096091\n# Cop_time: 3.058446408 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 171\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000012308\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zgPw3jAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6My4wNnMsIGxvb3BzOjEsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuMTZtcywgcHJvY19rZXlzOiAwLCBycGNfbnVtOiAxNjgxLCBycGNfdGltZTogMS45MnMsIGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjE2ODAsIHRvdGFsX3QBung2ODAuNW1zfQkxNzEgQnl0ZXMJTi9BCjEJMV82CTFfGfvAbGUobXlzcWwudGlkYl9tZGxfaW5mby52ZXJzaW9uLCA2KQkwCXRpa3ZfdGFzazp7dAFeGDg5My42wrU1GwQwfQFeAQQcCjIJNDNfNQkBYywxMDAwMAl0YWJsZToyXgB8LCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG8lf6JyAA==')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('tgSYCrEECg1UYWJsZVJlYWRlcl83Ep8CCgtTZWxlY3Rpb25fNhKbAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBxAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiJ0aWt2X3Rhc2s6e3RpbWU6ODkzLjbCtXMsIGxvb3BzOjB9cP///////////wF4CQgM////AQWKLIBPIkEpq6qqqqr2qQWKEFIibGUoBYkALjKIADQudmVyc2lvbiwgNilqIuJ0AAFrDOpz5kAZdCQBQAFSEGRhdGE6PToIWhN0AcsQMy4wNnMRyCAxYrIBY29wX3QB66Age251bTogMSwgbWF4OiAxLjE2bXMsIHByb2Nfa2V5czogMCwgcnBjXwknCDY4MQkPBVfwSSAxLjkycywgY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6AYZEX3JwYzoxNjgwLCB0b3RhbF90AbtcNjgwLjVtc31wqwF4////////////ARgB')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 6;"] [2024/05/06 16:35:09.940 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=8] ["start time"=432.083µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:09.940 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 6d446966663a390000fd0000000000000073, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572898484518912, lockForUpdateTS:0, minCommitTs:449572898484518913, ttl: 3319, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:09.957 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=8] ["start time"=520.851µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:09.971 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=8] ["start time"=487.331µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:09.990 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=8] ["start time"=536.065µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:10.021 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=8] ["start time"=622.953µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:10.040 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=8] ["start time"=440.11µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:10.132 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=8] ["start time"=484.431µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:10.162 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=8] ["start time"=547.185µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:10.205 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=8] ["start time"=1.321743ms] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:10.223 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=8] ["start time"=501.104µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:10.239 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=8] ["start time"=383.18µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:10.254 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=8] ["start time"=416.104µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:10.275 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=8] ["start time"=487.952µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:10.291 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=8] ["start time"=483.484µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:10.307 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=8] ["start time"=467.185µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:10.328 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=8] ["start time"=560.461µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:10.343 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=8] ["start time"=529.411µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:10.357 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=8] ["start time"=657.457µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:10.372 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=8] ["start time"=446.965µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:10.384 +08:00] [ERROR] [mvcc.go:1021] ["commit failed, no correspond lock found"] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6MTT/AAAAAAAAAAD3] ["start ts"=449572898484518912] [lock="{{0 0 0 0 0 false 0 false 0} [] [] []}"] [error="retryable: lock not found"] [stack="github.com/pingcap/tidb/store/mockstore/unistore/tikv.(*MVCCStore).Commit\n\tstore/mockstore/unistore/tikv/mvcc.go:1021\ngithub.com/pingcap/tidb/store/mockstore/unistore/tikv.(*Server).KvCommit\n\tstore/mockstore/unistore/tikv/server.go:366\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:183\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).sendReqToRegion\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1421\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReqCtx\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1177\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReq\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:234\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionCommit.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:98\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1036\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:969\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:788\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:222\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitTxn\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1701\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1692\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:35:10.385 +08:00] [WARN] [session.go:1025] ["can not retry txn"] [label=internal] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 16:35:10.386 +08:00] [WARN] [session.go:1041] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [2024/05/06 16:35:10.386 +08:00] [INFO] [job_table.go:255] ["[ddl] handle ddl job failed"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:59.612 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:10.398 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=8] ["start time"=498.277µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:10.431 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=8] ["start time"=5.82658ms] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:10.479 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=8] ["start time"=514.72µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:10.498 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:59.612 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:10.569 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=8] ["start time"=464.966µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:10.609 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=651.246µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:10.660 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=653.132µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:10.677 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=697.949µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:10.693 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=662.434µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:10.712 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=667.771µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:10.738 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=620.174µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:13.784 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000000f, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572899519987712, lockForUpdateTS:0, minCommitTs:0, ttl: 3257, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:13.790 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000000f, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572899519987712, lockForUpdateTS:0, minCommitTs:0, ttl: 3257, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:13.791 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000000f, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572899519987712, lockForUpdateTS:0, minCommitTs:0, ttl: 3257, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:13.792 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000000f, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572899519987712, lockForUpdateTS:0, minCommitTs:0, ttl: 3257, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:13.793 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000000f, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572899519987712, lockForUpdateTS:0, minCommitTs:0, ttl: 3257, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:13.802 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572899729178624\n# Query_time: 2.532662803\n# Parse_time: 0\n# Compile_time: 0.030502486\n# Rewrite_time: 0.01169061\n# Optimize_time: 0.01599517\n# Wait_TS: 0.000094455\n# Cop_time: 2.471562078 Process_time: 0.001 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0005 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12630\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('yRO4MAkzXzEzCTAJMjIyOC44NwlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwQ3Byb2Nlc3NpbmcJMAl0aW1lOjIuNDhzLCBsb29wczoxLCBDb25jdXJyZW5jeTo1CTExLjggS0IJTi9BCjEJMTRfMTQJcn4AGWEUOmRlc2MsToUAFGpvYl9pZFaBABwJMCBCeXRlcxEIHAoyCTE3XzI4HfRUaW5uZXIgam9pbiwgZXF1YWw6W2VxKFoKAQRpZAHTIGx1bW4jMTUpXVZ1AJgsIGJ1aWxkX2hhc2hfdGFibGU6e3RvdGFsOjEuMjFtcywgZmV0Y2gVDgUuDDowc30RphEIJAozCTMxXzQxKEIBUAApHbVAZGF0YTpTZWxlY3Rpb25fNDARihg2NTguMcK1LoMBcGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDkyMS40BSshZjRfa2V5czogMCwgcnBjXxEpAQwl2BQgODI1LjMFLphjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb2419xwgMTV9CTE3MS2KGE4vQQo0CTEBtAQxX3L9AQxyZW9ySVkEa3YJwgB7BYwINjM4DblJZwQwfQFVAQQcCjUJNDRfMzkFWhw2NjY2LjY3CSmCLtUC8DwsIHJhbmdlOlstaW5mLDE1KSwgKDE1LCtpbmZdLCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG8JQemikAAsMwk2XzI5KFByb2JlIcA4NjQwMAlncm91cCBieTpDUUpALCBmdW5jczpmaXJzdHJvdygVGggpLT4VDAAJAXtKZANMcGFydGlhbF93b3JrZXI6e3dhbGwptjgyLjQ3NDgyNDExM3MsIGM9lRg1LCB0YXNrJelgMCwgdG90X3dhaXQ6MTIuMzcxNTEyNDM3cwkYFGV4ZWM6MA0NJYENJRQ5OTAwOXNJTgVqDDM3NTcBNghwOTUuEQAUfSwgZmluZqEAEDkzNjc3AUmioQAYMjI1NjI3Ng2UBaEYNDMuNTgywkH6Ac0ZqBgyMzIyNDc4LqgAEDUxNTI2MqkADRJZSUGiADNhViWyFG5vdChlcTmWHCwgMTUpKSwgARgUaXNudWxsGRwAKSHoBX8hFABztQwICTM4kY1hAxA1CTZfMyHTCDgwMF0TSngEYZ4AZaVlUv8EIHNjaGVtYV9pZAHiRqMFRf4JHklkCG1pbhWtADgyXwIAMUq3AAQyLHpfAhQzNTA2NjVuXwIAMUlHVV8cNjE5OTU2NDIuvgEcMjQ3LjMwOMJCvwEYNjIzNTI4NkEegbUhUyAyNTc0Mjc0cyxVaBESfmkCEDIzNDAwQQpeaQJCqwAYNjA0NjA5MS6rABQxNzAuNzdKagIUNjYyNTM5AdcRqhQzNDgwMTQBvHESERJZaQA2oeMMMzYJMEkJpdkkSGFzaEFnZ18zMV6UAV7UBQgxLjfBYEEzudFhEAESBDogxX2h1KngCDQzNqnvRa8MIDEuMwGszuAFNCwgUmVzb2x2ZUxvY2s6wWgcX3JwYzoxNDOBacH8CWQsNjI2LjZtc30JMTkw3RAAN2ENADGltv4PA84PA0o3AxZVCH0fADglizb5BQwxLjQ5IW9ChwYUOAk0M18zgUQMMAkxMGHhZYc6hQZ6aQZhj5pwAA==')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('nhbwSQqZFgoNUHJvamVjdGlvbl8xMxKDFQoHU29ydF8xNBKNFAoLSGFzaEpvaW5fMjgSnwQKDlRhYmxlUmVhZGVyXzQxErMCCgxTZWxlCUAYNDASuAEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wXjpbLWluZiwxNSksICgxNSwraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiJ0aWt2X3Rhc2s6e3RpbWU6NjM4LjTCtXMsIGxvb3BzOjB9cP//////AQMEAXgBBgUBAAEFpSyAMSdBKTxMXW6/aaEFpQRSGAWhBC50HaAULnJlb3Jn5moALBoBASGA3GsuVFrrQBltKAFAAVIRZGF0YTpTPVEMWhZ0aQHFEDU4LjHCGcUYMWKEAWNvcAnoRCB7bnVtOiAxLCBtYXg6IDkyMQ3xRHByb2Nfa2V5czogMCwgcnBjXxEpAQwFWRQgODI1LjMFWthjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9cKsBPUMQErkOCgpBMiBBZ2dfMjkS3gouHgIQMzAS5AkZIBAzNRKzBTZRAhAzNhKRAx0iFDESmwEKEEVPDEZ1bGxJTgA0JakU8O8wQSkAAQEQiMNAMAF2UAIAHno0AgggdGk2NAIYMS40OW1zLI4yAggoZTENiQRAvw2JPFKUAWdyb3VwIGJ5Om15c3E6PgIhlhxlc3NpbmcsIEofACRzY2hlbWFfaWRzUh8AEHRhYmxlCR4kZnVuY3M6bWluKEpHAERqb2JfaWQpLT5Db2x1bW4jMTji5wAc3t3d3R0+90ApcAnnQa4ED2RBrghIYXMl8AwzMVoTRVMMMi40NzU8CDJiwGKpAggxLjchZSEQWaYMdG90XwESCDogMQEdQalJtQg0MzZJxAVlGCAxLjM5cyzStQI0LCBSZXNvbHZlTG9jazphPSRfcnBjOjE0MzUsAYAEYWwJZCQ2MjYuNm1zfXC+MigEIQ8MrWz4QD4PAQCE/vYBvvYBNdo95gA1VoUBUNUCcGFydGlhbF93b3JrZXI6e3dhbA3nIbAYMzUwNjY1MyVRAG514iEPCGFzayWBADElG0hfd2FpdDoxMi4zNjE5OTU2NDJzCRgsZXhlYzoyNDcuMzA4hU4hyCWqBS0UMjM1Mjg2IbGBowFyMDI1NzQyNzRzLCBwOTUyEgAUfSwgZmluYqsAGDQyMzQwMDiuqwAYNjA0NjA5MS6rABgxNzAuNzcySqsAEDYyNTM5AdcRqhQzNDgwMTQBvBGqERIEfXDFOwEBRiICBEj+TSIIALlAZS8YLm5vdChlcTW3IDUsIDE1KSksIAEYFGlzbnVsbBkcBCkpTskBDDFw/AK9cCQaAQIhRERERCRjPmwABDhnkYFRJQQ1LI0wHGZpcnN0cm93HWyZJV0/IWIEbG/hMggxYst6PwIUNDgyNDExbj8CADBJJ1U/GDcxNTEyNDOBKUEqRT8AMC2hVTcYNzE1OTkwMCF7MY0QNDM3NTcBNjGMDRF+NQIQOTM2NzcBSQBjWuACQqEAGDIyNTYyNzYNlAWhEDQzLjU4SjQCGDcyMzIyNDchMhWoEDUxNTI2MqkADRJeNQIYUGHhk4gDByp/CGgBQAFSPGlubmVyIGpvaW4sIGVxdWFsOltlcShi8QUELCA18QQpXVlDAZsxzSw3YnVpbGRfaGFzaF/FTig6e3RvdGFsOjEuMqV0EGZldGNoFQ4FLiw6MHN9IfwQx0jSCxA6ogAAPUqMAKHByeMUOmRlc2MsTugGyaFSowAYIYsa5ZT/ID5qAE5NBwFGEG1ldGEsTmMAGYdSZwAMYg1Db53tPHCcXnj///////////8BGAE=')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (15) order by processing desc, job_id;"] [2024/05/06 16:35:13.808 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000000f, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572899519987712, lockForUpdateTS:0, minCommitTs:0, ttl: 3257, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:13.808 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000000f, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572899519987712, lockForUpdateTS:0, minCommitTs:0, ttl: 3257, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:13.808 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000000f, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572899519987712, lockForUpdateTS:0, minCommitTs:0, ttl: 3257, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:13.808 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000000f, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572899519987712, lockForUpdateTS:0, minCommitTs:0, ttl: 3257, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:13.809 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000000f, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572899519987712, lockForUpdateTS:0, minCommitTs:0, ttl: 3257, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:13.809 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000000f, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572899519987712, lockForUpdateTS:0, minCommitTs:0, ttl: 3257, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:13.809 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000000f, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572899519987712, lockForUpdateTS:0, minCommitTs:0, ttl: 3257, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:13.811 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000000f, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572899519987712, lockForUpdateTS:0, minCommitTs:0, ttl: 3257, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:13.812 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000000f, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572899519987712, lockForUpdateTS:0, minCommitTs:0, ttl: 3257, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:13.836 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572899587358720\n# Query_time: 3.087459544\n# Parse_time: 0\n# Compile_time: 0.007536527\n# Rewrite_time: 0.00089093\n# Optimize_time: 0.004450988\n# Wait_TS: 0.000104957\n# Cop_time: 3.064746827 Process_time: 0.022 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.022 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 177\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000012005\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2AP0UwEwCTMxXzcJMAkzMzIzLjMzCWRhdGE6U2VsZWN0aW9uXzYJMAl0aW1lOjMuMDdzLCBsb29wczoxLCBjb3BfdGFzazoge251bTogMSwgbWF4OiAyMy4xbXMsIHByb2Nfa2V5czogMCwgdG90X3Byb2M6IDIybXMsIHJwY19udW06IDE2NzgsIHJwY190aW1lOiAxLjg1cywgY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6e251bV9ycGM6MTY3NywgdG90YWxfdGltZTo2MTFtc30JMTc3IEJ5dGVzCU4vQQoxCTFfNgkxXzAJMzMyMy4zMwlsZShteXNxbC50aWRiX21kbF9pbmZvLnZlcnNpb24sIDYpCTAJdGlrdl90YXNrOnt0aW1lOjIyLjltNScUMH0JTi9BAQR8CjIJNDNfNQkxXzAJMTAwMDAJdGFibGU6dGlkYl9tZGwFXIgsIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkbwkwCaJwAA==')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('wASYCrsECg1UYWJsZVJlYWRlcl83EpsCCgtTZWxlY3Rpb25fNhKZAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBpAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6MjIuOW1zLCBsb29wczowfXD//////wEEBAF4AQYFAQABBYgsgE8iQSmrqqqqqvapBYgQUiJsZSgFhwAuMoYANC52ZXJzaW9uLCA2KWog2nIAAWkM6nPmQBlyJAFAAVIQZGF0YTo9NghaE3QBxwwzLjA3FcYgMWLAAWNvcF90AeegIHtudW06IDEsIG1heDogMjMuMW1zLCBwcm9jX2tleXM6IDAsIHRvdF8BEgw6IDIyAR4McnBjXwk3DDY3OCwFDwB0AWfwSSAxLjg1cywgY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6AZYgX3JwYzoxNjc3BYEMYWxfdAFkVDYxMW1zfXCxAXj///////////8BGAE=')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 6;"] [2024/05/06 16:35:13.838 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 6d446966663a313000fe0000000000000073, primary: 6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7, txnStartTS: 449572899519987712, lockForUpdateTS:0, minCommitTs:449572899519987713, ttl: 3257, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:13.840 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=594.065µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:13.855 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=550.781µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:13.871 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=597.739µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:13.885 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=548.162µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:13.905 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=491.987µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:13.927 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=2.102094ms] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:13.941 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=706.359µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:13.964 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=556.166µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:13.982 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=317.337µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:13.992 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=621.862µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:14.007 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=609.443µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:14.021 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=523.945µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:14.061 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=611.733µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:14.076 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=680.497µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:14.090 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=592.698µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:14.105 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=614.827µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:14.120 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=610.424µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:14.138 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=18.682532ms] [2024/05/06 16:35:14.151 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=618.17µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:14.166 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=534.647µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:14.180 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=701.208µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:14.194 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=542.177µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:14.210 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=682.377µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:14.225 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=643.816µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:14.241 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=757.566µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:14.270 +08:00] [ERROR] [mvcc.go:1021] ["commit failed, no correspond lock found"] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6MTT/AAAAAAAAAAD3] ["start ts"=449572899519987712] [lock="{{0 0 0 0 0 false 0 false 0} [] [] []}"] [error="retryable: lock not found"] [stack="github.com/pingcap/tidb/store/mockstore/unistore/tikv.(*MVCCStore).Commit\n\tstore/mockstore/unistore/tikv/mvcc.go:1021\ngithub.com/pingcap/tidb/store/mockstore/unistore/tikv.(*Server).KvCommit\n\tstore/mockstore/unistore/tikv/server.go:366\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:183\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).sendReqToRegion\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1421\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReqCtx\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1177\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReq\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:234\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionCommit.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:98\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1036\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:969\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:788\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:222\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitTxn\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1701\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1692\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:35:14.271 +08:00] [WARN] [session.go:1025] ["can not retry txn"] [label=internal] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 16:35:14.271 +08:00] [WARN] [session.go:1041] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [2024/05/06 16:35:14.272 +08:00] [INFO] [job_table.go:255] ["[ddl] handle ddl job failed"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:59.612 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:14.286 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=681.694µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:14.311 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=3.280771ms] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:14.329 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=558.63µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:14.342 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=599.294µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:14.357 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=587.689µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:14.371 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=552.223µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:14.372 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:59.612 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:14.386 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=616.937µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:14.408 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=9] ["start time"=603.566µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:14.431 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=10] ["start time"=731.31µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:14.445 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=10] ["start time"=863.711µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:14.462 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=10] ["start time"=835.167µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:14.486 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=10] ["start time"=871.705µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:14.535 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=10] ["start time"=849.498µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:14.535 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=20.43276ms] [2024/05/06 16:35:15.035 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572900578000896] ["min commit ts"=449572900582457345] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6MTT/AAAAAAAAAAD3] [2024/05/06 16:35:15.035 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572900535533568] [info="{StartTs:449572900535533568 AttemptedCommitTs:449572900578000896 Key:6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7 MinCommitTs:449572900582457345}"] [2024/05/06 16:35:15.040 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572900582457344\n# Query_time: 0.494758424\n# Parse_time: 0\n# Compile_time: 0.006571791\n# Rewrite_time: 0.000927823\n# Optimize_time: 0.001963779\n# Wait_TS: 0.000091383\n# Cop_time: 0.485852444 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 171\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000012455\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('0APwfTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6NDg2LjJtcywgbG9vcHM6MSwgY29wX3Rhc2s6IHtudW06IDEsIG1heDogODI1LjnCtXMsIHByb2Nfa2V5czogMCwgcnBjX251bTogNDE5LCBycGNfdAFZHCAyODkuOG1zBVHwdXJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjQxOCwgdG90YWxfdGltZToxMDVtc30JMTcxIEJ5dGVzCU4vQQoxCTFfNgkxXzAV/cBsZShteXNxbC50aWRiX21kbF9pbmZvLnZlcnNpb24sIDYpCTAJdGlrdl90YXNrOnt0AcEUNjMwLjPCAfAAbCUbFDB9CU4vQQEEXAoyCTQzXzUJMV8wCTEwMDAwCXRhYmxlOjJeAIAsIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkbwmycgA=')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('uASYCrMECg1UYWJsZVJlYWRlcl83Ep8CCgtTZWxlY3Rpb25fNhKbAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBxAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiJ0aWt2X3Rhc2s6e3RpbWU6NjMwLjPCtXMsIGxvb3BzOjB9cP///////////wF4CQgM////AQWKLIBPIkEpq6qqqqr2qQWKEFIibGUoBYkALjKIADQudmVyc2lvbiwgNilqIuJ0AAFrDOpz5kAZdCQBQAFSEGRhdGE6PToIWhV0AcsYNDg2LjJtcxHKIDFisgFjb3BfdAHtTCB7bnVtOiAxLCBtYXg6IDgyNS45BfZEcHJvY19rZXlzOiAwLCBycGNfBSkINDE5CQ4FWhQgMjg5LjgBW/BwY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6e251bV9ycGM6NDE4LCB0b3RhbF90aW1lOjEwNW1zfXCrAXj///////////8BGAE=')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 6;"] [2024/05/06 16:35:15.046 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=11] ["start time"=4.536066ms] [phyTblIDs="[14]"] [actionTypes="[8]"] [2024/05/06 16:35:15.062 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:15.062 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=15] [version=11] [2024/05/06 16:35:15.062 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=25.214267ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:59.612 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:15.569 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572900717985792] ["min commit ts"=449572900720345089] [key="dIAA///////7X3KAAAAAAAAADw=="] [2024/05/06 16:35:15.569 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572900716937216] [info="{StartTs:449572900716937216 AttemptedCommitTs:449572900717985792 Key:748000fffffffffffb5f72800000000000000f MinCommitTs:449572900720345089}"] [2024/05/06 16:35:15.572 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572900716937216\n# Query_time: 0.507343931\n# Parse_time: 0\n# Compile_time: 0.001203579\n# Rewrite_time: 0\n# Optimize_time: 0\n# Wait_TS: 0.000105516\n# Prewrite_time: 0.000517414 Commit_time: 0.001772657 Get_commit_ts_time: 0.000021522 Slowest_prewrite_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 19 Prewrite_region: 1\n# Is_internal: true\n# Digest: bdab55af0288282745b06ae511bf5258d90e46fca67dd2e2ef0faca225d2d599\n# Num_cop_tasks: 0\n# Mem_max: 8587\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('oQPwTDAJMjlfMgkwCTAJTi9BCTAJdGltZToxLjQ0bXMsIGxvb3BzOjEsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo1MTcuNMK1cywgZ2V0X2NvCSQgczoyMS41wrVzETcQOjEuNzcBTyBzbG93ZXN0X3ANQehfcnBjOiB7dG90YWw6IDAuMDAwcywgcmVnaW9uX2lkOiAyLCBzdG9yZTogc3RvcmUxLCB9LCBjb21taQFFEGltYXJ5RkQAADGKRAANZAhudW0B3gXOEF9rZXlzGQ7wQ2J5dGU6MTl9CTM5NSBCeXRlcwlOL0EKMQkzNl8xCTAJMQl0YWJsZTp0aWRiX21kbF9pbmZvLCBoYW5kbGU6MTUJMQl0IUsMOTg0LikkKU0oMiwgR2V0OntudW0FuwwxLCB0IQAAXyV5RDcwMy4zwrVzfQlOL0EJTi9BCg==')\n# Plan_digest: ca2b8c61a8ea82f17bacb18dbe38cd4b008fc18663d28963f5ced78ed80210d7\n# Binary_plan: tidb_decode_binary_plan('0QN4CswDCghEZWxldGVfMhKVAQoLUG9pbnRfR2V0XzEpAAUB8HnwPzABOAFAAUoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUgloYW5kbGU6MTVaFnRpbWU6OTg0LjTCtXMsIGxvb3BzOjJiJEdldDp7bnVtX3JwYzoxLCB0b3RhbF90aW1lOjcwMy4zwrVzfXD///////////8BeP///wkMBX0YUgNOL0FaFAVdEDEuNDRtFVtwMWL6AWNvbW1pdF90eG46IHtwcmV3cml0ZTo1MTcNhQxnZXRfESQoczoyMS41wrVzLCAJExA6MS43NwFQHHNsb3dlc3RfEUEAXwGqkCB7dG90YWw6IDAuMDAwcywgcmVnaW9uX2lkOiAyLCBzdG9yZToJBwwxLCB9EVUcX3ByaW1hcnlGRAAAMYpEAA1kGG51bToxLCAFzhBfa2V5cxkOXGJ5dGU6MTl9cIsDeP///////////wEYAQ==')\ndelete from mysql.tidb_mdl_info where job_id = 15;"] [2024/05/06 16:35:15.575 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572900720345088\n# Query_time: 0.502016065\n# Parse_time: 0\n# Compile_time: 0.005369939\n# Rewrite_time: 0.00091939\n# Optimize_time: 0.002092598\n# Wait_TS: 0.000087842\n# Cop_time: 0.480831325 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 183\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000011148\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('0APwbTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkxCXRpbWU6NDgxLjNtcywgbG9vcHM6MiwgY29wX3Rhc2s6IHtudW06IDEsIG1heDogMS4xNm1zLCBwcm9jX2tleXM6IDAsIHJwY19uASckMzkxLCBycGNfdAFXECAzMzIuBS/wW2NvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjM5MCwgdG90YWxfdGltZTo4BWNIfQkxODMgQnl0ZXMJTi9BCjEJMQHfBF8wFfyIbGUobXlzcWwudGlkYl9tZGxfaW5mby52ZXJzaW9uLCAxMSklDwhrdl8F+QR7dAHDIDk4OS45wrVzLC0bBDB9AV8BBBwKMgk0M181CQFkLDEwMDAwCXRhYmxlOjJfAHwsIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkb7ZyAA==')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('vgTwQAq5BAoNVGFibGVSZWFkZXJfNxKkAgoLU2VsZWN0aW9uXzYSnQEKD1RhYmxlRnVsbFNjYW5fNSEAAAAAIGUhQSkAAQrwdYjDQDABOAJAAkoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUh5rZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG9qInRpa3ZfdGFzazp7dGltZTo5ODkuOcK1cywgbG9vcHM6MH1w////////////AXj///8JDEQBIQAAAACATyJBKauqqqqq9qkNjBRSI2xlKG0BiwQudC6KADQudmVyc2lvbiwgMTEpauZ3AAFuDOpz5kAudwAkAUABUhBkYXRhOj1BBFoVBdAUNDgxLjNtFc8cMmKxAWNvcF8F8kgge251bTogMSwgbWF4OiAxLjE2ASpEcHJvY19rZXlzOiAwLCBycGNfBScIMzkxCQ4FWBAgMzMyLgUv8Ftjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzozOTAsIHRvdGFsX3RpbWU6OAVjQH1wtwF4////////////ARgB')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 11;"] [2024/05/06 16:35:15.637 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=13.732146ms] [2024/05/06 16:35:15.649 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:59.612 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:15.808 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=15] [2024/05/06 16:35:15.809 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:15.811 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 16.228041948\n# Parse_time: 0\n# Compile_time: 0.002867059\n# Rewrite_time: 0.000014365\n# Optimize_time: 0\n# Wait_TS: 0.000098584\n# DB: mysql\n# Is_internal: true\n# Digest: a19edbb3caff8cc57619278ab6eb5f791d7a821432309abe7184d0a7bca66b4d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.columns_priv( Host CHAR(255), DB CHAR(64), User CHAR(32), Table_name CHAR(64), Column_name CHAR(64), Timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, Column_priv SET('Select','Insert','Update','References'), PRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 16:35:15.816 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [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(1024) DEFAULT NULL);"] [user=] [2024/05/06 16:35:16.421 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572900941332481] ["min commit ts"=449572901043568641] [key="dIAA///////+X3KAAAAAAAAAEQ=="] [2024/05/06 16:35:16.422 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572900938186752] [info="{StartTs:449572900938186752 AttemptedCommitTs:449572900941332481 Key:748000fffffffffffe5f728000000000000011 MinCommitTs:449572901043568641}"] [2024/05/06 16:35:16.424 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572900938186752\n# Query_time: 0.532357891\n# Parse_time: 0\n# Compile_time: 0.017795687\n# Rewrite_time: 0.000327942\n# Optimize_time: 0.001962789\n# Wait_TS: 0.006669568\n# Prewrite_time: 0.000661483 Commit_time: 0.001393373 Get_commit_ts_time: 0.000019575 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 2678 Prewrite_region: 1\n# Is_internal: true\n# Digest: 1b73a00c73a03d7dc9dd08a1ea99474b2523e5f72366f740be5156fa244256c4\n# Num_cop_tasks: 0\n# Mem_max: 11330\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('0gLwbTAJMjdfMQkwCTAJTi9BCTAJdGltZTozLjY0bXMsIGxvb3BzOjEsIHByZXBhcmU6IDMuMTZtcywgaW5zZXJ0OjQ3NC44wrVzLCBjb21taXRfdHhuOiB7cHJld3JpdGU6NjYxLjXCtXMsIGdldF9jDSQUczoxOS42HTcQOjEuMzkBcRxzbG93ZXN0XxFB2F9ycGM6IHt0b3RhbDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0b3JlOiBzdG9yZTEsIH0sIGMJaBhwcmltYXJ51kQADWQIbnVtIQAFzhBfa2V5cxkOWGJ5dGU6MjY3OH0JMy4wNiBLQglOL0EK')\n# Binary_plan: tidb_decode_binary_plan('3QLoCtgCCghJbnNlcnRfMTgBQAFSA04vQVoUdGltZTozLjY0bXMsIGxvb3BzOjFiIHByZXBhcmU6IDMuMTYBGgRpbgE6wDo0NzQuOMK1c2L8AWNvbW1pdF90eG46IHtwcmV3cml0ZTo2NjEuNcK1cywgZ2V0X2MNJBRzOjE5LjYFFwk3EDoxLjM5AVgcc2xvd2VzdF8RQZhfcnBjOiB7dG90YWw6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG8BmwBzAQcQMSwgfSwNVRxfcHJpbWFyedZEAA1kGG51bToxLCAFzhBfa2V5cxkOZGJ5dGU6MjY3OH1wwhh4////////////ARgB')\ninsert into mysql.tidb_ddl_job(job_id, reorg, schema_ids, table_ids, job_meta, type, processing) values(17, false, \"1\", \"16\", 0x7b226964223a31372c2274797065223a332c22736368656d615f6964223a312c227461626c655f6964223a31362c22736368656d615f6e616d65223a226d7973716c222c227461626c655f6e616d65223a22676c6f62616c5f7661726961626c6573222c227374617465223a382c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b7b226964223a31362c226e616d65223a7b224f223a22474c4f42414c5f5641524941424c4553222c224c223a22676c6f62616c5f7661726961626c6573227d2c2263686172736574223a22757466386d6234222c22636f6c6c617465223a22757466386d62345f62696e222c22636f6c73223a5b7b226964223a312c226e616d65223a7b224f223a225641524941424c455f4e414d45222c224c223a227661726961626c655f6e616d65227d2c226f6666736574223a302c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a31352c22466c6167223a343039392c22466c656e223a36342c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a322c226e616d65223a7b224f223a225641524941424c455f56414c5545222c224c223a227661726961626c655f76616c7565227d2c226f6666736574223a312c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a31352c22466c6167223a302c22466c656e223a313032342c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d5d2c22696e6465785f696e666f223a5b7b226964223a312c226964785f6e616d65223a7b224f223a225052494d415259222c224c223a227072696d617279227d2c2274626c5f6e616d65223a7b224f223a22222c224c223a22227d2c226964785f636f6c73223a5b7b226e616d65223a7b224f223a225641524941424c455f4e414d45222c224c223a227661726961626c655f6e616d65227d2c226f6666736574223a302c226c656e677468223a2d317d5d2c227374617465223a352c226261636b66696c6c5f7374617465223a302c22636f6d6d656e74223a22222c22696e6465785f74797065223a312c2269735f756e69717565223a747275652c2269735f7072696d617279223a747275652c2269735f696e76697369626c65223a66616c73652c2269735f676c6f62616c223a66616c73657d5d2c22636f6e73747261696e745f696e666f223a6e756c6c2c22666b5f696e666f223a6e756c6c2c227374617465223a302c22706b5f69735f68616e646c65223a66616c73652c2269735f636f6d6d6f6e5f68616e646c65223a66616c73652c22636f6d6d6f6e5f68616e646c655f76657273696f6e223a302c22636f6d6d656e74223a22222c226175746f5f696e635f6964223a302c226175746f5f69645f6361636865223a302c226175746f5f72616e645f6964223a302c226d61785f636f6c5f6964223a322c226d61785f6964785f6964223a312c226d61785f666b5f6964223a302c226d61785f6373745f6964223a302c227570646174655f74696d657374616d70223a302c225368617264526f77494442697473223a302c226d61785f73686172645f726f775f69645f62697473223a302c226175746f5f72616e646f6d5f62697473223a302c226175746f5f72616e646f6d5f72616e67655f62697473223a302c227072655f73706c69745f726567696f6e73223a302c22706172746974696f6e223a6e756c6c2c22636f6d7072657373696f6e223a22222c2276696577223a6e756c6c2c2273657175656e6365223a6e756c6c2c224c6f636b223a6e756c6c2c2276657273696f6e223a352c227469666c6173685f(len:5401);"] [2024/05/06 16:35:16.425 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:15.875 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:16.425 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:15.875 +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(1024) DEFAULT NULL);"] [2024/05/06 16:35:16.571 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:15.875 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:16.663 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=2.081476ms] [phyTblIDs="[16]"] [actionTypes="[8]"] [2024/05/06 16:35:16.711 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:16.712 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=17] [version=12] [2024/05/06 16:35:16.713 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=56.72368ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:15.875 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:16.794 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:15.875 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:17.130 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=26.485057ms] [2024/05/06 16:35:17.352 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572901185650688] ["min commit ts"=449572901283692545] [key=bURETEpvYkhp/3N0b3J5AAAA/AAAAAAAAABoAAAAAAAAABH/AAAAAAAAAAD3] [2024/05/06 16:35:17.352 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572901168349184] [info="{StartTs:449572901168349184 AttemptedCommitTs:449572901185650688 Key:6d44444c4a6f624869ff73746f7279000000fc00000000000000680000000000000011ff0000000000000000f7 MinCommitTs:449572901283692545}"] [2024/05/06 16:35:17.369 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=17] [2024/05/06 16:35:17.369 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:17.371 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.556337438\n# Parse_time: 0\n# Compile_time: 0.001927601\n# Rewrite_time: 0.000015013\n# Optimize_time: 0\n# Wait_TS: 0.000086862\n# DB: mysql\n# Is_internal: true\n# Digest: 55c1ea537145da60f32339dc7a3b69a3859f3f428fbae4e4023eb71dca836f47\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES( VARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY, VARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [2024/05/06 16:35:17.372 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572901185126401\n# Query_time: 0.555156863\n# Parse_time: 0\n# Compile_time: 0.046414085\n# Rewrite_time: 0.015761807\n# Optimize_time: 0.017159576\n# Wait_TS: 0.000073202\n# Cop_time: 0.497475877 Process_time: 0.001 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0005 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12630\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('0BO4MAkzXzEzCTAJMjIzMC4yMQlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwRnByb2Nlc3NpbmcJMAl0aW1lOjUwMi44bXMsIGxvb3BzOjEsIENvbmN1cnJlbmN5OjUJMTEuOCBLQglOL0EKMQkxNF8xNAkwboAAGWMUOmRlc2MsTocAFGpvYl9pZC6DAAAzHYMcCTAgQnl0ZXMRCBwKMgkxN18yOB34VGlubmVyIGpvaW4sIGVxdWFsOltlcShaDgE4aWQsIENvbHVtbiMxNSldHXcddXQsIGJ1aWxkX2hhc2hfdGFibGU6e3RvdGFsOjEuMjUBKRBmZXRjaBUOBS4MOjBzfRGmEQgkCjMJMzFfNDEoQgFQACkdtUBkYXRhOlNlbGVjdGlvbl80MBGKGDY2OS45wrUuhQFwY29wX3Rhc2s6IHtudW06IDEsIG1heDogODcyLjQFKyFoNF9rZXlzOiAwLCBycGNfESkBDCXcFCA3NzcuOAUumGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbjX5HCAxNX0JMTcxLYoYTi9BCjQJMQG0BDFfcn8CDHJlb3JJXQRrdgnCAHsFjBA1OTQuMgWLSWkEMH0BVQEEHAo1CTQ0XzM5BVocNjY2Ni42Nwkpgi7ZAvA8LCByYW5nZTpbLWluZiwxNyksICgxNywraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCUHtopAALDMJNl8yOShQcm9iZSHANDY0MDAJZ3JvdXAgYnk6VUpALCBmdW5jczpmaXJzdHJvdygVGggpLT4VDDHkEDUwMC45QUcJ/1gxLCBwYXJ0aWFsX3dvcmtlcjp7d2FsbCm4ASwUNjI2MjI0ATEAYz2XCDUsIEEWJetcMCwgdG90X3dhaXQ6Mi40OTgyMjI2MzdzCRcUZXhlYzowDQ0lggUkGDMxNjk0MXNJTiQ0OTkuNjkzMzY2AWgIcDk1MhIAFH0sIGZpbmKhABA3ODYyOWUZnqEAGDkwODQ0MjINlAWhEDY5LjgxSdABzBWoFDkxODU4NAErQfYBqBA5MTI3NiVBEagREllJQaIAM2FWJbIUbm90KGVxOZYcLCAxNykpLCABGBRpc251bGwZHAApIegFfgFsJQ8tqAgJMziRj2EFEDUJNl8zIdUEODAuFQJKegRhoABlpWsALE4DBSBzY2hlbWFfaWQhjAR5cz7GBWUACR5JZghtaW4VrwA4MmECADEZuQAxIcgJuQAybmECIDQ5OC43ODMyN3JhAgAxSUpVYRgxNTE2MTY2LsABHDMyMi40ODHCgbwywQEYMTk4MDYwNAHdBGF4BXAQNTk2NzQFcCnBADgVEmppAiWODDU1MzAl+l5pAj6pABgzODMxMzg5LqkAGDE3My41MDNGqQAUNDAzOTIwYTYRqRQ4OTQwNTchShGpERJZagA2oeQMMzYJMEkIpdokSGFzaEFnZ18zMTmTADcu9AMEMiyhh6kVACA21wUMMS40MwVyBHJvvdUhUgESBDogJdmh2KXkCDI0OKnyRbIMIDI1NulAzuUFNCwgUmVzb2x2ZUxvY2s6AZYcX3JwYzoyNDcl/gBhjZMJygx9CTE5Lg4DADdhDgAxpbn+EAPOEANKOAMWWgh9IAA4JY02/AXx0mkq3YoUOAk0M18zgUcMMAkxMGHiZYg6iAZ6bAZhkJpwAA==')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('pRbwSQqgFgoNUHJvamVjdGlvbl8xMxKIFQoHU29ydF8xNBKQFAoLSGFzaEpvaW5fMjgSnwQKDlRhYmxlUmVhZGVyXzQxErMCCgxTZWxlCUAYNDASuAEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wXjpbLWluZiwxNyksICgxNywraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiJ0aWt2X3Rhc2s6e3RpbWU6NTk0LjLCtXMsIGxvb3BzOjB9cP//////AQMEAXgBBgUBAAEFpSyAMSdBKbgZ4xJpbKEFpQRSGAWhBC50HaAULnJlb3Jn5moALBoBASGG7n9tulrrQBltKAFAAVIRZGF0YTpTPVEwWhZ0aW1lOjY2OS45whnFGDFihAFjb3AJ6Ewge251bTogMSwgbWF4OiA4NzIuNAUsRHByb2Nfa2V5czogMCwgcnBjXxEpAQwFWRQgNzc3LjgFLthjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9cKsBPUMQErwOCgpBMiBBZ2dfMjkS4QouHgIQMzAS5QkZIBAzNRK1BTZRAhAzNhKRAx0iFDESmwEKEEVPDEZ1bGxJTgA0JakU8O8wQSkAAQEQiMNAMAF2UAIAHno0AgggdGk2NAIYMS4yNW1zLI4yAggoZTENiQRAvw2JPFKUAWdyb3VwIGJ5Om15c3E6PgIhlhxlc3NpbmcsIEofACRzY2hlbWFfaWRzUh8AEHRhYmxlCR4kZnVuY3M6bWluKEpHAERqb2JfaWQpLT5Db2x1bW4jMTji5wAc3t3d3R0+90ApcAnnQa4ED2RBrghIYXMl8AwzMVoVRVMQNDk3Ljk5PggyYsBiqwIMMS40MwEqIRNZqQx0b3RfARIIOiAxAR1BrEW4CDI0OEnGBWcQIDI1Ni4FPs65AjQsIFJlc29sdmVMb2NrOmFBIF9ycGM6MjQ3LAGABGFsCWUJywh9cL4yKgQhEQytbPhAPhEBAIT++AG++AE13D3oADU1hwQ5LiVABGxvgfdYMmLSAnBhcnRpYWxfd29ya2VyOnt3YWwN6CQ0OTguNzgzMjc0IXIAY33mGDUsIHRhc2slggAxJRxEX3dhaXQ6Mi40OTE1MTYxNjZzCRcsZXhlYzozMjIuNDgxhVEhyCWrBSwUOTgwNjA0QdUEYXgFcBA1OTY3NAVwCHA5NTISABR9LCBmaW5aqQAYOS42NTUzMEVinqkAGDM4MzEzODkuqQAYMTczLjUwM0apABg0MDM5MjA3HakUODk0MDU3IRkRqRESBH1wxTwBAUYhAgRI/k0hCAC5QGUwGC5ub3QoZXE1tiA1LCAxNykpLCABGBRpc251bGwZHAQpKT3IADYBfSnIDDFw/AK9cyQaAQIhRERERCRjPm4ABDhnkYRRJgQ1LI0zHGZpcnN0cm93HW6ZKFFACDUwMC7HAwgxYslqQAIBLRA2MjYyMiXQXpcBADBJKVVAFDgyMjI2MyFrQStFQAAwLaRVOBg4MzE2OTQxNY8YOS42OTMzNiUSKY8ZEmo4AgGhEDc4NjI5pdieoQAYOTA4NDQyMg2UBaEQNjkuODHpXwG1FagUOTE4NTg0AStJ4Bg5LjkxMjc2RacRqBESXjcCHB3tB37IAwdBNhUIWDxpbm5lciBqb2luLCBlcXVhbDpbZXEoYvQFBCwgNfEMKV1aEwWiCDUwMl1DMGI3YnVpbGRfaGFzaF/FURg6e3RvdGFs1fkQZmV0Y2gVDgUuLDowc30homwt/boMEDqiAAA9SowAocEEZXPB5hQ6ZGVzYyxO6wbJpE3oCDUwMqnPTegYIcEWRHvrIT5sAE5SBwFIEG1ldGEsTmUAGYkdaQA4Lg4BDA1Db24i1ghANXCcXnj///////////8BGAE=')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (17) order by processing desc, job_id;"] [2024/05/06 16:35:17.380 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [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 16:35:17.943 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572901339791360] ["min commit ts"=449572901345296385] [key="dIAA///////+X3KAAAAAAAAAEw=="] [2024/05/06 16:35:17.944 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572901339267072] [info="{StartTs:449572901339267072 AttemptedCommitTs:449572901339791360 Key:748000fffffffffffe5f728000000000000013 MinCommitTs:449572901345296385}"] [2024/05/06 16:35:17.947 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572901339267072\n# Query_time: 0.521393074\n# Parse_time: 0\n# Compile_time: 0.014133059\n# Rewrite_time: 0.000333715\n# Optimize_time: 0.002255386\n# Wait_TS: 0.000107268\n# Prewrite_time: 0.000668464 Commit_time: 0.001709787 Get_commit_ts_time: 0.000022777 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 3106 Prewrite_region: 1\n# Is_internal: true\n# Digest: 1b73a00c73a03d7dc9dd08a1ea99474b2523e5f72366f740be5156fa244256c4\n# Num_cop_tasks: 0\n# Mem_max: 11758\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('1gLYMAkyN18xCTAJMAlOL0EJMAl0aW1lOjkxNi43wrVzLCBsb29wczoxLCBwcmVwYXJlOiA0NTUuMQUcJGluc2VydDo0NjENLWhjb21taXRfdHhuOiB7cHJld3JpdGU6NjY4LjUFMQxnZXRfESQUczoyMi44BRcJE0A6MS43MW1zLCBzbG93ZXN0XxFB0F9ycGM6IHt0b3RhbDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0b3JlOiBzdG9yZTEsIH0sDVUcX3ByaW1hcnnWRAANZAhudW0hAgXOEF9rZXlzGQ5YYnl0ZTozMTA2fQkzLjQ4IEtCCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('4QLwPgrcAgoISW5zZXJ0XzE4AUABUgNOL0FaFnRpbWU6OTE2LjfCtXMsIGxvb3BzOjFiInByZXBhcmU6IDQ1NS4xwgEcBGluAT4MOjQ2MQUteGL8AWNvbW1pdF90eG46IHtwcmV3cml0ZTo2NjguNcIBMgxnZXRfESQUczoyMi44BRcJE0A6MS43MW1zLCBzbG93ZXN0XxFBmF9ycGM6IHt0b3RhbDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0bwGdAHMBBxAxLCB9LA1VHF9wcmltYXJ51kQADWQYbnVtOjEsIAXOEF9rZXlzGQ5kYnl0ZTozMTA2fXDuG3j///////////8BGAE=')\ninsert into mysql.tidb_ddl_job(job_id, reorg, schema_ids, table_ids, job_meta, type, processing) values(19, false, \"1\", \"18\", 0x7b226964223a31392c2274797065223a332c22736368656d615f6964223a312c227461626c655f6964223a31382c22736368656d615f6e616d65223a226d7973716c222c227461626c655f6e616d65223a2274696462222c227374617465223a382c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b7b226964223a31382c226e616d65223a7b224f223a2274696462222c224c223a2274696462227d2c2263686172736574223a22757466386d6234222c22636f6c6c617465223a22757466386d62345f62696e222c22636f6c73223a5b7b226964223a312c226e616d65223a7b224f223a225641524941424c455f4e414d45222c224c223a227661726961626c655f6e616d65227d2c226f6666736574223a302c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a31352c22466c6167223a343039392c22466c656e223a36342c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a322c226e616d65223a7b224f223a225641524941424c455f56414c5545222c224c223a227661726961626c655f76616c7565227d2c226f6666736574223a312c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a31352c22466c6167223a302c22466c656e223a313032342c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a332c226e616d65223a7b224f223a22434f4d4d454e54222c224c223a22636f6d6d656e74227d2c226f6666736574223a322c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a31352c22466c6167223a302c22466c656e223a313032342c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d5d2c22696e6465785f696e666f223a5b7b226964223a312c226964785f6e616d65223a7b224f223a225052494d415259222c224c223a227072696d617279227d2c2274626c5f6e616d65223a7b224f223a22222c224c223a22227d2c226964785f636f6c73223a5b7b226e616d65223a7b224f223a225641524941424c455f4e414d45222c224c223a227661726961626c655f6e616d65227d2c226f6666736574223a302c226c656e677468223a2d317d5d2c227374617465223a352c226261636b66696c6c5f7374617465223a302c22636f6d6d656e74223a22222c22696e6465785f74797065223a312c2269735f756e69717565223a747275652c2269735f7072696d617279223a747275652c2269735f696e76697369626c65223a66616c73652c2269735f676c6f62616c223a66616c73657d5d2c22636f6e73747261696e745f696e666f223a6e756c6c2c22666b5f696e666f223a6e756c6c2c227374617465223a302c22706b5f69735f68616e646c65223a66616c73652c22(len:6257);"] [2024/05/06 16:35:17.948 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:17.398 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:17.948 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:17.398 +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 16:35:17.958 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572901345296384\n# Query_time: 0.506360731\n# Parse_time: 0\n# Compile_time: 0.014675699\n# Rewrite_time: 0.002723721\n# Optimize_time: 0.009267443\n# Wait_TS: 0.000103185\n# Cop_time: 0.960983299 Process_time: 0.001 Request_count: 2\n# Is_internal: true\n# Digest: 1a96197a635ab3d1c0fc027ce178d8aa751e4bd033c39db6163d3ba75b49fe3f\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0005 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 1951\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('vxOgMAkzXzEzCTAJMTAJbXlzcWwudGlkYl9kZGxfam9iLmpvYl9tZXRhLCBKHQDwRnByb2Nlc3NpbmcJMAl0aW1lOjQ4Ni4zbXMsIGxvb3BzOjEsIENvbmN1cnJlbmN5Ok9GRgkxLjM2IEtCCU4vQQoxCTE0XzE0Yn0AGWAYOmRlc2MsIEqEAAGhBGlkXoAAHAkwIEJ5dGVzEQgcCjIJMTdfMjgJc1Rpbm5lciBqb2luLCBlcXVhbDpbZXEoYmUAMCwgQ29sdW1uIzE1KV0dcjLwAHBidWlsZF9oYXNoX3RhYmxlOnt0b3RhbDo0ODAuOAEqEGZldGNoGQ8FMAw6MHN9EaMRCCQKMwkzMV80MShCAVIAKQmyQGRhdGE6U2VsZWN0aW9uXzQwGYcIMC41AV81eWhjb3BfdGFzazoge251bTogMSwgbWF4OiAxLjQBKCFcNF9rZXlzOiAwLCB0b3RfARIIOiAxAR0McnBjXwU1DDIxNCwFDiXeDCAzMDkJPphjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb241+kQgMTV9LCBSZXNvbHZlTG9jazoBlRxfcnBjOjIxMwWABGFsCWUIMTE0AWQQfQkxNzUtvRhOL0EKNAkxAe8EMV9FqlBub3QoaXN0cnVlX3dpdGhfbnVsbChKuQEUcmVvcmcpIT0MdGlrdikQAHsFzAgxLjFdqQQwfQFlAQQcCjUJNDNfMzkNagwwMDAJKcguFwN8LCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG8llppwACwzCTZfMjkoUHJvYmUBqTQ2NDAwCWdyb3VwIGJ5OlVyQCwgZnVuY3M6Zmlyc3Ryb3coFRoIKS0+FQwFeWWICDUuMiHKVQ9IcGFydGlhbF93b3JrZXI6e3dhbC1xIDQ4NC45OTc3NkXJAGM9tgg1LCBBQgBfQQtNJUB3YWl0OjIuNDA5Njg0NDk1cyW8GF9leGVjOjANDSVgBSQQNzc1NDMBJEF6IDQ4MS45OTM3MkVjCHA5NTISABR9LCBmaW5aoQAYNS4xNTUzMQXSmqEAGDEwMDU2NTgBfUHdBaEcNzYuOTMxwrU6qAAgMTAxNzcwNjdzaSIgNDgyLjA4ODg3BW8JqBkSWSlBkgAzYYElskmSRYg1jk15JZAFTS2OCAkzOJGYQdsQNQk2XzMhuwA4QW41+0rPAmGjAGWlcVIMBSBzY2hlbWFfaWQBykbMBUXICR5JTAhtaW4VrQA4VkcCCDEuOaJHAhgxLjcwNjA1BeqapgEYMDcxMTU5MS2RJaVCRgIYNzIxNDgzOQHUBGF4RTQQNDgyNTiJxk1GERJyRgIYMS44Njg5MqUnoqAAFDg1NzMzOC6hABQ2OS4yMDNCRgIcMDc5NTk2NjQdqBA2Mjk1MCUPEagREllGADah5gwzNgkwKf4AZKHhJEhhc2hBZ2dfMzF50AAxOlgHXt8FEDgzOS41BZ1BLbnitdMIMzIxLtMFCDI1Mwla/tMFvdMEMzKJLrXTEDMzLjFtpdMAMb3TADdB+AAxpWn++gLO+gJKIgMWTQh9Cg4pCD46BhA2MzEuOCViac/dPAQ4CcE8gRnBpmHOZXT+PAZqcgA=')\n# Plan_digest: 03fa0f18132c15290435ccd6930c03fe7257c7017164897b1e5acdd3c92e1828\n# Binary_plan: tidb_decode_binary_plan('phbwSQqhFgoNUHJvamVjdGlvbl8xMxKHFQoHU29ydF8xNBKPFAoLSGFzaEpvaW5fMjgS0AQKDlRhYmxlUmVhZGVyXzQxEqkCCgxTZWxlCUAYNDASmQEKEAUkUEZ1bGxTY2FuXzM5IQAAAADw7zBBKQEJ8HEAiMNAOAJAAkoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSHmtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkb2ogdGlrdl90YXNrOnt0aW1lOjEuMTNtcywgbG9vcHM6MH1w////////////AXj///8JDAABBYcIIGUxDYcEACQFh1hSL25vdChpc3RydWVfd2l0aF9udWxsKAWYAC4ulwAcLnJlb3JnKSnefwA0GgEBIVVVVVWVj/JAKQAFATQkQDgBQAFSEWRhdGE6Uz1HNFoVdGltZTo0ODAuNW1zEdkYMWLAAWNvcAn6RCB7bnVtOiAxLCBtYXg6IDEuNAEpRHByb2Nfa2V5czogMCwgdG90XwESCDogMQEdDHJwY18FNQwyMTQsBQ4FZgwgMzA5CT7wVWNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjIxMywgdG90YWxfBWUIMTE0AWQMfXCvAT2TEBKIDgoKQWMgQWdnXzI5Eq0KLk8CEDMwEssJGSAQMzUSpwU2ggIQMzYSkQMdIggxEptGgAIANCX5/oACXYAEInQ6gAIcNjMxLjjCtXMxqQAwboICAChVggRAv0mCLJQBZ3JvdXAgYnk6bWEPAC4ydwIhwRxlc3NpbmcsIEofACRzY2hlbWFfaWRzUh8AEHRhYmxlCR4kZnVuY3M6bWluKEpHAERqb2JfaWQpLT5Db2x1bW4jMTjq5wAY3t3d3R0+903nAedB5wQPZEHnCEhhcyXuBDMxVeUEMS59vggxYrRi5QIQODM5LjUlaCEVWehV2QgzMjEu2QIIMjUzCVv+2QJd2QgzMjBlWVXZIDMzLjFtc31wqy7ZAiUDCK1s+DoDAQCE/uoBvuoBNc492gA1PXkAOYEYdGxvb3BzOjFiyAJwYXJ0aWFsX3dvcmtlcjp7d2FsbIklJDQ4MS43MDYwNTIBMgBjnQUYNSwgdGFza4VaKRtAX3dhaXQ6Mi40MDcxMTU5MXMlMRhfZXhlYzowDQ2FFQUjFDIxNDgzOUG+BGF4BWcQNDgyNTiJzgQ5NTISABR9LCBmaW5ioAAQODY4OTKlMKKgABQ4NTczMzgNlAWhFDY5LjIwM0VloT8ZqBQ5NTk2NjQdqBA2Mjk1MCUPEagREl7/A2EYCK1I/k0VBAC5qf8AFsmBxXcxsBA1KSlaEwV8BDQ4BWMtpAhw/AK9PyQaAQIhRERERCRjPlQABDhnkVIVUgAsjQEcZmlyc3Ryb3cdbHn2WRwENS4ueAAEYslyHAIcNC45OTc3NjauHAIYOTY4NDQ5NS58AUIdAhQ5Nzc1NDMBJFEdEDk5Mzcyxc4xdRESch0CGDUuMTU1MzEF05odAhgxMDA1NjU4AX1BCUUdFDc2LjkzMUIdAhwxMDE3NzA2N1UdGDIuMDg4ODcFbwmoGRJeHQIYFK5H4Qx7CCqeCGgBQAFSPGlubmVyIGpvaW4sIGVxdWFsOltlcShiwgUELCA18QQpXVVDJZlNQzBiOWJ1aWxkX2hhc2hfxR8YOnt0b3RhbBJvCAA4IcMQZmV0Y2gZDwUwLDowc30hnasFOSp+CDqkAAA9So4AoaHJthQ6ZGVzYyxOuwbJdJWOADaprA2nBWwA6kJsAE4iBwFIEG1ldGEsTmUAGYlaaQAQYg9Db24i0whIT0ZGcPQKeP///////////wEYAQ==')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and not reorg order by processing desc, job_id;"] [2024/05/06 16:35:18.603 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572901511495680\n# Query_time: 0.508846128\n# Parse_time: 0\n# Compile_time: 0.001497302\n# Rewrite_time: 0.009262951\n# Optimize_time: 0.012176466\n# Wait_TS: 0.000108635\n# Prewrite_time: 0.000769512 Commit_time: 0.000681195 Get_commit_ts_time: 0.000025487 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 3106 Prewrite_region: 1\n# Is_internal: true\n# Digest: bb9a0484a27cea37dfc9b79800bc11ddc72f4ac11810a6eb126d600a567ce029\n# Num_cop_tasks: 0\n# Mem_max: 12183\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('ogPwTDAJMjhfMwkwCTAJTi9BCTAJdGltZToxLjY3bXMsIGxvb3BzOjEsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo3NjkuNcK1cywgZ2V0X2NvCSQQczoyNS4JFwk3TDo2ODEuMsK1cywgc2xvd2VzdF9wDUPQX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwNVxxfcHJpbWFyedZEAA1kCG51bQHgBdAQX2tleXMZDvA+Ynl0ZTozMTA2fQkzLjkwIEtCCU4vQQoxCTM2XzEJMAkxCXRhYmxlOnRpZGJfZGRsX2pvYiwgaGFuZGxlOjE5ASAhTAg0MzMN/SlOKDIsIEdldDp7bnVtBboMMSwgdAH/AF8FLkQxNTkuOcK1c30JTi9BCU4vQQo=')\n# Plan_digest: 3fea32741ba131a439f08d925bc0d60ce688c732cc613c6d3625da6592028edc\n# Binary_plan: tidb_decode_binary_plan('1AN4Cs8DCghVcGRhdGVfMxKUAQoLUG9pbnRfR2V0XzEpAAUB8HXwPzABOAFAAUoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSCWhhbmRsZToxOVoWdGltZTo0MzMuMsK1cywgbG9vcHM6MmIkR2V0OntudW1fcnBjOjEsIHRvdGFsX3RpbWU6MTU5LjnCtXN9cP///////////wF4CQgI////BXwYUgNOL0FaFAkvGC42N21zLCAJW3wxYv4BY29tbWl0X3R4bjoge3ByZXdyaXRlOjc2OS41wgGFDGdldF8RJAxzOjI1DRcJExA6NjgxLgmtHHNsb3dlc3RfEUMYX3JwYzogewWrdDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0b3JlOgkHEDEsIH0sDVccX3ByaW1hcnnWRAANZBhudW06MSwgBdAQX2tleXMZDmRieXRlOjMxMDZ9cJcfeP///////////wEYAQ==')\nupdate mysql.tidb_ddl_job set processing = 1 where job_id = 19;"] [2024/05/06 16:35:18.607 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:17.398 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:21.745 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000013, primary: 6d44423a3100000000fb00000000000000685461626c653a3138ff0000000000000000f7, txnStartTS: 449572901645713408, lockForUpdateTS:0, minCommitTs:0, ttl: 3109, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:21.745 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000013, primary: 6d44423a3100000000fb00000000000000685461626c653a3138ff0000000000000000f7, txnStartTS: 449572901645713408, lockForUpdateTS:0, minCommitTs:0, ttl: 3109, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:21.745 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000013, primary: 6d44423a3100000000fb00000000000000685461626c653a3138ff0000000000000000f7, txnStartTS: 449572901645713408, lockForUpdateTS:0, minCommitTs:0, ttl: 3109, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:21.752 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572901678743552\n# Query_time: 3.034200834\n# Parse_time: 0\n# Compile_time: 0.018530109\n# Rewrite_time: 0.000893548\n# Optimize_time: 0.007142948\n# Wait_TS: 0.000100502\n# Cop_time: 3.010931295 Process_time: 0.002 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.002 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 177\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000012918\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('1wPwhjAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6My4wMXMsIGxvb3BzOjEsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDRtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMm1zLCBycGNfbnVtOiAxNTIxLCBycGNfdAFiFCAxLjgxcwVa8HlyX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzoxNTIwLCB0b3RhbF90aW1lOjY5OS4zbXN9CTE3NyBCeXRlcwlOL0EKMQkxXzYJMV8wCTEHqGxlKG15c3FsLnRpZGJfbWRsX2luZm8udmVyc2lvbiwgMTIpCTAJdGlrdl8lBgR7dAHDEDIuMzZtNSYUMH0JTi9BAQQcCjIJNDNfNQkBYiwxMDAwMAl0YWJsZToyXQC4LCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG8JMAl0aWt2X3Rhc2s6e3RycAA=')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('vwSYCroECg1UYWJsZVJlYWRlcl83EpwCCgtTZWxlY3Rpb25fNhKZAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBpAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6Mi4zNm1zLCBsb29wczowfXD//////wEEBAF4AQYFAQABBYgsgE8iQSmrqqqqqvapBYgQUiNsZSgFhwAuMoYAOC52ZXJzaW9uLCAxMilqINpzAAFqDOpz5kAZcyQBQAFSEGRhdGE6PTcIWhN0AcgMMy4wMRXHIDFivgFjb3BfdAHosCB7bnVtOiAxLCBtYXg6IDRtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMgEdDHJwY18JMww1MjEsBQ8FYwwgMS44AWTwT2NvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjE1MjAsAYAMYWxfdAHHXDY5OS4zbXN9cLEBeP///////////wEYAQ==')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 12;"] [2024/05/06 16:35:21.755 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 6d446966663a313300fe0000000000000073, primary: 6d44423a3100000000fb00000000000000685461626c653a3138ff0000000000000000f7, txnStartTS: 449572901645713408, lockForUpdateTS:0, minCommitTs:449572901645713409, ttl: 3109, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:21.760 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572901681627136\n# Query_time: 3.060180998\n# Parse_time: 0\n# Compile_time: 0.050417481\n# Rewrite_time: 0.006142249\n# Optimize_time: 0.036639783\n# Wait_TS: 0.000084069\n# Cop_time: 2.997272388 Process_time: 0.001 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0005 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12630\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('txO4MAkzXzEzCTAJMjIzMS41NAlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwQHByb2Nlc3NpbmcJMAl0aW1lOjNzLCBsb29wczoxLCBDb25jdXJyZW5jeTo1CTExLjggS0IJTi9BCjEJMTRfMTQJcnsAGV4YOmRlc2MsIFqfAARpZEp+ABwJMCBCeXRlcxEIHAoyCTE3XzI4He5UaW5uZXIgam9pbiwgZXF1YWw6W2VxKGJlAAHQIGx1bW4jMTUpXUpyAKAsIGJ1aWxkX2hhc2hfdGFibGU6e3RvdGFsOjkzNC4zwrVzLCBmZXRjaB0QBTIMOjBzfRGnEQgkCjMJMzFfNDEoQgFUACkdtkBkYXRhOlNlbGVjdGlvbl80MBGLEDU5NS40BWY1gWhjb3BfdGFzazoge251bTogMSwgbWF4OiA4MzAFKSFiNF9rZXlzOiAwLCBycGNfEScBDCXRDCA3NDgNveBjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9CTE3MSApiSH4CDQJMQGyBDFfcvkBDHJlb3JJUgRrdgnAAHsFjBA2MTguNgW5CeIEMH0BVQEEHAo1CTQ0XzM5BVocNjY2Ni42NwkphC7OAvA8LCByYW5nZTpbLWluZiwxOSksICgxOSwraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCUHiopAALDMJNl8yOShQcm9iZSG+ODY0MDAJZ3JvdXAgYnk6Q1FJQCwgZnVuY3M6Zmlyc3Ryb3coFRoIKS0+FQwx4jJdA0xwYXJ0aWFsX3dvcmtlcjp7d2FsbCmzCDMuMAEBCDkyMAExAGM9kgg1LCBBDyXmYDAsIHRvdF93YWl0OjE0Ljk5ODI3ODM1OHMJGBRleGVjOjANDSV+CSUMMzc3NgEkQUgQMi45OTkBEBwwNXMsIHA5NTISABR9LCBmaW5mogAcNjYxMjY2cyymogAYOTM2ODY4OQ2VBaIQNTkuODZJ9gHOGakcOTQ1NzUxN3NJ8gWqEDkyMDI0AXEVqg0SWUdBoAAzYVIlsBRub3QoZXE5lBwsIDE5KSksIAEYFGlzbnVsbBkcACkh5gV/IXVJoAwxCTM4kYdB/hA1CTZfMyHOBDgwLg4CSnIEYZkAZaVZUvYEIHNjaGVtYV9pZAHfRpcFRfkJHklfCG1pbhWqADgyWgIAMT60AAgyLCBmWgIAMkEnEDY3NDE4IVleWgIAMUlCVVoYODk5NTM1NEEkIaQluBwyNTAuMzAzwqEVARUlOkViFDAzNjc2NC5jAhQ4MjQ2NDUh9zG5ERJqYwIBqxQ5NDY1MzAh8p6rABQ5Mjk0OTg2YwIIMjAyWmQCFDMzMjQ3OCHwcQ4YODcxMjg5NH0OERJZZAA2odoMMzYJMEkHpdAkSGFzaEFnZ18zMVKSAV7IBRAzLjc3bQFtBHJvvcghUAESCDogMQEdocup1wg3MzWp5iVuDCAxLjchVc7XBTQsIFJlc29sdmVMb2NrOsFdIF9ycGM6MTczNCX9AGGNiyA3MDFtc30JMTkuBwMAN2EHADGlq/4JA84JA0oxAxRqb2JfaWR9GQA4JYc27gUMMS4zNSFQadzdfBQ4CTQzXzOBOwgwCTGhelJ6BnpeBmGJmnAA')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('jBbwSQqHFgoNUHJvamVjdGlvbl8xMxL0FAoHU29ydF8xNBKBFAoLSGFzaEpvaW5fMjgSnQQKDlRhYmxlUmVhZGVyXzQxErMCCgxTZWxlCUAYNDASuAEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wXjpbLWluZiwxOSksICgxOSwraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiJ0aWt2X3Rhc2s6e3RpbWU6NjE4LjbCtXMsIGxvb3BzOjB9cP//////AQMEAXgBBgUBAAEFpSyAMSdBKTPnaLcSb6EFpQRSGAWhBC50HaAULnJlb3Jn5moALBoBASGMAJSsIFvrQBltKAFAAVIRZGF0YTpTPVEwWhZ0aW1lOjU5NS40whnFGDFiggFjb3AJ6EQge251bTogMSwgbWF4OiA4MzAFKkRwcm9jX2tleXM6IDAsIHJwY18RJwEMBVcUIDc0OC4zBS7YY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fXCrAT1BEBKuDgoKQTAgQWdnXzI5EtUKLhwCEDMwEt4JGSAQMzUSrwU2TwIQMzYSkQMdIhQxEpsBChBFTQxGdWxsSUwANCWnFPDvMEEpAAEBEIjDQDABdk4CAB56MgIIIHRpNjICGDEuMzVtcyyOMAIIKGUxDYkEQL8NiTxSlAFncm91cCBieTpteXNxOjwCIZYcZXNzaW5nLCBKHwAkc2NoZW1hX2lkc1IfABB0YWJsZQkeJGZ1bmNzOm1pbihKRwBEam9iX2lkKS0+Q29sdW1uIzE44ucAHN7d3d0dPvdAKXAJ50GsBA9kQawISGFzJfAMMzFaEEVTADM1OQgyYr9ipAIMMy43NyFjIQ5ZpAx0b3RfARIIOiAxAR1Bp0mzCDczNUnCBWMYIDEuNzlzLNKzAjQsIFJlc29sdmVMb2NrOmE5JF9ycGM6MTczNCwBgARhbAlkHDcwMW1zfXC+MiIEIQsMrWz4QD4LAQCE/vIBvvIBNdY94gA1SoEBUNYCcGFydGlhbF93b3JrZXI6e3dhbA3iKDIuOTk4Njc0MTg3JUwAbnXbGDUsIHRhc2slfAAxJRZIX3dhaXQ6MTQuOTg5OTUzNTQ1cwkYLGV4ZWM6MjUwLjMwM4VHIcMlpQEtHDkwMzY3NjQ4QcwEYXgJchAyNDY0NSG+CHA5NTISABR9LCBmaW5iqwAYOTQ2NTMwNqqrABg5Mjk0OTg4AWwBlgmrEDAyLjg2qUoBFRmrFDMzMjQ3OEG+FascNzEyODk0cywZqw0SBH1wxTMBAUYgAgRI/k0gCAC5QGUpGC5ub3QoZXE1tSA1LCAxOSkpLCABGBRpc251bGwZHAQpKULHAQwxcPwCvWckGgECIUREREQkYz5pAAQ4Z5F4USAINSwgiSccZmlyc3Ryb3cdaZkcRjoCCDFizGo6AggzLjABAQg5MjAhLwBjWjoCADBJIlU6GDk4Mjc4MzVBDSF6JY8AME1HOYcQODM3NzYBJDGGADkBEAAwQXBRMRESajECBaIQNjYxMjZuMQJCogAQOTM2ODY2MQIENTlaMAIUOTQ1NzUxYTsVqhA5MjAyNAFxFaoNEl4wAhjpeC5oCAQHKnIIaAFAAVI8aW5uZXIgam9pbiwgZXF1YWw6W2VxKGLmBQQsIDXvBCldRj4CMGI7YnVpbGRfaGFzaF/FQCg6e3RvdGFsOjkzNO39EGZldGNoHRAFMiw6MHN9Icl8GbWjDRA6owAAPUqNAKG5ydkQOmRlc2NSvwbJl0akABgheMcoZdciPmcATkAHAUMQbWV0YSxOPgcZhEZkAAxiDUNvneQ8cJxeeP///////////wEYAQ==')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (19) order by processing desc, job_id;"] [2024/05/06 16:35:22.228 +08:00] [ERROR] [mvcc.go:1021] ["commit failed, no correspond lock found"] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6MTj/AAAAAAAAAAD3] ["start ts"=449572901645713408] [lock="{{0 0 0 0 0 false 0 false 0} [] [] []}"] [error="retryable: lock not found"] [stack="github.com/pingcap/tidb/store/mockstore/unistore/tikv.(*MVCCStore).Commit\n\tstore/mockstore/unistore/tikv/mvcc.go:1021\ngithub.com/pingcap/tidb/store/mockstore/unistore/tikv.(*Server).KvCommit\n\tstore/mockstore/unistore/tikv/server.go:366\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:183\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).sendReqToRegion\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1421\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReqCtx\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1177\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReq\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:234\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionCommit.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:98\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1036\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:969\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:788\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:222\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitTxn\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1701\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1692\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:35:22.229 +08:00] [WARN] [session.go:1025] ["can not retry txn"] [label=internal] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 16:35:22.229 +08:00] [WARN] [session.go:1041] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [2024/05/06 16:35:22.230 +08:00] [INFO] [job_table.go:255] ["[ddl] handle ddl job failed"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:17.398 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:22.254 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=24.524276ms] [2024/05/06 16:35:22.277 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:17.398 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:22.346 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=363.599µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:22.360 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=286.004µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:22.386 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=288.271µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:22.415 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=261.644µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:22.445 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=6.797103ms] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:22.468 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=14] ["start time"=2.135103ms] [phyTblIDs="[18]"] [actionTypes="[8]"] [2024/05/06 16:35:22.512 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:22.512 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=19] [version=14] [2024/05/06 16:35:22.514 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=64.944014ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:17.398 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:22.523 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=12.431731ms] [2024/05/06 16:35:23.023 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572902672007168] ["min commit ts"=449572902683279361] [key="dIAA///////7X3KAAAAAAAAAEw=="] [2024/05/06 16:35:23.023 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572902670434304] [info="{StartTs:449572902670434304 AttemptedCommitTs:449572902672007168 Key:748000fffffffffffb5f728000000000000013 MinCommitTs:449572902683279361}"] [2024/05/06 16:35:23.036 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572902670434304\n# Query_time: 0.520034421\n# Parse_time: 0\n# Compile_time: 0.001385294\n# Rewrite_time: 0\n# Optimize_time: 0\n# Wait_TS: 0.000085282\n# Prewrite_time: 0.000581472 Commit_time: 0.011748421 Get_commit_ts_time: 0.000021699 Slowest_prewrite_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 19 Prewrite_region: 1\n# Is_internal: true\n# Digest: bdab55af0288282745b06ae511bf5258d90e46fca67dd2e2ef0faca225d2d599\n# Num_cop_tasks: 0\n# Mem_max: 8587\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('nwPwTDAJMjlfMgkwCTAJTi9BCTAJdGltZTo0LjE4bXMsIGxvb3BzOjEsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo1ODEuNcK1cywgZ2V0X2NvCSQgczoyMS43wrVzETcQOjExLjcBTyBzbG93ZXN0X3ANQehfcnBjOiB7dG90YWw6IDAuMDAwcywgcmVnaW9uX2lkOiAyLCBzdG9yZTogc3RvcmUxLCB9LCBjb21taQFFEGltYXJ5QkQABDExikQADWQIbnVtAd4FzhBfa2V5cxkO8ENieXRlOjE5fQkzOTUgQnl0ZXMJTi9BCjEJMzZfMQkwCTEJdGFibGU6dGlkYl9tZGxfaW5mbywgaGFuZGxlOjE5CTEJdCFLDDMuNjUB/ClLKDIsIEdldDp7bnVtBbkMMSwgdAH+AF8ld0QxNDkuN8K1c30JTi9BCU4vQQo=')\n# Plan_digest: ca2b8c61a8ea82f17bacb18dbe38cd4b008fc18663d28963f5ced78ed80210d7\n# Binary_plan: tidb_decode_binary_plan('zwN4CsoDCghEZWxldGVfMhKTAQoLUG9pbnRfR2V0XzEpAAUB8G3wPzABOAFAAUoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUgloYW5kbGU6MTlaFHRpbWU6My42NW1zLCBsb29wczoyYiRHZXQ6e251bV9ycGM6MSwgdG90YWxfdGltZToxNDkuN8K1c31w/////wUEBAF4BQcBAQV7EFIDTi9BDVsQNC4xOG0VW6AxYvoBY29tbWl0X3R4bjoge3ByZXdyaXRlOjU4MS41wrVzLCBnZXRfYw0kKHM6MjEuN8K1cywgCTcQOjExLjcBUBxzbG93ZXN0XxFBBaqQIHt0b3RhbDogMC4wMDBzLCByZWdpb25faWQ6IDIsIHN0b3JlOgkHDDEsIH0RVRxfcHJpbWFyeUJEAAQxMYpEAA1kGG51bToxLCAFzhBfa2V5cxkOCGJ5dCFtQH1wiwN4////////////ARgB')\ndelete from mysql.tidb_mdl_info where job_id = 19;"] [2024/05/06 16:35:23.100 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572902683279360\n# Query_time: 0.550511988\n# Parse_time: 0\n# Compile_time: 0.012951938\n# Rewrite_time: 0.007177843\n# Optimize_time: 0.002200772\n# Wait_TS: 0.000103686\n# Cop_time: 0.505392755 Process_time: 0.063 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.063 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 189\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000014242\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('3APwfTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkxCXRpbWU6NTE3LjNtcywgbG9vcHM6MiwgY29wX3Rhc2s6IHtudW06IDEsIG1heDogNjMuOW1zLCBwcm9jX2tleXM6IDAsIHRvdF9wcm9jOiA2M21zLCBycGNfbgU3IDI4LCBycGNfdAFnHCAzNDguNW1zBV/wdXJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjEyNywgdG90YWxfdGltZTo4Mi42bXN9CTE4OSBCeXRlcwlOL0EKMQkxXzYJMV85DIhsZShteXNxbC50aWRiX21kbF9pbmZvLnZlcnNpb24sIDE0KSUfCGt2XyUJBHt0AcMMNjMuNgHBAGwlKRQwfQlOL0EBBFwKMgk0M181CTFfMAkxMDAwMAl0YWJsZToyXQB8LCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG+ucAA=')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('ygSYCsUECg1UYWJsZVJlYWRlcl83EqACCgtTZWxlY3Rpb25fNhKbAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBxAIjDQDABOAJAAkoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUh5rZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG9qIHRpa3ZfdGFzazp7dGltZTo2My42bXMsIGxvb3BzOjB9cP///////////wF4CQgM////AQWKLIBPIkEpq6qqqqr2qQ2KEFIjbGUoBYkALjKIADAudmVyc2lvbiwgMTQp4nUAAWwM6nPmQC51ACQBQAFSEGRhdGE6PT00WhV0aW1lOjUxNy4zbXMRzRgyYsEBY29wCe5IIHtudW06IDEsIG1heDogNjMuOQEqRHByb2Nfa2V5czogMCwgdG90XwESASABHgxycGNfCTcIMjgsBQ4FaBQgMzQ4LjUBIfBxY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6e251bV9ycGM6MTI3LCB0b3RhbF90aW1lOjgyLjZtc31wvQF4////////////ARgB')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 14;"] [2024/05/06 16:35:23.228 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:17.398 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:23.353 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=19] [2024/05/06 16:35:23.358 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:23.360 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 5.983485469\n# Parse_time: 0\n# Compile_time: 0.003302523\n# Rewrite_time: 0.000011696\n# Optimize_time: 0\n# Wait_TS: 0.000087756\n# DB: mysql\n# Is_internal: true\n# Digest: 0cc4a9cf54472ccff7c4fb8d7c6e34e6bd96af08b450ad4c9677473f1f517cf2\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tidb( VARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY, VARIABLE_VALUE VARCHAR(1024) DEFAULT NULL, COMMENT VARCHAR(1024));"] [2024/05/06 16:35:23.372 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [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 16:35:23.534 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:23.414 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:23.534 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:23.414 +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 16:35:23.681 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:23.414 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:24.011 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=3.086324ms] [phyTblIDs="[20]"] [actionTypes="[8]"] [2024/05/06 16:35:24.038 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=11.904079ms] [2024/05/06 16:35:24.069 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:24.070 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=21] [version=15] [2024/05/06 16:35:24.070 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=110.680232ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:23.414 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:24.142 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:23.414 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:24.265 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=21] [2024/05/06 16:35:24.273 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:24.275 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.909507186\n# Parse_time: 0\n# Compile_time: 0.006232411\n# Rewrite_time: 0.000013058\n# Optimize_time: 0\n# Wait_TS: 0.000083218\n# DB: mysql\n# Is_internal: true\n# Digest: ca851971407336dad93908a9f88f01d828a4e18f332111987f4a7675bced7ea4\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.help_topic ( help_topic_id INT(10) UNSIGNED NOT NULL, name CHAR(64) NOT NULL, help_category_id SMALLINT(5) UNSIGNED NOT NULL, description TEXT NOT NULL, example TEXT NOT NULL, url TEXT NOT NULL, PRIMARY KEY (help_topic_id) clustered, UNIQUE KEY name (name) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 16:35:24.289 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [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 16:35:24.458 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:24.333 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:24.458 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:24.333 +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 16:35:24.563 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:24.333 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:24.743 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=2.541918ms] [phyTblIDs="[22]"] [actionTypes="[8]"] [2024/05/06 16:35:24.762 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:24.762 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=23] [version=16] [2024/05/06 16:35:24.762 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=31.088718ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:24.333 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:24.811 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:24.333 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:24.951 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=23] [2024/05/06 16:35:24.951 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:24.962 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.676085355\n# Parse_time: 0\n# Compile_time: 0.00361678\n# Rewrite_time: 0.000013428\n# Optimize_time: 0\n# Wait_TS: 0.000082989\n# DB: mysql\n# Is_internal: true\n# Digest: db16a74bd407cb00f071eafe96456094f48fc00e802128fc486ef4847b8910b0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_meta ( version BIGINT(64) UNSIGNED NOT NULL, table_id BIGINT(64) NOT NULL, modify_count BIGINT(64) NOT NULL DEFAULT 0, count BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, snapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, INDEX idx_ver(version), UNIQUE INDEX tbl(table_id) );"] [2024/05/06 16:35:24.979 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [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 16:35:24.981 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [2024/05/06 16:35:25.329 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=24.234881ms] [2024/05/06 16:35:25.596 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572903346503680] ["min commit ts"=449572903401553920] [key="dIAA///////+X3KAAAAAAAAAGQ=="] [2024/05/06 16:35:25.596 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572903345717248] [info="{StartTs:449572903345717248 AttemptedCommitTs:449572903346503680 Key:748000fffffffffffe5f728000000000000019 MinCommitTs:449572903401553920}"] [2024/05/06 16:35:25.598 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572903345717248\n# Query_time: 0.543435662\n# Parse_time: 0\n# Compile_time: 0.038082811\n# Rewrite_time: 0.000392361\n# Optimize_time: 0.003879364\n# Wait_TS: 0.000074747\n# Prewrite_time: 0.000775122 Commit_time: 0.001877433 Get_commit_ts_time: 0.00002208 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 8163 Prewrite_region: 1\n# Is_internal: true\n# Digest: 1b73a00c73a03d7dc9dd08a1ea99474b2523e5f72366f740be5156fa244256c4\n# Num_cop_tasks: 0\n# Mem_max: 20911\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('1gLYMAkyN18xCTAJMAlOL0EJMAl0aW1lOjk1OS44wrVzLCBsb29wczoxLCBwcmVwYXJlOiA0NjguNwUcLGluc2VydDo0OTEuMQURYGNvbW1pdF90eG46IHtwcmV3cml0ZTo3NzUNIAxnZXRfESQMczoyMg0XCRNAOjEuODhtcywgc2xvd2VzdF8RQdBfcnBjOiB7dG90YWw6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG9yZTogc3RvcmUxLCB9LA1VHF9wcmltYXJ51kQADWQIbnVtIQIFzhBfa2V5cxkOWGJ5dGU6ODE2M30JOC40MiBLQglOL0EK')\n# Binary_plan: tidb_decode_binary_plan('4QLwPgrcAgoISW5zZXJ0XzE4AUABUgNOL0FaFnRpbWU6OTU5LjjCtXMsIGxvb3BzOjFiInByZXBhcmU6IDQ2OC43wgEcBGluAT6QOjQ5MS4xwrVzYvwBY29tbWl0X3R4bjoge3ByZXdyaXRlOjc3NQUhFCwgZ2V0XxEkDHM6MjINFwkTQDoxLjg4bXMsIHNsb3dlc3RfEUGYX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvAZ0AcwEHEDEsIH0sDVUcX3ByaW1hcnnWRAANZBhudW06MSwgBc4QX2tleXMZDmRieXRlOjgxNjN9cK9DeP///////////wEYAQ==')\ninsert into mysql.tidb_ddl_job(job_id, reorg, schema_ids, table_ids, job_meta, type, processing) values(25, false, \"1\", \"24\", 0x7b226964223a32352c2274797065223a332c22736368656d615f6964223a312c227461626c655f6964223a32342c22736368656d615f6e616d65223a226d7973716c222c227461626c655f6e616d65223a2273746174735f686973746f6772616d73222c227374617465223a382c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b7b226964223a32342c226e616d65223a7b224f223a2273746174735f686973746f6772616d73222c224c223a2273746174735f686973746f6772616d73227d2c2263686172736574223a22757466386d6234222c22636f6c6c617465223a22757466386d62345f62696e222c22636f6c73223a5b7b226964223a312c226e616d65223a7b224f223a227461626c655f6964222c224c223a227461626c655f6964227d2c226f6666736574223a302c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a382c22466c6167223a343130352c22466c656e223a36342c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a322c226e616d65223a7b224f223a2269735f696e646578222c224c223a2269735f696e646578227d2c226f6666736574223a312c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a312c22466c6167223a343039372c22466c656e223a322c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a332c226e616d65223a7b224f223a22686973745f6964222c224c223a22686973745f6964227d2c226f6666736574223a322c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a382c22466c6167223a343039372c22466c656e223a36342c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a342c226e616d65223a7b224f223a2264697374696e63745f636f756e74222c224c223a2264697374696e63745f636f756e74227d2c226f6666736574223a332c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a382c22466c6167223a343039372c22466c656e223a36342c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d(len:16371);"] [2024/05/06 16:35:25.604 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:24.995 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:25.604 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:24.995 +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 16:35:25.617 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572903400505345\n# Query_time: 0.343769638\n# Parse_time: 0\n# Compile_time: 0.037696764\n# Rewrite_time: 0.002404669\n# Optimize_time: 0.032630009\n# Wait_TS: 0.00007636\n# Cop_time: 0.529315116 Process_time: 0.003 Request_count: 2\n# Is_internal: true\n# Digest: 1a96197a635ab3d1c0fc027ce178d8aa751e4bd033c39db6163d3ba75b49fe3f\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0015 Cop_proc_p90: 0.003 Cop_proc_max: 0.003 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 1975\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('vxOgMAkzXzEzCTAJMTAJbXlzcWwudGlkYl9kZGxfam9iLmpvYl9tZXRhLCBKHQDwRnByb2Nlc3NpbmcJMAl0aW1lOjI3My45bXMsIGxvb3BzOjEsIENvbmN1cnJlbmN5Ok9GRgkxLjM2IEtCCU4vQQoxCTE0XzE0Yn0AGWAYOmRlc2MsIEqEAAGhBGlkXoAAHAkwIEJ5dGVzEQgcCjIJMTdfMjgJc1Rpbm5lciBqb2luLCBlcXVhbDpbZXEoYmUAMCwgQ29sdW1uIzE1KV0ucgAANzLyAGhidWlsZF9oYXNoX3RhYmxlOnt0b3RhbDoyNzIpHBBmZXRjaBkPBTAMOjBzfRGlEQgkCjMJMzFfNDEoQgFSACkJtEBkYXRhOlNlbGVjdGlvbl80MBmJCDIuNjKJAGxjb3BfdGFzazoge251bTogMSwgbWF4OiAzLjI0ASkhXzRfa2V5czogMCwgdG90XwESCDogMwEdDHJwY18JNggwNywFDiXhFCAxODMuOAEhmGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbjX9RCAxNX0sIFJlc29sdmVMb2NrOgGWHF9ycGM6MTA2BYAEYWwJZSA3NW1zfQkxNzctvRhOL0EKNAkxAe0EMV9FqlBub3QoaXN0cnVlX3dpdGhfbnVsbChKuQEUcmVvcmcpITsMdGlrdikOAHsFyQwzLjA1AcdJqQQwfQFlAQQcCjUJNDNfMzkNagwwMDAJKcYuFwN8LCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG8llJpwACwzCTZfMjkoUHJvYmUBqTQ2NDAwCWdyb3VwIGJ5OlVyQCwgZnVuY3M6Zmlyc3Ryb3coFRoIKS0+FQwFeWGIBDY1OpYCSHBhcnRpYWxfd29ya2VyOnt3YWwtbgEsEDUzODM0JRAAYz2zCDUsIEFAAF9BCE0iQHdhaXQ6MS4zMjY3MDYzNzlzJbkYX2V4ZWM6MA0NJWAJJBQ3NzgwM3NJeAFoFDM4NzA2MSF4CHA5NTISABR9LCBmaW5WoQAcNzEuMDMzMTiFWp6hABgxOTUyMDY4DZQFoRw1Ny45OTHCtQ0UFagUMjAzNTcxLqgAEDQ5Mzc1BW8RqBESWSlBkgAzYX8lskmSRYg1jk15LZBlV0lvDDEJMziRmkHdEDUJNl8zIb0AOEFwNf1K0QJhogBlpXNSDgUgc2NoZW1hX2lkIXRGzgVFygkeSU4IbWluFa8AOF5JAgAyIbANuQAsekkCEDA1NDg3pRCeqAEYNDA3MjAyNi2UJahCSQIUNDIwODk0QW2BwSAyNjQuOTIwOTKF7ymhGRJuSQIcNjUuMjMwODKy6gIYNTEyMDgzNS6hABA1NC45MUpJAhg1MjAxODkxIX0EYXhF3wwwNTk3NvECERJZSQA2oecMMzYJMCn/AGSh4iRIYXNoQWdnXzMxedMANDrTA17gBRA3NzEuOEXmQS654rnTADg20wVx+v7RBbnRADg+0QUBu6HTADG90wA3QfYAMaVp/vgCzvgCSiADFk0IfQgOKQg+OgYQNjA2LjQlX2kU3TwEOAnBPIEZwaZhzGVy/jwGanIA')\n# Plan_digest: 03fa0f18132c15290435ccd6930c03fe7257c7017164897b1e5acdd3c92e1828\n# Binary_plan: tidb_decode_binary_plan('phbwSQqhFgoNUHJvamVjdGlvbl8xMxKHFQoHU29ydF8xNBKPFAoLSGFzaEpvaW5fMjgSzgQKDlRhYmxlUmVhZGVyXzQxEqkCCgxTZWxlCUAYNDASmQEKEAUkUEZ1bGxTY2FuXzM5IQAAAADw7zBBKQEJ8HEAiMNAOAJAAkoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSHmtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkb2ogdGlrdl90YXNrOnt0aW1lOjMuMDVtcywgbG9vcHM6MH1w////////////AXj///8JDAABBYcIIGUxDYcEACQFh1hSL25vdChpc3RydWVfd2l0aF9udWxsKAWYAC4ulwAcLnJlb3JnKSnefwA0GgEBIVVVVVWVj/JAKQAFATQkQDgBQAFSEWRhdGE6Uz1HNFoVdGltZToyNzIuNm1zEdkYMWK+AWNvcAn6SCB7bnVtOiAxLCBtYXg6IDMuMjQBKkRwcm9jX2tleXM6IDAsIHRvdF8BEgg6IDMBHQxycGNfCTYIMDcsBQ4FZxQgMTgzLjgBIfBVY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6e251bV9ycGM6MTA2LCB0b3RhbF8FZRw3NW1zfXCxAT2REBKIDgoKQWEgQWdnXzI5Eq0KLk0CEDMwEskJGSAQMzUSpAU2gAIQMzYSkQMdIggxEptGfgIANCX3/n4CXX4EInQ6fgIcNjA2LjTCtXMxpwAwboACAChVgARAv0mALJQBZ3JvdXAgYnk6bWENAC4ydQIhvhxlc3NpbmcsIEofACRzY2hlbWFfaWRzUh8AEHRhYmxlCR4kZnVuY3M6bWluKEpHAERqb2JfaWQpLT5Db2x1bW4jMTjq5wAY3t3d3R0+903lAedB5QQPZEHlCEhhcyXuBDMxUeMMNjQuN0F7IGxvb3BzOjFisWLjAhA3NzEuOCVoIRVZ5VnWADg21gIANIUV/tQCLtQCADg+1AIBvAh9cKsu1gIlAAitbPg6AAEAhP7nAb7nATXLPdcANTV2CDUuMi52AVTJAnBhcnRpYWxfd29ya2VyOnt3YWxsiR8gMjY1LjA1NDg3JagAY33/GDUsIHRhc2uFVAAwiW5Ad2FpdDoxLjMyNDA3MjAyNnMJFxRleGVjOjANDYUQBSQUMjA4OTQ5QbwIYXg6QQsQOTIwOTKF8whwOTUyEgAUfSwgZmluYqEAEDIzMDgyLfAAbpWgbqEAGDUxMjA4MzUNlAWhFDU0LjkxMUVjoToVqBg1MjAxODkxFaghEAw5NzYxIUIJqBkSXv0DYRYIrUj+TRYEALmp+wAWyX3FczGxCDUpKT2npbltHQhw/AK9PyQaAQIhRERERCRjPlYABDhnkVIVVAAsjQEcZmlyc3Ryb3cdbnn2Lh8CJe0NeIIfAgw1MzgzcW6WfgEUNjcwNjM3IfshaiV+Qh8CGDY3Nzc4MDM9dwwzODcwNncBERJuHwIgNzEuMDMzMTg5IbCewAIYMTk1MjA2ODIfAgw3Ljk5Sh8CFDIwMzU3MS6oABA0OTM3NQVvUR8REl4fAhgUrkfhDHsIKpwIaAFAAVI8aW5uZXIgam9pbiwgZXF1YWw6W2VxKGLCBQQsIDXxBCldUUUENzM2zQEsOWJ1aWxkX2hhc2hfxSEYOnt0b3RhbBJvCAW1EGZldGNoGQ8FMCw6MHN9IZ2rBTkqfgg6pgAAPUqQAKGjybgUOmRlc2MsTr0GyXYdpwV9TXQFbADqQmwATiQHAUgQbWV0YSxOZQAZiVppAAxiD0NvWbRIT0ZGcPQKeP///////////wEYAQ==')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and not reorg order by processing desc, job_id;"] [2024/05/06 16:35:25.828 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:24.995 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:26.262 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=3.87307ms] [phyTblIDs="[24]"] [actionTypes="[8]"] [2024/05/06 16:35:26.312 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:26.313 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=25] [version=17] [2024/05/06 16:35:26.315 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=112.98522ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:24.995 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:26.450 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:24.995 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:26.457 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=15.84575ms] [2024/05/06 16:35:26.623 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=25] [2024/05/06 16:35:26.623 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:26.625 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.654494237\n# Parse_time: 0\n# Compile_time: 0.008375458\n# Rewrite_time: 0.000012814\n# Optimize_time: 0\n# Wait_TS: 0.000080836\n# DB: mysql\n# Is_internal: true\n# Digest: 7780c45a0aac5f123ac85a7e601e79c5d7779e7c09a19953908e547605ed45d2\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_histograms ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, distinct_count BIGINT(64) NOT NULL, null_count BIGINT(64) NOT NULL DEFAULT 0, tot_col_size BIGINT(64) NOT NULL DEFAULT 0, modify_count BIGINT(64) NOT NULL DEFAULT 0, version BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, cm_sketch BLOB(6291456), stats_ver BIGINT(64) NOT NULL DEFAULT 0, flag BIGINT(64) NOT NULL DEFAULT 0, correlation DOUBLE NOT NULL DEFAULT 0, last_analyze_pos LONGBLOB DEFAULT NULL, UNIQUE INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:35:26.642 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [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 16:35:27.242 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572903774846976\n# Query_time: 0.541211502\n# Parse_time: 0\n# Compile_time: 0.02855421\n# Rewrite_time: 0.00030242\n# Optimize_time: 0.004768874\n# Wait_TS: 0.000081801\n# Prewrite_time: 0.000869127 Commit_time: 0.000879425 Get_commit_ts_time: 0.000024057 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 6160 Prewrite_region: 1\n# Is_internal: true\n# Digest: 1b73a00c73a03d7dc9dd08a1ea99474b2523e5f72366f740be5156fa244256c4\n# Num_cop_tasks: 0\n# Mem_max: 18908\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('1gLwZTAJMjdfMQkwCTAJTi9BCTAJdGltZToxLjA4bXMsIGxvb3BzOjEsIHByZXBhcmU6IDQ2MC44wrVzLCBpbnNlcnQ6NjIwLjLCtXMsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo4NjkuMQUxFGdldF9jbwkkFHM6MjQuMQUXCRMYOjg3OS40wgFIIHNsb3dlc3RfcA1D0F9ycGM6IHt0b3RhbDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0b3JlOiBzdG9yZTEsIH0sDVccX3ByaW1hcnnWRAANZAhudW0hBAB3AdAQX2tleXMZDlhieXRlOjYxNjB9CTYuNDYgS0IJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('4QLweQrcAgoISW5zZXJ0XzE4AUABUgNOL0FaFHRpbWU6MS4wOG1zLCBsb29wczoxYiJwcmVwYXJlOiA0NjAuOMK1cywgaW5zZXJ0OjYyMC4ywrVzYv4BY29tbWl0X3R4bjoge3ByZXdyaXRlOjg2OS4xwrVzLCBnZXRfY29tBSQUczoyNC4xBRcJNxg6ODc5LjTCAVokc2xvd2VzdF9wcglDmF9ycGM6IHt0b3RhbDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0bwGfAHMBBxAxLCB9LA1XHF9wcmltYXJ51kQADWRAbnVtOjEsIHdyaXRlX2tleXMZDmRieXRlOjYxNjB9cNwzeP///////////wEYAQ==')\ninsert into mysql.tidb_ddl_job(job_id, reorg, schema_ids, table_ids, job_meta, type, processing) values(27, false, \"1\", \"26\", 0x7b226964223a32372c2274797065223a332c22736368656d615f6964223a312c227461626c655f6964223a32362c22736368656d615f6e616d65223a226d7973716c222c227461626c655f6e616d65223a2273746174735f6275636b657473222c227374617465223a382c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b7b226964223a32362c226e616d65223a7b224f223a2273746174735f6275636b657473222c224c223a2273746174735f6275636b657473227d2c2263686172736574223a22757466386d6234222c22636f6c6c617465223a22757466386d62345f62696e222c22636f6c73223a5b7b226964223a312c226e616d65223a7b224f223a227461626c655f6964222c224c223a227461626c655f6964227d2c226f6666736574223a302c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a382c22466c6167223a343130352c22466c656e223a36342c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a322c226e616d65223a7b224f223a2269735f696e646578222c224c223a2269735f696e646578227d2c226f6666736574223a312c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a312c22466c6167223a343039372c22466c656e223a322c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a332c226e616d65223a7b224f223a22686973745f6964222c224c223a22686973745f6964227d2c226f6666736574223a322c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a382c22466c6167223a343039372c22466c656e223a36342c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a342c226e616d65223a7b224f223a226275636b65745f6964222c224c223a226275636b65745f6964227d2c226f6666736574223a332c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a382c22466c6167223a343039372c22466c656e223a36342c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a6661(len:12365);"] [2024/05/06 16:35:27.243 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:26.661 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:27.243 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:26.661 +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 16:35:27.320 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:26.661 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:27.555 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=27.132295ms] [2024/05/06 16:35:30.590 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572903929511936, lockForUpdateTS:0, minCommitTs:0, ttl: 3242, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:30.598 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572903929511936, lockForUpdateTS:0, minCommitTs:0, ttl: 3242, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:30.602 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572903929511936, lockForUpdateTS:0, minCommitTs:0, ttl: 3242, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:30.603 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572903929511936, lockForUpdateTS:0, minCommitTs:0, ttl: 3242, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:30.603 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572903929511936, lockForUpdateTS:0, minCommitTs:0, ttl: 3242, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:30.604 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572903929511936, lockForUpdateTS:0, minCommitTs:0, ttl: 3242, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:30.604 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572903929511936, lockForUpdateTS:0, minCommitTs:0, ttl: 3242, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:30.604 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572903929511936, lockForUpdateTS:0, minCommitTs:0, ttl: 3242, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:30.599 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572903929511936, lockForUpdateTS:0, minCommitTs:0, ttl: 3242, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:30.599 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572903929511936, lockForUpdateTS:0, minCommitTs:0, ttl: 3242, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:30.599 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572903929511936, lockForUpdateTS:0, minCommitTs:0, ttl: 3242, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:30.600 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572903929511936, lockForUpdateTS:0, minCommitTs:0, ttl: 3242, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:30.600 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572903929511936, lockForUpdateTS:0, minCommitTs:0, ttl: 3242, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:30.600 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572903929511936, lockForUpdateTS:0, minCommitTs:0, ttl: 3242, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:30.600 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572903929511936, lockForUpdateTS:0, minCommitTs:0, ttl: 3242, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:30.600 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572903929511936, lockForUpdateTS:0, minCommitTs:0, ttl: 3242, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:30.600 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572903929511936, lockForUpdateTS:0, minCommitTs:0, ttl: 3242, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:30.600 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572903929511936, lockForUpdateTS:0, minCommitTs:0, ttl: 3242, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:30.600 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572903929511936, lockForUpdateTS:0, minCommitTs:0, ttl: 3242, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:30.601 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572903929511936, lockForUpdateTS:0, minCommitTs:0, ttl: 3242, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:30.601 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572903929511936, lockForUpdateTS:0, minCommitTs:0, ttl: 3242, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:30.601 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572903929511936, lockForUpdateTS:0, minCommitTs:0, ttl: 3242, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:30.601 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572903929511936, lockForUpdateTS:0, minCommitTs:0, ttl: 3242, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:30.602 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572903929511936, lockForUpdateTS:0, minCommitTs:0, ttl: 3242, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:30.606 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572903929511936, lockForUpdateTS:0, minCommitTs:0, ttl: 3242, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:30.607 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572903929511936, lockForUpdateTS:0, minCommitTs:0, ttl: 3242, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:30.607 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572903929511936, lockForUpdateTS:0, minCommitTs:0, ttl: 3242, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:30.602 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572903929511936, lockForUpdateTS:0, minCommitTs:0, ttl: 3242, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:30.609 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572903929511936, lockForUpdateTS:0, minCommitTs:0, ttl: 3242, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:30.622 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572903996620800\n# Query_time: 3.052206239\n# Parse_time: 0\n# Compile_time: 0.014811314\n# Rewrite_time: 0.001556582\n# Optimize_time: 0.002185248\n# Wait_TS: 0.000094737\n# Cop_time: 3.034384342 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 175\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000013685\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2gPweTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6My4wM3MsIGxvb3BzOjEsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDIuMjFtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMW1zLCBycGNfCTYQMzgxLCABDwB0AWUUIDEuODZzBV3wTHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjEzODAsAYAMYWxfdAFkeDY4NS42bXN9CTE3NSBCeXRlcwlOL0EKMQkxXzYJMV85CqhsZShteXNxbC50aWRiX21kbF9pbmZvLnZlcnNpb24sIDE3KQkwCXRpa3ZfJQkEe3QBXwwxLjY1AeMAbCUpBDB9AV0BBBgKMgk0M181BWIsMTAwMDAJdGFibGU6Ml0AfCwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvrnAA')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('wgSYCr0ECg1UYWJsZVJlYWRlcl83EpwCCgtTZWxlY3Rpb25fNhKZAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBpAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6MS42NW1zLCBsb29wczowfXD//////wEEBAF4AQYFAQABBYgsgE8iQSmrqqqqqvapBYgQUiNsZSgFhwAuMoYAOC52ZXJzaW9uLCAxNylqINpzAAFqDOpz5kAZcyQBQAFSEGRhdGE6PTcIWhN0AcgMMy4wMxXHIDFiwQFjb3BfdAHooCB7bnVtOiAxLCBtYXg6IDIuMjFtcywgcHJvY19rZXlzOiAwLCB0b3RfARIEOiAFHQxycGNfCTYMMzgxLAUPBWbwSSAxLjg2cywgY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6AZUgX3JwYzoxMzgwBYAMYWxfdAHKXDY4NS42bXN9cK8BeP///////////wEYAQ==')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 17;"] [2024/05/06 16:35:30.624 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 6d446966663a313800fe0000000000000073, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572903929511936, lockForUpdateTS:0, minCommitTs:449572903929511937, ttl: 3242, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:30.630 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572903929511936, lockForUpdateTS:0, minCommitTs:0, ttl: 3242, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:30.632 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572904181694464\n# Query_time: 2.345841348\n# Parse_time: 0\n# Compile_time: 0.016206544\n# Rewrite_time: 0.002851845\n# Optimize_time: 0.010652799\n# Wait_TS: 0.000104997\n# Cop_time: 2.299901846 Process_time: 0.001 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0005 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12630\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('vhO4MAkzXzEzCTAJMjIzNi44NglteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwQ3Byb2Nlc3NpbmcJMAl0aW1lOjIuMzFzLCBsb29wczoxLCBDb25jdXJyZW5jeTo1CTExLjggS0IJTi9BCjEJMTRfMTQJcn4AGWEUOmRlc2MsToUAFGpvYl9pZB2BGYAcCTAgQnl0ZXMRCBwKMgkxN18yOB3zVGlubmVyIGpvaW4sIGVxdWFsOltlcShaCQEEaWQB0iBsdW1uIzE1KV1SdACYLCBidWlsZF9oYXNoX3RhYmxlOnt0b3RhbDoxLjM4bXMsIGZldGNoFQ4FLgw6MHN9EaURCCQKMwkzMV80MShCAVAAKR20QGRhdGE6U2VsZWN0aW9uXzQwEYkMMS4xMgFiNX9sY29wX3Rhc2s6IHtudW06IDEsIG1heDogMS4xNQEpIWA0X2tleXM6IDAsIHJwY18RJwEMJdIQIDEuMDMBLJhjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb2417xwgMTV9CTE3MS2DGE4vQQo0CTEBrgQxX3L1AQxyZW9ySVEEa3YJvgB7BYoYODA5LjfCtTXfBDB9AVUBBBwKNQk0NF8zOQVaHDY2NjYuNjcJKXwuzQLwPCwgcmFuZ2U6Wy1pbmYsMjcpLCAoMjcsK2luZl0sIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkbwlB4aKQACwzCTZfMjkoUHJvYmUhujg2NDAwCWdyb3VwIGJ5OkNRQ0AsIGZ1bmNzOmZpcnN0cm93KBUaCCktPhUMMd4EMi5d21QsIHBhcnRpYWxfd29ya2VyOnt3YWxsKbM4Mi4zMDI4NjM3NTJzLCBjPZQINSwgQQ8l5mAwLCB0b3Rfd2FpdDoxMS41MTE3MDY2OTVzCRgUZXhlYzowDQ0lgA0lCDk0OQVYQUkFaiw0MDc1OTRzLCBwOTUyEgAUfSwgZmluYqMAGDMwODA2NzmuowAQMjQ3MTUFMwG7AGUBoxg2MC42MzLCQRcBFBmqHDI1NTkzODFzSfMFqhA1MjY5NAHhFaoNEllKQaMAM2FRJbMUbm90KGVxOZccLCAyNykpLCABGBRpc251bGwZHAApIekFfzKpAQwJMzgwfQMQNQk2XzMh0wg4MDBdE0pxBGGcAGWlXVL3BCBzY2hlbWFfaWQB4UabBUX+CR5JZAhtaW4VrAA4Ml8CADFGtgAAMn5fAhQxNjU4MDlBkF5fAgAxSUdVXxwwNDQ1MTkyNk1SJbwcMjUxLjgzM8JCvQEYMDQ4MjU5NSGrUWcYMTAwODM2OF1nERJ6ZwIYMTc2OTY2N2pnAkKrABA2NDkwNEXlQVMFqxgxNzQuNzY3SqsAFDY2OTkwMgFgFasQNjMwNjQBElFoERJZaAA2od0MMzYJMEkJpdMkSGFzaEFnZ18zMVqUAWbPBQA2oaJBMrnOAbsBEgg6IDEBHaHRpd0IOTAxqetFrAwgMS4zIWfO3gU0LCBSZXNvbHZlTG9jazrBYhRfcnBjOjnBEgB0wfMJYyg1NTAuNW1zfQkxOS4KAwA3YQoAMaWz/gwDzgwDSjQDFkoIfRwAOCWINvYFCDEuNP1k3YQUOAk0M18zgUAMMAkxMGHeZYQ6ggZ6ZgZhjJpwAA==')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('kxbwSQqOFgoNUHJvamVjdGlvbl8xMxL4FAoHU29ydF8xNBKDFAoLSGFzaEpvaW5fMjgSmQQKDlRhYmxlUmVhZGVyXzQxErMCCgxTZWxlCUAYNDASuAEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wXjpbLWluZiwyNyksICgyNywraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiJ0aWt2X3Rhc2s6e3RpbWU6ODA5LjfCtXMsIGxvb3BzOjB9cP//////AQMEAXgBBgUBAAEFpSyAMSdBKSEdgEm5eaEFpQRSGAWhDC50aWQVoBQucmVvcmfmagAsGgEBIaNI5Ki5XOtAGW0oAUABUhFkYXRhOlM9UTRaFHRpbWU6MS4xMm1zLA3DGDFigAFjb3AJ5kgge251bTogMSwgbWF4OiAxLjE1ASpEcHJvY19rZXlzOiAwLCBycGNfEScBDAVVECAxLjAzASzYY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fXCrAT09EBK2DgoKQSwgQWdnXzI5EtoKLhgCEDMwEuEJGSAQMzUSsAU2SwIQMzYSkQMdIhQxEpsBChBFSQxGdWxsSUgANCWjFPDvMEEpAAEBEIjDQDABdkoCAB56LgIIIHRpNi4CCDEuND1pCDB9cEUdAQFCLAIIKGUxDYkEQL8NiTxSlAFncm91cCBieTpteXNxOjgCIZQcZXNzaW5nLCBKHwAkc2NoZW1hX2lkc1IfABB0YWJsZQkeJGZ1bmNzOm1pbihKRwBEam9iX2lkKS0+Q29sdW1uIzE44ucAHN7d3d0dPvdAKXAJ50GoBA9kQagISGFzJfAMMzFaEkVRCDIuM1WkCDJivmqkAgA2QXchD1mjDHRvdF8BEgg6IDEBHUGmRbIIOTAxScAFYxggMS4zNXMs0rMCNCwgUmVzb2x2ZUxvY2s6YTcUX3JwYzo5QecQdG90YWwJYyQ1NTAuNW1zfXC+MvMBIQwMrWz4QD4MAQCE/vMBvvMBNdc94wA1UoIBUNYCcGFydGlhbF93b3JrZXI6e3dhbA3mJDIuMzAxNjU4MDkhtABjfd4YNSwgdGFzayV+BDEsIRpIX3dhaXQ6MTEuNTA0NDUxOTI2cwkYMGV4ZWM6MjUxLjgzM8KhYyHFJagJLRA4MjU5NSGvgZsFciwwMDgzNjhzLCBwOTUyEgAUfSwgZmluZqsAFDc2OTY2NyX6AG6ViXKrABg2NDkwNDUyLqsAGDE3NC43NjdKqwAUNjY5OTAyAWAVqxA2MzA2NAESFasNEl4VBEUiBEj+TSIIALlAZSwYLm5vdChlcTW3IDUsIDI3KSksIAEYFGlzbnVsbBkcBCkpSskBDDFw/AK9bCQaAQIhRERERCRjPmsABDhnkX1RJAQ1LI0sHGZpcnN0cm93HWuZIU4+AggxYs16PgIQMjg2MzclYF4+AgAwSSZVPggxMTchaUERQSlFPgAwLaBVNhQxMTc5NDkFWDGLGDI0MDc1OTRdNhESejYCGDMwODA2NzlqNgJCowAQMjQ3MTUFMxWjFDYwLjYzMkY1AhwxMjU1OTM4MaGvBGF4Rc4UMjUyNjk0AeFRNRESXjUCHByoyBAIBQdBNgkIWDxpbm5lciBqb2luLCBlcXVhbDpbZXEoYu4FBCwgNfIEKV1OQwIwYjdidWlsZF9oYXNoX8VKCDp7dIH0EDoxLjM4oXEQZmV0Y2gVDgUuLDowc30hlAr4t0YREDqhAAA9SosAob7J3xA6ZGVzY1LFBsmdTqIAGCGE1+kvhyY+aQBOSAcBRRBtZXRhLE5GBxmGBFoTRVUIMi4zIaMEbG8O/gkQMWINQ2+dQTxwnF54////////////ARgB')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (27) order by processing desc, job_id;"] [2024/05/06 16:35:31.069 +08:00] [ERROR] [mvcc.go:1021] ["commit failed, no correspond lock found"] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6Mjb/AAAAAAAAAAD3] ["start ts"=449572903929511936] [lock="{{0 0 0 0 0 false 0 false 0} [] [] []}"] [error="retryable: lock not found"] [stack="github.com/pingcap/tidb/store/mockstore/unistore/tikv.(*MVCCStore).Commit\n\tstore/mockstore/unistore/tikv/mvcc.go:1021\ngithub.com/pingcap/tidb/store/mockstore/unistore/tikv.(*Server).KvCommit\n\tstore/mockstore/unistore/tikv/server.go:366\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:183\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).sendReqToRegion\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1421\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReqCtx\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1177\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReq\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:234\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionCommit.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:98\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1036\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:969\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:788\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:222\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitTxn\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1701\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1692\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:35:31.070 +08:00] [WARN] [session.go:1025] ["can not retry txn"] [label=internal] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 16:35:31.071 +08:00] [WARN] [session.go:1041] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [2024/05/06 16:35:31.071 +08:00] [INFO] [job_table.go:255] ["[ddl] handle ddl job failed"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:26.661 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:31.167 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:26.661 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:31.267 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=252.154µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:31.283 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=330.011µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:31.312 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=287.283µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:31.331 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=354.305µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:31.345 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=336.558µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:31.375 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=317.974µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:31.427 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=314.615µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:31.442 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=302.765µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:31.461 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=318.813µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:31.475 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=224.968µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:31.489 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=275.703µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:31.507 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=314.095µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:31.522 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=326.803µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:31.536 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=339.976µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:31.613 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=307.936µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:31.634 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=21.689585ms] [2024/05/06 16:35:31.707 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=309.852µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:34.808 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572904938242048, lockForUpdateTS:0, minCommitTs:0, ttl: 3579, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:34.808 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572904938242048, lockForUpdateTS:0, minCommitTs:0, ttl: 3579, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:34.809 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572904938242048, lockForUpdateTS:0, minCommitTs:0, ttl: 3579, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:34.809 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572904938242048, lockForUpdateTS:0, minCommitTs:0, ttl: 3579, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:34.809 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572904938242048, lockForUpdateTS:0, minCommitTs:0, ttl: 3579, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:34.809 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572904938242048, lockForUpdateTS:0, minCommitTs:0, ttl: 3579, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:34.809 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572904938242048, lockForUpdateTS:0, minCommitTs:0, ttl: 3579, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:34.810 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572904938242048, lockForUpdateTS:0, minCommitTs:0, ttl: 3579, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:34.825 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572904938242048, lockForUpdateTS:0, minCommitTs:0, ttl: 3579, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:34.826 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572904938242048, lockForUpdateTS:0, minCommitTs:0, ttl: 3579, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:34.830 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572905093955584\n# Query_time: 3.117179506\n# Parse_time: 0\n# Compile_time: 0.04921865\n# Rewrite_time: 0.00093615\n# Optimize_time: 0.002089779\n# Wait_TS: 0.000095366\n# Cop_time: 3.015525295 Process_time: 0.003 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.003 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 177\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000013823\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2gPweTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6My4wMnMsIGxvb3BzOjEsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDMuNjNtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogM21zLCBycGNfCTYQNDg3LCABDwB0AWUUIDEuODFzBV3wTHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjE0ODYsAYAMYWxfdAFkeDYzNC40bXN9CTE3NyBCeXRlcwlOL0EKMQkxXzYJMV85CqhsZShteXNxbC50aWRiX21kbF9pbmZvLnZlcnNpb24sIDE3KQkwCXRpa3ZfJQkEe3QBXwwzLjM5AeMAbCUpBDB9AV0BBBgKMgk0M181BWIsMTAwMDAJdGFibGU6Ml0AfCwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvrnAA')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('wgSYCr0ECg1UYWJsZVJlYWRlcl83EpwCCgtTZWxlY3Rpb25fNhKZAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBpAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6My4zOW1zLCBsb29wczowfXD//////wEEBAF4AQYFAQABBYgsgE8iQSmrqqqqqvapBYgQUiNsZSgFhwAuMoYAOC52ZXJzaW9uLCAxNylqINpzAAFqDOpz5kAZcyQBQAFSEGRhdGE6PTcIWhN0CcgEMDIVxyAxYsEBY29wX3QB6KAge251bTogMSwgbWF4OiAzLjYzbXMsIHByb2Nfa2V5czogMCwgdG90XwESBDogBR0McnBjXwk2DDQ4NywFDwVm8EkgMS44MXMsIGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOgGVIF9ycGM6MTQ4NgWADGFsX3QBylw2MzQuNG1zfXCxAXj///////////8BGAE=')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 17;"] [2024/05/06 16:35:34.832 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=308.592µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:34.833 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 6d446966663a313900fe0000000000000073, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572904938242048, lockForUpdateTS:0, minCommitTs:449572904938242049, ttl: 3579, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:34.849 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=325.188µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:34.853 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572905248882688\n# Query_time: 2.580727439\n# Parse_time: 0\n# Compile_time: 0.083661824\n# Rewrite_time: 0.003327677\n# Optimize_time: 0.070250929\n# Wait_TS: 0.000095108\n# Cop_time: 2.4783772170000002 Process_time: 0.016 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.008 Cop_proc_p90: 0.016 Cop_proc_max: 0.016 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12632\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('wxO4MAkzXzEzCTAJMjIzNi44NglteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwQ3Byb2Nlc3NpbmcJMAl0aW1lOjIuNDhzLCBsb29wczoxLCBDb25jdXJyZW5jeTo1CTExLjggS0IJTi9BCjEJMTRfMTQJcn4AGWEUOmRlc2MsToUAFGpvYl9pZFaBABwJMCBCeXRlcxEIHAoyCTE3XzI4HfRUaW5uZXIgam9pbiwgZXF1YWw6W2VxKFoKAQRpZAHTIGx1bW4jMTUpXVZ1AJgsIGJ1aWxkX2hhc2hfdGFibGU6e3RvdGFsOjEuMzhtcywgZmV0Y2gVDgUuDDowc30RphEIJAozCTMxXzQxKEIBUAApHbVAZGF0YTpTZWxlY3Rpb25fNDARihg4MjQuNcK1LoMBaGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuMgGMIWM0X2tleXM6IDAsIHJwY18RJgEMJdUQIDEuMDYBLJhjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb2418hwgMTV9CTE3MS2FGE4vQQo0CTEBrwQxX3L4AQxyZW9ySVQEa3YJvQB7BYoQODc5Ljkd3wQwfQFVAQQcCjUJNDRfMzkFWhw2NjY2LjY3CSl9LtAC8DwsIHJhbmdlOlstaW5mLDI3KSwgKDI3LCtpbmZdLCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG8JQeSikAAsMwk2XzI5KFByb2JlIbs4NjQwMAlncm91cCBieTpDUUVALCBmdW5jczpmaXJzdHJvdygVGggpLT4VDDHfPl8DTHBhcnRpYWxfd29ya2VyOnt3YWxsKbQBKigxODI1MDA1cywgYz2VCDUsIEEPJedcMCwgdG90X3dhaXQ6MTIuNDAzNzIxMTlzCRcUZXhlYzowDQ0lgAkkGDgwODM5NHNJSAFpMDA3ODE5NjNzLCBwOTUyEgAUfSwgZmluYqIAFDIwNDMyNwFLoqIAGDUzNzI4MTINlgWjGDUzLjUwNsJB9gHOGaoYNTQ2NTMwMR2qEDE3NjM4JRMRqhESWUpBowAzYVIlsxRub3QoZXE5lxwsIDI3KSksIAEYFGlzbnVsbBkcACkh6QV/IRYAc7UICAkzOJGJYQQQNQk2XzMh1Ag4MDBdFEp0BGGdAGWlYQAsTvsEIHNjaGVtYV9pZAHiRp8FRf8JHkllCG1pbhWtADgyYAIAMUq3AAQyLHZgAhg3OTc1NjgyQS5evgEAMUlJUWAcMzk0OTY1NzMh8SGqJb4cMjk0LjQ5M8I+vwEYMzk1NDk2NgHbBGF4IVEYNzkyMzE1OQESLb0VEnpnAhAwNzkxMkGfoqgAFDY2MTkxOQHbFagUMzE5LjI2RmcCHDM5Njk4MzM2YWgVqgw0NTk5ZUgVqg0SWWcANqHdDDM2CTBJB6XTJEhhc2hBZ2dfMzFekgFizgUINi45oaNBMrnPAb0BEgg6IDGlwaHTqd8IMzI1qe5FrxAgMS4zN4UoxuEFNCwgUmVzb2x2ZUxvY2s6wWQgX3JwYzoxMzI0Jf4AYY2SLDY0OG1zfQkxOTIgQuWUYQsAN2ELADGltf4NA84NA0o1AxZPCH0dADglizb4BQwxNi43IW4W6AjdhhQ4CTQzXzOBQgwwCTEwYd8AdBIBCAB0KlQJgmgGYY2acAA=')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('lxbwSQqSFgoNUHJvamVjdGlvbl8xMxL8FAoHU29ydF8xNBKGFAoLSGFzaEpvaW5fMjgSmQQKDlRhYmxlUmVhZGVyXzQxErMCCgxTZWxlCUAYNDASuAEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wXjpbLWluZiwyNyksICgyNywraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiJ0aWt2X3Rhc2s6e3RpbWU6ODc5LjnCtXMsIGxvb3BzOjB9cP//////AQMEAXgBBgUBAAEFpSyAMSdBKSEdgEm5eaEFpQRSGAWhBC50HaAULnJlb3Jn5moALBoBASGjSOSouVzrQBltKAFAAVIRZGF0YTpTPVEMWhZ0aQHFEDI0LjXCGcUUMWJ/Y29wCeegIHtudW06IDEsIG1heDogMS4ybXMsIHByb2Nfa2V5czogMCwgcnBjX24NJgxycGNfBVUQIDEuMDYBLNhjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9cKsBPT0QErgOCgpBLCBBZ2dfMjkS3AouGAIQMzAS4gkZIBAzNRKzBTZLAhAzNhKRAx0iFDESmwEKEEVJDEZ1bGxJSAA0JaMU8O8wQSkAAQEQiMNAMAF2SgIAHnouAgggdGk2LgIMMTYuNyETBGxvgiwCCChlMQ2JBEC/DYk8UpQBZ3JvdXAgYnk6bXlzcTo4AiGUHGVzc2luZywgSh8AJHNjaGVtYV9pZHNSHwAQdGFibGUJHiRmdW5jczptaW4oSkcARGpvYl9pZCktPkNvbHVtbiMxOOLnABze3d3dHT73QClwCedBqAQPZEGoCEhhcyXwDDMxWhNFURQyLjQ4cywtPAwyYsABYqQCCDYuOSFmIRFZpQx0b3RfARIIOiAxRZdBqUnbDDMyNSwFDwVnGCAxLjM3cyzStwI0LCBSZXNvbHZlTG9jazphOiRfcnBjOjEzMjQsAYEEYWwJZBw2NDhtc31wwDIiBCEPDK1s+EA+DwEAhP72Ab72ATXaPeYANVaFAVDTAnBhcnRpYWxfd29ya2VyOnt3YWwN5SgyLjQ3OTc1NjgyOSVPAG514hg1LCB0YXNrJX8AMSUZSF93YWl0OjEyLjM5NDk2NTczNHMJGCxleGVjOjI5NC40OTOFoiHHJagFLRA1NDk2NkHRBGF4CXAQMjMxNTkBEghwOTUyEgAUfSwgZmluXqkAGDgwNzkxMjOuqAAUNjYxOTE5AdsBkwWoGDMxOS4yNjZKqAAYNjk4MzM2NS6qABA0NTk5MQE/FaoNEgR9cMUzAQFGIAIESP5NIAgAuUBlLRgubm90KGVxNbUgNSwgMjcpKSwgARgUaXNudWxsGRwEKSlOxwEMMXD8Ar1uJBoBAiFEREREJGM+bAAEOGeRf1EjBDUsjS4cZmlyc3Ryb3cdbJkjUj0CCDFizHY9Ahg4MTgyNTAwITUAY1o9AgAwSSVRPRQ0MDM3MjElVTWUADBNSVE0HDQwMzgwODM5QWFNNhg4MDc4MTk2If4tjBUSejYCFDIwNDMyNwFLoqIAGDUzNzI4MTINlkU3EDUzLjUwRjYCIDQwNTQ2NTMwMVk2FDgxNzYzOCUTEaoREl42AhwcqMgQCAUHQTYLCFg8aW5uZXIgam9pbiwgZXF1YWw6W2VxKGLwBQQsIDXyBCldUkQCNGI3YnVpbGRfaGFzaF90wU0sOnt0b3RhbDoxLjM4oY8QZmV0Y2gVDgUuLDowc30hlAr4t0YREDqiAAA9SowAob/J4hQ6ZGVzYyxO5wbJoFKjABghhNfpL4cmPmoATkwHAUYQbWV0YSxOYwAZh1JnAAxiDUNvnew8cJxeeP///////////wEYAQ==')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (27) order by processing desc, job_id;"] [2024/05/06 16:35:34.874 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=297.229µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:34.901 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=490.88µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:34.902 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=12.200352ms] [2024/05/06 16:35:34.919 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=307.33µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:34.940 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=334.99µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:34.955 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=286.363µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:34.970 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=330.843µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:34.986 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=393.702µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:35.001 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=351.361µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:35.024 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=319.844µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:35.043 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=286.29µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:35.074 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=312.347µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:35.098 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=329.14µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:35.113 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=278.145µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:35.138 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=345.767µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:35.157 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=328.86µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:35.182 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=375.518µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:35.196 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=334.76µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:35.211 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=324.991µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:35.229 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=301.633µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:35.245 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=326.41µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:35.260 +08:00] [ERROR] [mvcc.go:1021] ["commit failed, no correspond lock found"] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6Mjb/AAAAAAAAAAD3] ["start ts"=449572904938242048] [lock="{{0 0 0 0 0 false 0 false 0} [] [] []}"] [error="retryable: lock not found"] [stack="github.com/pingcap/tidb/store/mockstore/unistore/tikv.(*MVCCStore).Commit\n\tstore/mockstore/unistore/tikv/mvcc.go:1021\ngithub.com/pingcap/tidb/store/mockstore/unistore/tikv.(*Server).KvCommit\n\tstore/mockstore/unistore/tikv/server.go:366\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:183\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).sendReqToRegion\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1421\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReqCtx\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1177\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReq\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:234\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionCommit.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:98\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1036\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:969\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:788\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:222\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitTxn\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1701\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1692\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:35:35.261 +08:00] [WARN] [session.go:1025] ["can not retry txn"] [label=internal] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 16:35:35.262 +08:00] [WARN] [session.go:1041] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [2024/05/06 16:35:35.262 +08:00] [INFO] [job_table.go:255] ["[ddl] handle ddl job failed"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:26.661 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:35.267 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=7.629848ms] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:35.282 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=307.428µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:35.335 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:26.661 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:35.385 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=1.410242ms] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:35.423 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=19] ["start time"=394.314µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:35.437 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=19] ["start time"=421.382µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:35.455 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=19] ["start time"=628.65µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:35.506 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=19] ["start time"=14.615525ms] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:35.506 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=15.702969ms] [2024/05/06 16:35:35.546 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=19] ["start time"=689.867µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:35.617 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=19] ["start time"=14.154571ms] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:35.617 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=16.621932ms] [2024/05/06 16:35:35.632 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=19] ["start time"=429.288µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:35.647 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=19] ["start time"=453.55µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:38.712 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572906030858240, lockForUpdateTS:0, minCommitTs:0, ttl: 3335, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:38.713 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572906030858240, lockForUpdateTS:0, minCommitTs:0, ttl: 3335, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:38.713 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572906030858240, lockForUpdateTS:0, minCommitTs:0, ttl: 3335, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:38.714 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572906030858240, lockForUpdateTS:0, minCommitTs:0, ttl: 3335, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:38.714 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572906030858240, lockForUpdateTS:0, minCommitTs:0, ttl: 3335, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:38.717 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572906030858240, lockForUpdateTS:0, minCommitTs:0, ttl: 3335, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:38.718 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000001b, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572906030858240, lockForUpdateTS:0, minCommitTs:0, ttl: 3335, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:38.725 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572906279632896\n# Query_time: 2.454118894\n# Parse_time: 0\n# Compile_time: 0.017735925\n# Rewrite_time: 0.003121806\n# Optimize_time: 0.011192434\n# Wait_TS: 0.000097968\n# Cop_time: 2.420100824 Process_time: 0.001 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0005 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12630\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('wxO4MAkzXzEzCTAJMjIzNi44NglteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwQ3Byb2Nlc3NpbmcJMAl0aW1lOjIuNDNzLCBsb29wczoxLCBDb25jdXJyZW5jeTo1CTExLjggS0IJTi9BCjEJMTRfMTQJcn4AGWEUOmRlc2MsToUAFGpvYl9pZFaBABwJMCBCeXRlcxEIHAoyCTE3XzI4HfRUaW5uZXIgam9pbiwgZXF1YWw6W2VxKFoKAQRpZAHTIGx1bW4jMTUpXVZ1AJgsIGJ1aWxkX2hhc2hfdGFibGU6e3RvdGFsOjEuMjdtcywgZmV0Y2gVDgUuDDowc30RphEIJAozCTMxXzQxKEIBUAApHbVAZGF0YTpTZWxlY3Rpb25fNDARihg2MzcuOMK1LoMBaGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuMQWNIWQ0X2tleXM6IDAsIHJwY18RJwEMJdYQIDEuMDUBuZhjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb2418xwgMTV9CTE3MS2GGE4vQQo0CTEBsAQxX3L5AQxyZW9ySVUEa3YJvgB7BYoEODcu3gAEMH0BUwEEHAo1CTQ0XzM5BVgcNjY2Ni42NwkpfC7PAvA8LCByYW5nZTpbLWluZiwyNyksICgyNywraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCUHjmo4ALDMJNl8yOShQcm9iZSG4ODY0MDAJZ3JvdXAgYnk6Q1FCQCwgZnVuY3M6Zmlyc3Ryb3coFRoIKS0+FQwx3AwyLjQyLtkBTHBhcnRpYWxfd29ya2VyOnt3YWxsKbABKig0NDA0OTQ4cywgYz2RCDUsIEEMJeNgMCwgdG90X3dhaXQ6MTIuMTE4OTAzMDMxcwkYFGV4ZWM6MA0NJX0FJRw5MDM4MzQ5c0lGAWoUMzg3MzIwAWoIcDk1MhIAFH0sIGZpbmajABA1MjkzM4EwoqMAFDk4NTUxMwF+AbsFoxwxMzMuNTcxwkH1ARUVqxwyMDA0NDg2NB2rFDQwNTI2MAFyEasREllKQaEAM2FRJbUUbm90KGVxOZkcLCAyNykpLCABGBRpc251bGwZHAApIesFfyEXAHO1BwgJMziRiGECEDUJNl8zIdYIODAwXRZKcwRhmwBlpWBS+gQgc2NoZW1hX2lkAeJGngVF/wkeSWcIbWluFa0AODJiAgAxSrcABDIsemICFDIwMDYyOCFNXr8BADFJSlViGDAzMzU5NzAyYgIcMzU0LjIzNcJCvwEYMDM5NzU3NgHcBGF4JVIUMTAzNDE3IVkxvhESemkCEDIxNTYyRbSiqgAMNTc3NEnVQVRFaRgzMzcuOTYySqoAFDYxODg2NmECFasMMzA3MyEbFaoJEVlnADah3AwzNgkwSQel0ihIYXNoQWdnXzMxCVqSAWbNBQQ1NqGhQTK5zQG7ARIIOiAxAR2h0KncCDQxMqnrRa4IIDEuZVPO3gU0LCBSZXNvbHZlTG9jazrBYhxfcnBjOjE0MSn9AGGNkyg2MzYuM21zfQkxOS4MAwA3YQwAMaW2/g4Dzg4DSjYDFk8IfR4AOCWMNvkFDDEuMzMhUhboCN2HFDgJNDNfM4FDDDAJMTBh4GWGOoUGemkGIfyacAA=')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('mBbwSQqTFgoNUHJvamVjdGlvbl8xMxL9FAoHU29ydF8xNBKHFAoLSGFzaEpvaW5fMjgSlwQKDlRhYmxlUmVhZGVyXzQxEq8CCgxTZWxlCUAYNDAStgEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wWzpbLWluZiwyNyksICgyNywraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6ODc4wrVzLCBsb29wczowfXD/////BQMEAXgFBwEBAAEFoyyAMSdBKSEdgEm5eaEFowRSGAWfBC50HZ4ULnJlb3Jn3mgALBoBASGjSOSouVzrQBlrKAFAAVIRZGF0YTpTPU0sWhZ0aW1lOjYzNy44HcMYMWKAAWNvcAnkoCB7bnVtOiAxLCBtYXg6IDEuMTdtcywgcHJvY19rZXlzOiAwLCBycGNfEScBDAVXECAxLjA1ASzYY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fXCrAT09EBK7DgoKQSogQWdnXzI5Et0KLhYCEDMwEuMJGSAQMzUStAU2SQIQMzYSkQMdIhQxEpsBChBFRwxGdWxsSUYANCWjFPDvMEEpAAEBEIjDQDABdkgCAB6+LAIMMS4zMyETAGyGLAIIKGUxDYkEQL8NiTxSlAFncm91cCBieTpteXNxOjgCIZQcZXNzaW5nLCBKHwAkc2NoZW1hX2lkc1IfABB0YWJsZQkeJGZ1bmNzOm1pbihKRwBEam9iX2lkKS0+Q29sdW1uIzE4RqsCmucAHN7d3d0dPvdAKXAJ50GqBA9kQaoISGFzJfAMMzFaE0VREDIuNDJzcWgIMmLBaqUCBDU2IWYhEVmlDHRvdF8BEgg6IDEBHUGoSbQINDEyScMFZhggMS4zOXMs0rYCNCwgUmVzb2x2ZUxvY2s6YTokX3JwYzoxNDExLAGABGFsCWQkNjM2LjNtc31wvjIjBCEQDK1s+EA+EAEAhP73Ab73ATXbPecANVaGAVDTAnBhcnRpYWxfd29ya2VyOnt3YWwN5yGxGDIwMDYyODMlUQBudeMYNSwgdGFzayWBKRtIX3dhaXQ6MTIuMTAzMzU5NzAxcyUzMF9leGVjOjM1NC4yMzWFpSHIJaoJLRA5NzU3NkHTBGF4BXEUMTAzNDE3QSkIcDk1MhIAFH0sIGZpbmaqABAxNTYyNCn7mqoAGDU3NzQyMDgyqgAUMzcuOTYySqoAFDYxODg2NgEtFasMMzA3MyEbFaoJEV5DBkUgBEj+TSAIALlAZS4YLm5vdChlcTW1IDUsIDI3KSksIAEYFGlzbnVsbBkcBCkpTscBDDFw/AK9byQaAQIhRERERCRjPmwACDhnco2AUSMENSyNLxxmaXJzdHJvdx1smSRSPQIIMWLOej0CFDQ0MDQ5NCEzAGNakwEAMEklVT0YMTg5MDMwMzI9AgAwLaBVNRQxOTAzODMl6zGLDDM4NzMpyjGMERJ6NgIQNDUyOTMlxaKjABA5ODU1MYVkQctF4BgxMzMuNTcxRjYCHDIwMDQ0ODY0XeEUNDA1MjYwLjcCERJeOAIcHKjIEAgFB0E2EAhYPGlubmVyIGpvaW4sIGVxdWFsOltlcShi8wUELCA19AQpXVlGAYnJzzQxYjdidWlsZF9oYXNoX8VQKDp7dG90YWw6MS4yEjcIEGZldGNoFQ4FLiw6MHN9IZQK+LdGERA6ogAAPUqMAKHCyeUQOmRlc2NSywbJo1KjABghhNfpL4cmPmoATk8HAUYQbWV0YSxOTQcZh1JnABBiDUNvbpnuPHCcXnj///////////8BGAE=')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (27) order by processing desc, job_id;"] [2024/05/06 16:35:38.734 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572906115530752\n# Query_time: 3.081970719\n# Parse_time: 0\n# Compile_time: 0.007024773\n# Rewrite_time: 0.001059029\n# Optimize_time: 0.002212961\n# Wait_TS: 0.00009855\n# Cop_time: 3.042101981 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 175\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000012656\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2gPweTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6My4wNHMsIGxvb3BzOjEsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuMjltcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMW1zLCBycGNfCTYQNjcwLCABDwB0AWUUIDEuNzdzBV3wTHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjE2NjksAYAMYWxfdAFkeDc5NC4xbXN9CTE3NSBCeXRlcwlOL0EKMQkxXzYJMV85CqhsZShteXNxbC50aWRiX21kbF9pbmZvLnZlcnNpb24sIDE3KQkwCXRpa3ZfJQkEe3QBXwwxLjAzAeMAbCUpBDB9AV0BBBgKMgk0M181BWIsMTAwMDAJdGFibGU6Ml0AfCwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvrnAA')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('wgSYCr0ECg1UYWJsZVJlYWRlcl83EpwCCgtTZWxlY3Rpb25fNhKZAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBpAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6MS4wM21zLCBsb29wczowfXD//////wEEBAF4AQYFAQABBYgsgE8iQSmrqqqqqvapBYgQUiNsZSgFhwAuMoYAOC52ZXJzaW9uLCAxNylqINpzAAFqDOpz5kAZcyQBQAFSEGRhdGE6PTcIWhN0AcgMMy4wNBXHIDFiwQFjb3BfdAHooCB7bnVtOiAxLCBtYXg6IDEuMjltcywgcHJvY19rZXlzOiAwLCB0b3RfARIIOiAxAR0McnBjXwk2DDY3MCwFDwVm8EkgMS43N3MsIGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOgGVIF9ycGM6MTY2OQWADGFsX3QBylw3OTQuMW1zfXCvAXj///////////8BGAE=')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 17;"] [2024/05/06 16:35:38.736 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 6d446966663a323000fe0000000000000073, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572906030858240, lockForUpdateTS:0, minCommitTs:449572906030858241, ttl: 3335, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:38.737 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=19] ["start time"=454.831µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:38.753 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=19] ["start time"=3.300135ms] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:38.769 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=19] ["start time"=465.754µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:38.784 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=19] ["start time"=477.532µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:38.802 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=19] ["start time"=492.626µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:38.818 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=19] ["start time"=473.78µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:38.847 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=19] ["start time"=445.276µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:38.864 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=19] ["start time"=490.135µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:38.891 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=19] ["start time"=499.46µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:38.899 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=10.649942ms] [2024/05/06 16:35:38.919 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=19] ["start time"=521.327µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:38.954 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=19] ["start time"=497.433µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:38.969 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=19] ["start time"=439.938µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:38.989 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=19] ["start time"=603.683µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:39.017 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=19] ["start time"=478.702µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:39.081 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=19] ["start time"=380.381µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:39.122 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=19] ["start time"=402.133µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:39.142 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=19] ["start time"=518.555µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:39.167 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=19] ["start time"=521.739µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:39.186 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=19] ["start time"=418.82µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:39.186 +08:00] [ERROR] [mvcc.go:1021] ["commit failed, no correspond lock found"] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6Mjb/AAAAAAAAAAD3] ["start ts"=449572906030858240] [lock="{{0 0 0 0 0 false 0 false 0} [] [] []}"] [error="retryable: lock not found"] [stack="github.com/pingcap/tidb/store/mockstore/unistore/tikv.(*MVCCStore).Commit\n\tstore/mockstore/unistore/tikv/mvcc.go:1021\ngithub.com/pingcap/tidb/store/mockstore/unistore/tikv.(*Server).KvCommit\n\tstore/mockstore/unistore/tikv/server.go:366\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:183\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).sendReqToRegion\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1421\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReqCtx\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1177\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReq\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:234\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionCommit.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:98\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1036\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:969\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:788\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:222\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitTxn\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1701\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1692\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:35:39.187 +08:00] [WARN] [session.go:1025] ["can not retry txn"] [label=internal] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 16:35:39.187 +08:00] [WARN] [session.go:1041] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [2024/05/06 16:35:39.188 +08:00] [INFO] [job_table.go:255] ["[ddl] handle ddl job failed"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:26.661 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:39.214 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=19] ["start time"=427.966µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:39.238 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:26.661 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:39.258 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=19] ["start time"=479.7µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:39.279 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=19] ["start time"=482.765µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:39.322 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=19] ["start time"=669.902µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:39.339 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=20] ["start time"=535.99µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:39.353 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=20] ["start time"=672.082µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:39.388 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=20] ["start time"=581.784µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:39.486 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=20] ["start time"=703.814µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:39.486 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=74.919001ms] [2024/05/06 16:35:39.509 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=20] ["start time"=654.368µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:39.535 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=20] ["start time"=622.867µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:39.564 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=21] ["start time"=3.626171ms] [phyTblIDs="[26]"] [actionTypes="[8]"] [2024/05/06 16:35:39.612 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:39.612 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=27] [version=21] [2024/05/06 16:35:39.613 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=56.271467ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:26.661 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:39.686 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:26.661 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:39.851 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=27] [2024/05/06 16:35:39.851 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:39.853 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 13.214071608\n# Parse_time: 0\n# Compile_time: 0.003591173\n# Rewrite_time: 0.000011598\n# Optimize_time: 0\n# Wait_TS: 0.000089839\n# DB: mysql\n# Is_internal: true\n# Digest: 5615b5212342304015b027afb253371dae02f19e53871cfbb034deb145dfce32\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_buckets ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, bucket_id BIGINT(64) NOT NULL, count BIGINT(64) NOT NULL, repeats BIGINT(64) NOT NULL, upper_bound LONGBLOB NOT NULL, lower_bound LONGBLOB , ndv BIGINT NOT NULL DEFAULT 0, UNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id) );"] [2024/05/06 16:35:39.861 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [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 16:35:40.505 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572907255070720] ["min commit ts"=449572907326898176] [key="dIAA///////+X3KAAAAAAAAAHQ=="] [2024/05/06 16:35:40.506 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572907254284288] [info="{StartTs:449572907254284288 AttemptedCommitTs:449572907255070720 Key:748000fffffffffffe5f72800000000000001d MinCommitTs:449572907326898176}"] [2024/05/06 16:35:40.508 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572907254284288\n# Query_time: 0.590163976\n# Parse_time: 0\n# Compile_time: 0.085139377\n# Rewrite_time: 0.000290941\n# Optimize_time: 0.001809411\n# Wait_TS: 0.000070002\n# Prewrite_time: 0.000778874 Commit_time: 0.001673443 Get_commit_ts_time: 0.00001853 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 4394 Prewrite_region: 1\n# Is_internal: true\n# Digest: 1b73a00c73a03d7dc9dd08a1ea99474b2523e5f72366f740be5156fa244256c4\n# Num_cop_tasks: 0\n# Mem_max: 17142\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('1ALwZTAJMjdfMQkwCTAJTi9BCTAJdGltZToxLjAxbXMsIGxvb3BzOjEsIHByZXBhcmU6IDQ2Ni4xwrVzLCBpbnNlcnQ6NTM5LjnCtXMsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo3NzguOQUxFGdldF9jbwkkFHM6MTguNQUXCRMQOjEuNjcBcyBzbG93ZXN0X3ANQdBfcnBjOiB7dG90YWw6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG9yZTogc3RvcmUxLCB9LA1VHF9wcmltYXJ51kQADWQIbnVtIQIAdwHOEF9rZXlzGQ5YYnl0ZTo0Mzk0fQk0Ljc0IEtCCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('3wLweQraAgoISW5zZXJ0XzE4AUABUgNOL0FaFHRpbWU6MS4wMW1zLCBsb29wczoxYiJwcmVwYXJlOiA0NjYuMcK1cywgaW5zZXJ0OjUzOS45wrVzYvwBY29tbWl0X3R4bjoge3ByZXdyaXRlOjc3OC45wrVzLCBnZXRfY29tBSQUczoxOC41BRcJNxA6MS42NwF0JHNsb3dlc3RfcHIJQZhfcnBjOiB7dG90YWw6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG8BnQBzAQcQMSwgfSwNVRxfcHJpbWFyedZEAA1kQG51bToxLCB3cml0ZV9rZXlzGQ5kYnl0ZTo0Mzk0fXD2JXj///////////8BGAE=')\ninsert into mysql.tidb_ddl_job(job_id, reorg, schema_ids, table_ids, job_meta, type, processing) values(29, false, \"1\", \"28\", 0x7b226964223a32392c2274797065223a332c22736368656d615f6964223a312c227461626c655f6964223a32382c22736368656d615f6e616d65223a226d7973716c222c227461626c655f6e616d65223a2267635f64656c6574655f72616e6765222c227374617465223a382c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b7b226964223a32382c226e616d65223a7b224f223a2267635f64656c6574655f72616e6765222c224c223a2267635f64656c6574655f72616e6765227d2c2263686172736574223a22757466386d6234222c22636f6c6c617465223a22757466386d62345f62696e222c22636f6c73223a5b7b226964223a312c226e616d65223a7b224f223a226a6f625f6964222c224c223a226a6f625f6964227d2c226f6666736574223a302c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a382c22466c6167223a343130352c22466c656e223a32302c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a227468652044444c206a6f62204944222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a322c226e616d65223a7b224f223a22656c656d656e745f6964222c224c223a22656c656d656e745f6964227d2c226f6666736574223a312c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a382c22466c6167223a343039372c22466c656e223a32302c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a2274686520736368656d6120656c656d656e74204944222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a332c226e616d65223a7b224f223a2273746172745f6b6579222c224c223a2273746172745f6b6579227d2c226f6666736574223a322c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a31352c22466c6167223a343039372c22466c656e223a3235352c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22656e636f64656420696e20686578222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a342c226e616d65223a7b224f223a22656e645f6b6579222c224c223a22656e645f6b6579227d2c226f6666736574223a332c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a31352c22466c6167223a343039372c22466c656e223a3235352c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c(len:8833);"] [2024/05/06 16:35:40.509 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:39.877 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:40.509 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:39.877 +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 16:35:41.164 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572907424677888\n# Query_time: 0.512464171\n# Parse_time: 0\n# Compile_time: 0.001681321\n# Rewrite_time: 0.003398919\n# Optimize_time: 0.005603211\n# Wait_TS: 0.000082025\n# Prewrite_time: 0.000743716 Commit_time: 0.00081869 Get_commit_ts_time: 0.000018954 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 4394 Prewrite_region: 1\n# Is_internal: true\n# Digest: bb9a0484a27cea37dfc9b79800bc11ddc72f4ac11810a6eb126d600a567ce029\n# Num_cop_tasks: 0\n# Mem_max: 18071\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('oAPwTDAJMjhfMwkwCTAJTi9BCTAJdGltZTo3LjQybXMsIGxvb3BzOjEsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo3NDMuN8K1cywgZ2V0X2NvCSQYczoxOcK1cxE1EDo4MTguCSYgc2xvd2VzdF9wDUHoX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwgY29tbWkBRRBpbWFyedZEAA1kCG51bQHeBc4QX2tleXMZDvA+Ynl0ZTo0Mzk0fQk1LjY1IEtCCU4vQQoxCTM2XzEJMAkxCXRhYmxlOnRpZGJfZGRsX2pvYiwgaGFuZGxlOjI5ASAhSgw0NzAuKQ4pTCgyLCBHZXQ6e251bQW6DDEsIHQB/wBfBS5EMTczLjXCtXN9CU4vQQlOL0EK')\n# Plan_digest: 3fea32741ba131a439f08d925bc0d60ce688c732cc613c6d3625da6592028edc\n# Binary_plan: tidb_decode_binary_plan('0gN4Cs0DCghVcGRhdGVfMxKUAQoLUG9pbnRfR2V0XzEpAAUB8HXwPzABOAFAAUoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSCWhhbmRsZToyOVoWdGltZTo0NzAuOcK1cywgbG9vcHM6MmIkR2V0OntudW1fcnBjOjEsIHRvdGFsX3RpbWU6MTczLjXCtXN9cP///////////wF4CQgI////BXwYUgNOL0FaFAUvHDcuNDJtcywgCVt8MWL8AWNvbW1pdF90eG46IHtwcmV3cml0ZTo3NDMuN8IBhQxnZXRfESQIczoxCZoJEQw6ODE4DSYcc2xvd2VzdF8RQRhfcnBjOiB7Bal0OiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6CQcQMSwgfSwNVxxfcHJpbWFyedZEAA1kGG51bToxLCAFzhBfa2V5cxkOZGJ5dGU6NDM5NH1wly14////////////ARgB')\nupdate mysql.tidb_ddl_job set processing = 1 where job_id = 29;"] [2024/05/06 16:35:41.166 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:39.877 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:41.390 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=2.445474ms] [phyTblIDs="[28]"] [actionTypes="[8]"] [2024/05/06 16:35:41.411 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:41.412 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=29] [version=22] [2024/05/06 16:35:41.413 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=34.609966ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:39.877 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:41.465 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:39.877 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:41.585 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=29] [2024/05/06 16:35:41.585 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:41.587 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.729708555\n# Parse_time: 0\n# Compile_time: 0.003757285\n# Rewrite_time: 0.000015174\n# Optimize_time: 0\n# Wait_TS: 0.000075323\n# DB: mysql\n# Is_internal: true\n# Digest: 4f764dd084d16197c847e23500fcaf8b96dbbabd598c823de37967bfa2ad51cd\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.gc_delete_range ( job_id BIGINT NOT NULL COMMENT \"the DDL job ID\", element_id BIGINT NOT NULL COMMENT \"the schema element ID\", start_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", end_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", ts BIGINT NOT NULL COMMENT \"timestamp in uint64\", UNIQUE KEY delete_range_index (job_id, element_id) );"] [2024/05/06 16:35:41.594 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [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 16:35:42.175 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572907691802624\n# Query_time: 0.524765144\n# Parse_time: 0\n# Compile_time: 0.021018978\n# Rewrite_time: 0.000284265\n# Optimize_time: 0.002166107\n# Wait_TS: 0.000118283\n# Prewrite_time: 0.000787162 Commit_time: 0.000638836 Get_commit_ts_time: 0.000021337 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 4429 Prewrite_region: 1\n# Is_internal: true\n# Digest: 1b73a00c73a03d7dc9dd08a1ea99474b2523e5f72366f740be5156fa244256c4\n# Num_cop_tasks: 0\n# Mem_max: 17177\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2ALYMAkyN18xCTAJMAlOL0EJMAl0aW1lOjk2OC4ywrVzLCBsb29wczoxLCBwcmVwYXJlOiA0NjYuNAUcLGluc2VydDo1MDEuOAURZGNvbW1pdF90eG46IHtwcmV3cml0ZTo3ODcuCU0MZ2V0XxEkGHM6MjEuM8IBZAkTDDo2MzgNSBxzbG93ZXN0XxFD0F9ycGM6IHt0b3RhbDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0b3JlOiBzdG9yZTEsIH0sDVccX3ByaW1hcnnWRAANZAhudW0hBAXQEF9rZXlzGQ5YYnl0ZTo0NDI5fQk0Ljc3IEtCCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('4wLwPgreAgoISW5zZXJ0XzE4AUABUgNOL0FaFnRpbWU6OTY4LjLCtXMsIGxvb3BzOjFiInByZXBhcmU6IDQ2Ni40wgEcBGluAT6QOjUwMS44wrVzYv4BY29tbWl0X3R4bjoge3ByZXdyaXRlOjc4Nw1ODGdldF8RJBhzOjIxLjPCAUkJEww6NjM4BUkkLCBzbG93ZXN0XxFDmF9ycGM6IHt0b3RhbDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0bwGfAHMBBxAxLCB9LA1XHF9wcmltYXJ51kQADWQYbnVtOjEsIAXQEF9rZXlzGQ5kYnl0ZTo0NDI5fXCZJnj///////////8BGAE=')\ninsert into mysql.tidb_ddl_job(job_id, reorg, schema_ids, table_ids, job_meta, type, processing) values(31, false, \"1\", \"30\", 0x7b226964223a33312c2274797065223a332c22736368656d615f6964223a312c227461626c655f6964223a33302c22736368656d615f6e616d65223a226d7973716c222c227461626c655f6e616d65223a2267635f64656c6574655f72616e67655f646f6e65222c227374617465223a382c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b7b226964223a33302c226e616d65223a7b224f223a2267635f64656c6574655f72616e67655f646f6e65222c224c223a2267635f64656c6574655f72616e67655f646f6e65227d2c2263686172736574223a22757466386d6234222c22636f6c6c617465223a22757466386d62345f62696e222c22636f6c73223a5b7b226964223a312c226e616d65223a7b224f223a226a6f625f6964222c224c223a226a6f625f6964227d2c226f6666736574223a302c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a382c22466c6167223a343130352c22466c656e223a32302c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a227468652044444c206a6f62204944222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a322c226e616d65223a7b224f223a22656c656d656e745f6964222c224c223a22656c656d656e745f6964227d2c226f6666736574223a312c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a382c22466c6167223a343039372c22466c656e223a32302c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a2274686520736368656d6120656c656d656e74204944222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a332c226e616d65223a7b224f223a2273746172745f6b6579222c224c223a2273746172745f6b6579227d2c226f6666736574223a322c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a31352c22466c6167223a343039372c22466c656e223a3235352c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22656e636f64656420696e20686578222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a342c226e616d65223a7b224f223a22656e645f6b6579222c224c223a22656e645f6b6579227d2c226f6666736574223a332c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a31352c22466c6167223a343039372c22466c656e223a3235352c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c61746522(len:8903);"] [2024/05/06 16:35:42.177 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:41.612 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:42.177 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:41.612 +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 16:35:42.571 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=13.618315ms] [2024/05/06 16:35:42.798 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572907854594048\n# Query_time: 0.50709317\n# Parse_time: 0\n# Compile_time: 0.001738891\n# Rewrite_time: 0.010752212\n# Optimize_time: 0.009766869\n# Wait_TS: 0.000081664\n# Prewrite_time: 0.000750355 Commit_time: 0.000689538 Get_commit_ts_time: 0.000025563 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 4429 Prewrite_region: 1\n# Is_internal: true\n# Digest: bb9a0484a27cea37dfc9b79800bc11ddc72f4ac11810a6eb126d600a567ce029\n# Num_cop_tasks: 0\n# Mem_max: 18071\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('ogPwTDAJMjhfMwkwCTAJTi9BCTAJdGltZToxLjU0bXMsIGxvb3BzOjEsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo3NTAuNMK1cywgZ2V0X2NvCSQgczoyNS42wrVzETcUOjY4OS41BREgc2xvd2VzdF9wDUPoX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwgY29tbWkBRRBpbWFyedZEAA1kCG51bQHgBdAQX2tleXMZDvA+Ynl0ZTo0NDI5fQk1LjY1IEtCCU4vQQoxCTM2XzEJMAkxCXRhYmxlOnRpZGJfZGRsX2pvYiwgaGFuZGxlOjMxASAhTBA0ODMuMgX9KU4oMiwgR2V0OntudW0FugwxLCB0Af8AXwUuRDE4OC41wrVzfQlOL0EJTi9BCg==')\n# Plan_digest: 3fea32741ba131a439f08d925bc0d60ce688c732cc613c6d3625da6592028edc\n# Binary_plan: tidb_decode_binary_plan('1AN4Cs8DCghVcGRhdGVfMxKUAQoLUG9pbnRfR2V0XzEpAAUB8HXwPzABOAFAAUoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSCWhhbmRsZTozMVoWdGltZTo0ODMuMsK1cywgbG9vcHM6MmIkR2V0OntudW1fcnBjOjEsIHRvdGFsX3RpbWU6MTg4LjXCtXN9cP///////////wF4CQgI////BXwYUgNOL0FaFAkvGC41NG1zLCAJW3wxYv4BY29tbWl0X3R4bjoge3ByZXdyaXRlOjc1MC40wgGFDGdldF8RJBRzOjI1LjYFFwkTFDo2ODkuNQURHHNsb3dlc3RfEUMYX3JwYzogewWrdDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0b3JlOgkHEDEsIH0sDVccX3ByaW1hcnnWRAANZBhudW06MSwgBdAQX2tleXMZDmRieXRlOjQ0Mjl9cJcteP///////////wEYAQ==')\nupdate mysql.tidb_ddl_job set processing = 1 where job_id = 31;"] [2024/05/06 16:35:42.802 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:41.612 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:42.846 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=11.391026ms] [2024/05/06 16:35:43.201 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=2.28511ms] [phyTblIDs="[30]"] [actionTypes="[8]"] [2024/05/06 16:35:43.265 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:43.265 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=31] [version=23] [2024/05/06 16:35:43.266 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=75.844667ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:41.612 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:43.774 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572908111495168] ["min commit ts"=449572908121980929] [key="dIAA///////7X3KAAAAAAAAAHw=="] [2024/05/06 16:35:43.774 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572908110446592] [info="{StartTs:449572908110446592 AttemptedCommitTs:449572908111495168 Key:748000fffffffffffb5f72800000000000001f MinCommitTs:449572908121980929}"] [2024/05/06 16:35:43.776 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572908110446592\n# Query_time: 0.508627911\n# Parse_time: 0\n# Compile_time: 0.001335876\n# Rewrite_time: 0\n# Optimize_time: 0\n# Wait_TS: 0.000088207\n# Prewrite_time: 0.001723686 Commit_time: 0.00138654 Get_commit_ts_time: 0.000022641 Slowest_prewrite_rpc_detail: {total:0.002s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.002s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 19 Prewrite_region: 1\n# Is_internal: true\n# Digest: bdab55af0288282745b06ae511bf5258d90e46fca67dd2e2ef0faca225d2d599\n# Num_cop_tasks: 0\n# Mem_max: 8587\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('oQPwTDAJMjlfMgkwCTAJTi9BCTAJdGltZTo5MjIuNsK1cywgbG9vcHM6MSwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjEuNzJtcywgZ2V0X2NvCSIEczoVPgk1RDoxLjM5bXMsIHNsb3dlc3RfcA0/0F9ycGM6IHt0b3RhbDogMC4wMDJzLCByZWdpb25faWQ6IDIsIHN0b3JlOiBzdG9yZTEsIH0sDVUcX3ByaW1hcnlGRAAAMYpEAA1kCG51bQHcJHdyaXRlX2tleXMZDvBDYnl0ZToxOX0JMzk1IEJ5dGVzCU4vQQoxCTM2XzEJMAkxCXRhYmxlOnRpZGJfbWRsX2luZm8sIGhhbmRsZTozMQkxCXQhSwg0MzQySwEoMiwgR2V0OntudW0FuwwxLCB0IQAAXyV5RDE1MS40wrVzfQlOL0EJTi9BCg==')\n# Plan_digest: ca2b8c61a8ea82f17bacb18dbe38cd4b008fc18663d28963f5ced78ed80210d7\n# Binary_plan: tidb_decode_binary_plan('0QN4CswDCghEZWxldGVfMhKVAQoLUG9pbnRfR2V0XzEpAAUB8HnwPzABOAFAAUoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUgloYW5kbGU6MzFaFnRpbWU6NDM0LjbCtXMsIGxvb3BzOjJiJEdldDp7bnVtX3JwYzoxLCB0b3RhbF90aW1lOjE1MS40wrVzfXD///////////8BeP///wkMBX0QUgNOL0ENXQg5MjIyXQCYMWL4AWNvbW1pdF90eG46IHtwcmV3cml0ZToxLjcybXMsIGdldF9jDSIEczoVPwk1EDoxLjM5ASYcc2xvd2VzdF8RPwBfAaqQIHt0b3RhbDogMC4wMDJzLCByZWdpb25faWQ6IDIsIHN0b3JlOgkHEDEsIH0sDVUcX3ByaW1hcnlGRAAAMYpEAA1kHG51bToxLCB3AcwQX2tleXMZDlxieXRlOjE5fXCLA3j///////////8BGAE=')\ndelete from mysql.tidb_mdl_info where job_id = 31;"] [2024/05/06 16:35:43.785 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572908121980928\n# Query_time: 0.486771305\n# Parse_time: 0\n# Compile_time: 0.014302716\n# Rewrite_time: 0.003300465\n# Optimize_time: 0.008731253\n# Wait_TS: 0.000088601\n# Cop_time: 0.462937248 Process_time: 0.002 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.002 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 189\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000011983\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2wPw5TAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkxCXRpbWU6NDY2LjVtcywgbG9vcHM6MiwgY29wX3Rhc2s6IHtudW06IDEsIG1heDogMi44OW1zLCBwcm9jX2tleXM6IDAsIHRvdF9wcm9jOiAybXMsIHJwY19udW06IDM3MSwgcnBjX3RpbWU6IDI4NS4zbXMsIGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjM3CYAMYWxfdAHLYDc0Ljdtc30JMTg5IEJ5dGVzCU4vQQoxCTEB7gBfOQuIbGUobXlzcWwudGlkYl9tZGxfaW5mby52ZXJzaW9uLCAyMyklHghrdl8lCAR7dAFeGDIuNjJtcywtKAQwfQFdAQQcCjIJNDNfNQkBYiwxMDAwMAl0YWJsZToyXQB8LCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG+ucAA=')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('yQSYCsQECg1UYWJsZVJlYWRlcl83EqACCgtTZWxlY3Rpb25fNhKbAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBxAIjDQDABOAJAAkoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUh5rZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG9qIHRpa3ZfdGFzazp7dGltZToyLjYybXMsIGxvb3BzOjB9cP///////////wF4CQgM////AQWKLIBPIkEpq6qqqqr2qQ2KEFIjbGUoBYkALjKIADAudmVyc2lvbiwgMjMp4nUAAWwM6nPmQC51ACQBQAFSEGRhdGE6PT00WhV0aW1lOjQ2Ni41bXMRzRgyYsABY29wCe5IIHtudW06IDEsIG1heDogMi44OQEqRHByb2Nfa2V5czogMCwgdG90XwESBDogJRQMcnBjXwU2DDM3MSwFDgVnFCAyODUuMwE+8Exjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzozNwmADGFsX3QBzFg3NC43bXN9cL0BeP///////////wEYAQ==')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 23;"] [2024/05/06 16:35:43.856 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:41.612 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:44.465 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572908291588096] ["min commit ts"=449572908402475009] [key=bURETEpvYkhp/3N0b3J5AAAA/AAAAAAAAABoAAAAAAAAAB//AAAAAAAAAAD3] [2024/05/06 16:35:44.466 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572908258820096] [info="{StartTs:449572908258820096 AttemptedCommitTs:449572908291588096 Key:6d44444c4a6f624869ff73746f7279000000fc0000000000000068000000000000001fff0000000000000000f7 MinCommitTs:449572908402475009}"] [2024/05/06 16:35:44.502 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=31] [2024/05/06 16:35:44.503 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:44.505 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 2.913203564\n# Parse_time: 0\n# Compile_time: 0.002984588\n# Rewrite_time: 0.000011797\n# Optimize_time: 0\n# Wait_TS: 0.000092546\n# DB: mysql\n# Is_internal: true\n# Digest: 532cf71b38f2568975d61180716af7e2b05c9ca11023688224ed0c0eece42fa9\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done ( job_id BIGINT NOT NULL COMMENT \"the DDL job ID\", element_id BIGINT NOT NULL COMMENT \"the schema element ID\", start_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", end_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", ts BIGINT NOT NULL COMMENT \"timestamp in uint64\", UNIQUE KEY delete_range_done_index (job_id, element_id) );"] [2024/05/06 16:35:44.517 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [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 16:35:44.674 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:44.544 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:44.675 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:44.544 +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 16:35:44.747 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:44.544 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:45.068 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=2.338899ms] [phyTblIDs="[32]"] [actionTypes="[8]"] [2024/05/06 16:35:45.131 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=11.694788ms] [2024/05/06 16:35:45.162 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:45.162 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=33] [version=24] [2024/05/06 16:35:45.162 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=111.018464ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:44.544 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:45.668 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572908608520192] ["min commit ts"=449572908612190208] [key="dIAA///////7X3KAAAAAAAAAIQ=="] [2024/05/06 16:35:45.668 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572908607733760] [info="{StartTs:449572908607733760 AttemptedCommitTs:449572908608520192 Key:748000fffffffffffb5f728000000000000021 MinCommitTs:449572908612190208}"] [2024/05/06 16:35:45.670 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572908607733760\n# Query_time: 0.505867561\n# Parse_time: 0\n# Compile_time: 0.001342414\n# Rewrite_time: 0\n# Optimize_time: 0\n# Wait_TS: 0.000083712\n# Prewrite_time: 0.000576638 Commit_time: 0.001119652 Get_commit_ts_time: 0.000021472 Slowest_prewrite_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 19 Prewrite_region: 1\n# Is_internal: true\n# Digest: bdab55af0288282745b06ae511bf5258d90e46fca67dd2e2ef0faca225d2d599\n# Num_cop_tasks: 0\n# Mem_max: 8587\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('owPwQzAJMjlfMgkwCTAJTi9BCTAJdGltZTo5NjAuM8K1cywgbG9vcHM6MSwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjU3Ni42BSkMZ2V0XxEkGHM6MjEuNcIBQAkTRDoxLjEybXMsIHNsb3dlc3RfcA1B0F9ycGM6IHt0b3RhbDogMC4wMDBzLCByZWdpb25faWQ6IDIsIHN0b3JlOiBzdG9yZTEsIH0sDVUcX3ByaW1hcnnWRAANZAhudW0B3gXOEF9rZXlzGQ7wQ2J5dGU6MTl9CTM5NSBCeXRlcwlOL0EKMQkzNl8xCTAJMQl0YWJsZTp0aWRiX21kbF9pbmZvLCBoYW5kbGU6MzMJMQl0IU0INDY4Mk0BKDIsIEdldDp7bnVtBbsMMSwgdCEAAF8le0QxNTkuMcK1c30JTi9BCU4vQQo=')\n# Plan_digest: ca2b8c61a8ea82f17bacb18dbe38cd4b008fc18663d28963f5ced78ed80210d7\n# Binary_plan: tidb_decode_binary_plan('0wN4Cs4DCghEZWxldGVfMhKVAQoLUG9pbnRfR2V0XzEpAAUB8HnwPzABOAFAAUoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUgloYW5kbGU6MzNaFnRpbWU6NDY4LjPCtXMsIGxvb3BzOjJiJEdldDp7bnVtX3JwYzoxLCB0b3RhbF90aW1lOjE1OS4xwrVzfXD///////////8BeP///wkMBX0QUgNOL0ENXQg5NjAyXQB4MWL6AWNvbW1pdF90eG46IHtwcmV3cml0ZTo1NzYuNgWHDGdldF8RJChzOjIxLjXCtXMsIAkTQDoxLjEybXMsIHNsb3dlc3RfEUEAXwGskCB7dG90YWw6IDAuMDAwcywgcmVnaW9uX2lkOiAyLCBzdG9yZToJBwwxLCB9EVUcX3ByaW1hcnnWRAANZBhudW06MSwgBc4QX2tleXMZDlxieXRlOjE5fXCLA3j///////////8BGAE=')\ndelete from mysql.tidb_mdl_info where job_id = 33;"] [2024/05/06 16:35:45.673 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572908611928064\n# Query_time: 0.496980838\n# Parse_time: 0\n# Compile_time: 0.005745086\n# Rewrite_time: 0.000940942\n# Optimize_time: 0.002208609\n# Wait_TS: 0.000092051\n# Cop_time: 0.458305973 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 187\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000012169\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2wP0PgEwCTMxXzcJMAkzMzIzLjMzCWRhdGE6U2VsZWN0aW9uXzYJMQl0aW1lOjQ1OC45bXMsIGxvb3BzOjIsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuMTdtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMW1zLCBycGNfbnVtOiAzNjAsIHJwY190aW1lOiAzMjAuNW1zLCBjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzozNTksIHRvdGFsX3RpbWU6ODIuOG1zfQkxODcgQnl0ZXMJTi9BCjEJMV82CTFfMAkzMzIzLjMzCWxlKG15c3FsLnRpZGJfbWRsX2luZm8udmVyc2lvbiwgMjQpJR4Ia3ZfJQgEe3QhKRgxLjAybXMsLSgUMH0JTi9BAQQYCjIJNDNfNQViRDEwMDAwCXRhYmxlOnRpZGJfbQ1dfCwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvrnAA')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('yQSYCsQECg1UYWJsZVJlYWRlcl83EqACCgtTZWxlY3Rpb25fNhKbAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBxAIjDQDABOAJAAkoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUh5rZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG9qIHRpa3ZfdGFzazp7dGltZToxLjAybXMsIGxvb3BzOjB9cP///////////wF4CQgM////AQWKLIBPIkEpq6qqqqr2qQ2KEFIjbGUoBYkALjKIADAudmVyc2lvbiwgMjQp4nUAAWwM6nPmQC51ACQBQAFSEGRhdGE6PT00WhV0aW1lOjQ1OC45bXMRzRgyYsABY29wCe5IIHtudW06IDEsIG1heDogMS4xNwEqRHByb2Nfa2V5czogMCwgdG90XwESCDogMQEdDHJwY18FNgwzNjAsBQ4FZxQgMzIwLjUBIfBxY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6e251bV9ycGM6MzU5LCB0b3RhbF90aW1lOjgyLjhtc31wuwF4////////////ARgB')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 24;"] [2024/05/06 16:35:45.745 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:44.544 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:45.882 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=33] [2024/05/06 16:35:45.882 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:45.884 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.373466857\n# Parse_time: 0\n# Compile_time: 0.006491856\n# Rewrite_time: 0.000018236\n# Optimize_time: 0\n# Wait_TS: 0.000095018\n# DB: mysql\n# Is_internal: true\n# Digest: 28f04155dca9c7fd3a5e16199cefd152c629a57a64d0ccb2ed0f10309c23c59c\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_feedback ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, feedback BLOB NOT NULL, INDEX hist(table_id, is_index, hist_id) );"] [2024/05/06 16:35:45.894 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [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 16:35:45.910 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=12.392223ms] [2024/05/06 16:35:45.979 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:45.917 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:45.980 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:45.917 +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 16:35:46.081 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:45.917 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:46.793 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572908903432192] ["min commit ts"=449572908916015104] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6MzT/AAAAAAAAAAD3] [2024/05/06 16:35:46.793 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572908847857664] [info="{StartTs:449572908847857664 AttemptedCommitTs:449572908903432192 Key:6d44423a3100000000fb00000000000000685461626c653a3334ff0000000000000000f7 MinCommitTs:449572908916015104}"] [2024/05/06 16:35:46.812 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572908913131520\n# Query_time: 0.539068101\n# Parse_time: 0\n# Compile_time: 0.065124678\n# Rewrite_time: 0.00868744\n# Optimize_time: 0.047827725\n# Wait_TS: 0.000151859\n# Cop_time: 0.431165444 Process_time: 0.006 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.003 Cop_proc_p90: 0.004 Cop_proc_max: 0.004 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12630\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('3xO4MAkzXzEzCTAJMjI0Mi4xOQlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwRnByb2Nlc3NpbmcJMAl0aW1lOjQ1Ni43bXMsIGxvb3BzOjEsIENvbmN1cnJlbmN5OjUJMTEuOCBLQglOL0EKMQkxNF8xNAkwboAAGWMUOmRlc2MsTocAFGpvYl9pZBWDDDM4LjgdgxwJMCBCeXRlcxEIHAoyCTE3XzI4HfhUaW5uZXIgam9pbiwgZXF1YWw6W2VxKFoOAThpZCwgQ29sdW1uIzE1KV0udwAANR13oCwgYnVpbGRfaGFzaF90YWJsZTp7dG90YWw6NzIxLjHCtXMsIGZldGNoHRAFMgw6MHN9EawRCCQKMwkzMV80MShCAVQAKR27QGRhdGE6U2VsZWN0aW9uXzQwFZAMNDEuMgVmNYtsY29wX3Rhc2s6IHtudW06IDEsIG1heDogNC44MwG6IWw0X2tleXM6IDAsIHRvdF8BEgg6IDQBHQxycGNfETYBDCXvECA0LjcyAR6YY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uVQocIDE1fQkxNzctmxhOL0EKNAkxAb8EMV9ykAIMcmVvckluBGt2Cc0AewWKCDQuNQWnCe0EMH0BUwEEHAo1CTQ0XzM5BVgcNjY2Ni42Nwkpjy7oAvA8LCByYW5nZTpbLWluZiwzNSksICgzNSwraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCUH8mo4ALDMJNl8yOShQcm9iZSHHNDY0MDAJZ3JvdXAgYnk6VVdALCBmdW5jczpmaXJzdHJvdygVGggpLT4VDDXrBDM0OnUDTHBhcnRpYWxfd29ya2VyOnt3YWxsKbIBLBAzOTc5MWWmAGM9kwg1LCBBHSXlLf9Ad2FpdDoyLjE2OTY3NjI1OHNJFhRleGVjOjANDSV+LDIuMTcwMDU0OTY1c0lVAWgQMTQ5NzZliwhwOTUyEgAUfSwgZmluYqEAFDYxOTA1OUlYAG5VNGqhABw3MTA0NDg2Mg2UBaEcMTI5LjgzN8JhaUHMFakYMTIxMTE1Nx2pEDM0NTg1RT8RqRESWUhBnwAzYV4lsxRub3QoZXE5lxwsIDM1KSksIAEYFGlzbnVsbBkcACkh6QV+DDQzMy4F10mmDDEJMziRnWECEDUJNl8zIdYIODAwXRZKiAQAcLV5ACxOEQUgc2NoZW1hX2lkAeRGtwVF/wkeSWcIbWluFa8AODJiAgAxGbklIAm5BDIscmICGDMuMTUyMjWFVF5iAgAxSUtVYhQxMjE0NTQhlSGsJcEcNDYxLjAxOcI+wQEYNjE5NDg0OCHtgb8cNDMyLjgwNzNJMSnBGRJyagIUMy43NDc4SaOeqQAUNDU5MjEzAX0VqRQxODQuNDKpbQEVJexhNxg0ODExMDM2IYYEYXgFqRA5OTc4NCUZEakREllqADah7AwzNgkwSQil4iRIYXNoQWdnXzMxOZMAMS7nBgQyLKGEqRIAIDbfBQwyLjM2YUxBNU7fBaXBodOl3wwyMjAsBQ4FxgwgMjQzydfO4gU0LCBSZXNvbHZlTG9jazoBlhxfcnBjOjIxOSX+AGGNlCgxMDMuNm1zfQkxOS4PAwA3YQ8AMaW5/hEDzhEDSjkDFmkIfSEAOCWONvwFCDIuMKVcaSvdihg4CTQzXzM0BdEEMTBh42WJOogGemwGYZGacAA=')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('tBbwSQqvFgoNUHJvamVjdGlvbl8xMxKXFQoHU29ydF8xNBKfFAoLSGFzaEpvaW5fMjgSpgQKDlRhYmxlUmVhZGVyXzQxEq8CCgxTZWxlCUAYNDAStgEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wWzpbLWluZiwzNSksICgzNSwraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6NC41NG1zLCBsb29wczowfXD/////BQMEAXgFBwEBAAEFoyyAMSdBKRBTl9tfhKEFowRSGAWfBC50HZ4ULnJlb3Jn3mgALBoBASG6kDSlUl7rQBlrMAFAAVIRZGF0YTpTZWwtjRQ0MFoWdGkBwRg0MS4ywrVzEcMYMWKPAWNvcAnkoCB7bnVtOiAxLCBtYXg6IDQuODNtcywgcHJvY19rZXlzOiAwLCB0b3RfARIEOiAlCgxycGNfETYBDAVmECA0LjcyATvYY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fXCxAT1MEBK+DgoKQTkgQWdnXzI5EuIKLiUCEDMwEuYJGSAQMzUStgU2WAIQMzYSkQMdIhQxEpsBChBFVgxGdWxsSVUANCWyFPDvMEEpAAEBEIjDQDABdlcCAB6+OwIMMi4wNyETDGxvb3B6OwIIKGUxDYkEQL8NiTxSlAFncm91cCBieTpteXNxOkcCIZEcZXNzaW5nLCBKHwAkc2NoZW1hX2lkc1IfABB0YWJsZQkeJGZ1bmNzOm1pbihKRwBEam9iX2lkKS0+Q29sdW1uIzE4RroCmucAHN7d3d0dPvdAKXAJ50G5BA9kQbkISGFzJfAMMzFaFUVREDQzMS44OT4IMmLBYrYCDDIuMzYBKiETTrYCRZhBqkW2DDIyMCwFDgVnFCAyNDMuNQE+zrkCNCwgUmVzb2x2ZUxvY2s6YUwcX3JwYzoyMTllNgRhbAllJDEwMy42bXN9cL4yNAQhEgytbPhAPhIBAIT++QG++QE13T3pADU1iAQzLmX3ScZYMmLSAnBhcnRpYWxfd29ya2VyOnt3YWwN6SA0MzMuMTUyMjWFRgBjfecYNSwgdGFzayWDADElHURfd2FpdDoyLjE2MTIxNDU0N3MJFyxleGVjOjQ2MS4wMTmFt4F/JawFLBQ5NDg0ODJB1jBheDo0MzIuODA3MzU5IcIIcDk1MhIAFH0sIGZpbmKpABA3NDc4NkVjnqkAFDQ1OTIxMwF9AZQFqRQxODQuNDKpYAEVFakYNDgxMTAzNh2pEDk5Nzg0JRkRqRESXlUGRSEESP5NIQgAuUBlMRgubm90KGVxNbYgNSwgMzUpKSwgARgUaXNudWxsGRwEKSk9yCUmKcgMMXD8Ar10JBoBAiFEREREJGM+bgAEOGeRhVEmBDUsjTQcZmlyc3Ryb3cdbpkpWUAENC69BggxYspyQAIYNC4zOTc5MQUyXpcBADBJKVVAGDk2NzYyNTguQAIAMA0NMY8cNzAwNTQ5NjU1jxQ0LjE0OTcp/ymPGRJyOAIUNC42MTkwSXGaoQAYNzEwNDQ4NjY4AhQyOS44MzdC4QIYNzEyMTExNWENSeEYNC4zNDU4NWWDEakREl44AhxN12K5BwYHQTYiCFg8aW5uZXIgam9pbiwgZXF1YWw6W2VxKGL2BQQsIDXyBCldVUYAOKkuTUYwYjtidWlsZF9oYXNoX8VVMDp7dG90YWw6NzIxLjEF3xBmZXRjaB0QBTIsOjBzfSGV9Abz6RQQOqgAAD1KkgCh28nuEDpkZXNjUtQGyawdqWXcBGxv4X0cMSHFQ9syNyo+bABOWgcBSBBtZXRhLE5YBxmJEWkENTY24AIMDUNvbiLeCEA1cJxeeP///////////wEYAQ==')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (35) order by processing desc, job_id;"] [2024/05/06 16:35:46.815 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572908907364352\n# Query_time: 0.510066477\n# Parse_time: 0\n# Compile_time: 0.006636311\n# Rewrite_time: 0.001336782\n# Optimize_time: 0.002068346\n# Wait_TS: 0.000122277\n# Cop_time: 0.488117062 Process_time: 0.002 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.002 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 177\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000012407\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('3APw9TAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6NDg4LjVtcywgbG9vcHM6MSwgY29wX3Rhc2s6IHtudW06IDEsIG1heDogOC4wMW1zLCBwcm9jX2tleXM6IDAsIHRvdF9wcm9jOiAybXMsIHJwY19udW06IDIzOSwgcnBjX3RpbWU6IDI5OC45bXMsIGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjIzOCwgdG90YWxfdGltZToxMgXLXH0JMTc3IEJ5dGVzCU4vQQoxCTFfNgkxXzkMqGxlKG15c3FsLnRpZGJfbWRsX2luZm8udmVyc2lvbiwgMjQpCTAJdGlrdl8lCQR7dCEqGDIuNjNtcywtKQQwfQFdAQQYCjIJNDNfNQViLDEwMDAwCXRhYmxlOjJdAHwsIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkb65wAA==')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('xASYCr8ECg1UYWJsZVJlYWRlcl83EpwCCgtTZWxlY3Rpb25fNhKZAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBpAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6Mi42M21zLCBsb29wczowfXD//////wEEBAF4AQYFAQABBYgsgE8iQSmrqqqqqvapBYgQUiNsZSgFhwAuMoYAOC52ZXJzaW9uLCAyNClqINpzAAFqDOpz5kAZcyQBQAFSEGRhdGE6PTcIWhV0AcgUNDg4LjVtFckgMWLBAWNvcF90AepIIHtudW06IDEsIG1heDogOC4wMQEqRHByb2Nfa2V5czogMCwgdG90XwESCDogMgEdDHJwY18FNgwyMzksBQ4FZ/BYIDI5OC45bXMsIGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjIzOCwBgAxhbF90AcwEMTIFzEB9cLEBeP///////////wEYAQ==')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 24;"] [2024/05/06 16:35:46.833 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=16.786159ms] [phyTblIDs="[34]"] [actionTypes="[8]"] [2024/05/06 16:35:46.833 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=17.906374ms] [2024/05/06 16:35:46.862 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:46.862 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=35] [version=25] [2024/05/06 16:35:46.863 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=68.138791ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:45.917 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:46.986 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:45.917 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:47.076 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=35] [2024/05/06 16:35:47.076 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:47.080 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.190576109\n# Parse_time: 0\n# Compile_time: 0.005208663\n# Rewrite_time: 0.000011652\n# Optimize_time: 0\n# Wait_TS: 0.000100123\n# DB: mysql\n# Is_internal: true\n# Digest: 13e2fcff943423afddaa84c2d34108628854b5953bc7c41d2879240f077a5bd6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.role_edges ( FROM_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', FROM_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', TO_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', TO_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', WITH_ADMIN_OPTION ENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N', PRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER) );"] [2024/05/06 16:35:47.091 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [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 16:35:47.181 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:47.118 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:47.181 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:47.118 +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 16:35:47.289 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:47.118 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:50.465 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000025, primary: 6d44423a3100000000fb00000000000000685461626c653a3336ff0000000000000000f7, txnStartTS: 449572909164527616, lockForUpdateTS:0, minCommitTs:0, ttl: 3139, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:50.466 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000025, primary: 6d44423a3100000000fb00000000000000685461626c653a3336ff0000000000000000f7, txnStartTS: 449572909164527616, lockForUpdateTS:0, minCommitTs:0, ttl: 3139, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:50.474 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000025, primary: 6d44423a3100000000fb00000000000000685461626c653a3336ff0000000000000000f7, txnStartTS: 449572909164527616, lockForUpdateTS:0, minCommitTs:0, ttl: 3139, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:50.475 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000025, primary: 6d44423a3100000000fb00000000000000685461626c653a3336ff0000000000000000f7, txnStartTS: 449572909164527616, lockForUpdateTS:0, minCommitTs:0, ttl: 3139, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:50.475 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000025, primary: 6d44423a3100000000fb00000000000000685461626c653a3336ff0000000000000000f7, txnStartTS: 449572909164527616, lockForUpdateTS:0, minCommitTs:0, ttl: 3139, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:50.476 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000025, primary: 6d44423a3100000000fb00000000000000685461626c653a3336ff0000000000000000f7, txnStartTS: 449572909164527616, lockForUpdateTS:0, minCommitTs:0, ttl: 3139, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:50.476 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000025, primary: 6d44423a3100000000fb00000000000000685461626c653a3336ff0000000000000000f7, txnStartTS: 449572909164527616, lockForUpdateTS:0, minCommitTs:0, ttl: 3139, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:50.476 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000025, primary: 6d44423a3100000000fb00000000000000685461626c653a3336ff0000000000000000f7, txnStartTS: 449572909164527616, lockForUpdateTS:0, minCommitTs:0, ttl: 3139, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:50.477 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000025, primary: 6d44423a3100000000fb00000000000000685461626c653a3336ff0000000000000000f7, txnStartTS: 449572909164527616, lockForUpdateTS:0, minCommitTs:0, ttl: 3139, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:50.477 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000025, primary: 6d44423a3100000000fb00000000000000685461626c653a3336ff0000000000000000f7, txnStartTS: 449572909164527616, lockForUpdateTS:0, minCommitTs:0, ttl: 3139, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:50.477 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000025, primary: 6d44423a3100000000fb00000000000000685461626c653a3336ff0000000000000000f7, txnStartTS: 449572909164527616, lockForUpdateTS:0, minCommitTs:0, ttl: 3139, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:50.477 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000025, primary: 6d44423a3100000000fb00000000000000685461626c653a3336ff0000000000000000f7, txnStartTS: 449572909164527616, lockForUpdateTS:0, minCommitTs:0, ttl: 3139, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:50.477 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000025, primary: 6d44423a3100000000fb00000000000000685461626c653a3336ff0000000000000000f7, txnStartTS: 449572909164527616, lockForUpdateTS:0, minCommitTs:0, ttl: 3139, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:50.477 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000025, primary: 6d44423a3100000000fb00000000000000685461626c653a3336ff0000000000000000f7, txnStartTS: 449572909164527616, lockForUpdateTS:0, minCommitTs:0, ttl: 3139, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:50.478 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000025, primary: 6d44423a3100000000fb00000000000000685461626c653a3336ff0000000000000000f7, txnStartTS: 449572909164527616, lockForUpdateTS:0, minCommitTs:0, ttl: 3139, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:50.478 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000025, primary: 6d44423a3100000000fb00000000000000685461626c653a3336ff0000000000000000f7, txnStartTS: 449572909164527616, lockForUpdateTS:0, minCommitTs:0, ttl: 3139, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:50.478 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000025, primary: 6d44423a3100000000fb00000000000000685461626c653a3336ff0000000000000000f7, txnStartTS: 449572909164527616, lockForUpdateTS:0, minCommitTs:0, ttl: 3139, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:50.480 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000025, primary: 6d44423a3100000000fb00000000000000685461626c653a3336ff0000000000000000f7, txnStartTS: 449572909164527616, lockForUpdateTS:0, minCommitTs:0, ttl: 3139, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:50.481 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572909200703488\n# Query_time: 3.077689994\n# Parse_time: 0\n# Compile_time: 0.02589836\n# Rewrite_time: 0.000991239\n# Optimize_time: 0.002026977\n# Wait_TS: 0.000093803\n# Cop_time: 3.048932938 Process_time: 0.002 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.002 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 175\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000012598\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2gPweTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6My4wNXMsIGxvb3BzOjEsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDIuMjFtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMm1zLCBycGNfCTYQODYwLCABDwB0AWUUIDEuODVzBV3wTHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjE4NTksAYAMYWxfdAFkeDYzNy4ybXN9CTE3NSBCeXRlcwlOL0EKMQkxXzYJMV85CuhsZShteXNxbC50aWRiX21kbF9pbmZvLnZlcnNpb24sIDI1KQkwCXRpa3ZfdGFzazp7dGltZToyLjAzbTUpBDB9AV0BBBgKMgk0M181BWIsMTAwMDAJdGFibGU6Ml0AfCwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvrnAA')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('wgSYCr0ECg1UYWJsZVJlYWRlcl83EpwCCgtTZWxlY3Rpb25fNhKZAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBpAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6Mi4wM21zLCBsb29wczowfXD//////wEEBAF4AQYFAQABBYgsgE8iQSmrqqqqqvapBYgQUiNsZSgFhwAuMoYAOC52ZXJzaW9uLCAyNSlqINpzAAFqDOpz5kAZcyQBQAFSEGRhdGE6PTcIWhN0AcgMMy4wNRXHIDFiwQFjb3BfdAHooCB7bnVtOiAxLCBtYXg6IDIuMjFtcywgcHJvY19rZXlzOiAwLCB0b3RfARIIOiAyAR0McnBjXwk2DDg2MCwFDwVmDCAxLjgBZ/BzY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6e251bV9ycGM6MTg1OSwgdG90YWxfdGltZTo2MzcuMm1zfXCvAXj///////////8BGAE=')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 25;"] [2024/05/06 16:35:50.494 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 6d446966663a323600fe0000000000000073, primary: 6d44423a3100000000fb00000000000000685461626c653a3336ff0000000000000000f7, txnStartTS: 449572909164527616, lockForUpdateTS:0, minCommitTs:449572909164527617, ttl: 3139, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:35:50.493 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572909432700928\n# Query_time: 2.22225922\n# Parse_time: 0\n# Compile_time: 0.047178498\n# Rewrite_time: 0.004085241\n# Optimize_time: 0.039754769\n# Wait_TS: 0.000086296\n# Cop_time: 2.137191822 Process_time: 0.015 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0075 Cop_proc_p90: 0.015 Cop_proc_max: 0.015 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12632\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('yBO4MAkzXzEzCTAJMjI0My41MglteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwQ3Byb2Nlc3NpbmcJMAl0aW1lOjIuMTRzLCBsb29wczoxLCBDb25jdXJyZW5jeTo1CTExLjggS0IJTi9BCjEJMTRfMTQJcn4AGWEUOmRlc2MsToUAFGpvYl9pZFaBABwJMCBCeXRlcxEIHAoyCTE3XzI4HfRUaW5uZXIgam9pbiwgZXF1YWw6W2VxKFoKAQRpZAHTIGx1bW4jMTUpXVZ1AJgsIGJ1aWxkX2hhc2hfdGFibGU6e3RvdGFsOjEuMm1zLCBmZXRjaDoNDQUsDDowc30RpBEIJAozCTMxXzQxKEIBTgApHbNAZGF0YTpTZWxlY3Rpb25fNDARiBg2NzguOcK1LoEBcGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDk0OS40BSshZDRfa2V5czogMCwgcnBjXxEpAQwl1hQgODUxLjYFLphjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb2419RwgMTV9CTE3MS2IGE4vQQo0CTEBtAQxX3L7AQxyZW9ySVcEa3YJwgB7BYwINzAzDYtJZQQwfQFVAQQcCjUJNDRfMzkFWhw2NjY2LjY3CSmALtMC8DwsIHJhbmdlOlstaW5mLDM3KSwgKDM3LCtpbmZdLCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG8JQeeikAAsMwk2XzI5KFByb2JlIcA4NjQwMAlncm91cCBieTpDUUhALCBmdW5jczpmaXJzdHJvdygVGggpLT4VDDHkPmIDTHBhcnRpYWxfd29ya2VyOnt3YWxsKbY4Mi4xMzk5MTUzMzJzLCBjPZUYNSwgdGFzayXpWDAsIHRvdF93YWl0OjEwLjY5Njc3NDQ4ATMBGBhleGVjOjBzCSUlgQklGDg3MzY2MXNJTgVqLDQwNDQ2OHMsIHA5NTISABR9LCBmaW5eowAYNDAyMTA5OQFwoqMAFDc2MjE3OAFsFaMYNzIuMjI1wkH8ARQZqhg3NzIwNzY1LqoAEDU3Nzc5AbwVqg0SWUtBpAAzYVgltBRub3QoZXE5mBwsIDM3KSksIAEYFGlzbnVsbBkcACkh6gV/NqoBCAkzOJGNYQUQNQk2XzMh1Qg4MDBdFUp4BGGgAGWlZVL/BCBzY2hlbWFfaWQB4kajBWUACR5JZghtaW4VrQA4MmECADFKtwAEMix6YQIUODY4NzU5ofRevgEAMUk8WWEYMDUxMjYwM01UAGVBYRQyNTkuMDlOvwEYMDkwMjk4OQHdBGF4IVMcMzgyNzY2NTddaRESdmkCGDM4ODUzMDgh+KKrABQyMzY3NDEyqwAcMTYzLjc0MsJGagIUMjU2MDI3QZYVqwg1NzgBPVFoCRBZZgA2oeIMMzYJMEkGpdgkSGFzaEFnZ18zMV6RAV7TBRAxNS41bSEXBHJvvdFhDgESoYoBHqHVqeEIMTkzqfBFrhAgMS4xNoUoxuEFNCwgUmVzb2x2ZUxvY2s6wWkgX3JwYzoxMTkyJf0AYY2SLDU4MS4zbXN9CTE5Mt0RADdhDAAxpbf+DgPODgNKNgMAahJUCH0eADgljTb6BQQxNQHNHu0I3YgUOAk0M18zgUMMMAkxMGHgZYY6hgZ6agZhjppwAA==')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('nRbwSQqYFgoNUHJvamVjdGlvbl8xMxKCFQoHU29ydF8xNBKMFAoLSGFzaEpvaW5fMjgSnwQKDlRhYmxlUmVhZGVyXzQxErMCCgxTZWxlCUAYNDASuAEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wXjpbLWluZiwzNyksICgzNywraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiJ0aWt2X3Rhc2s6e3RpbWU6NzAzLjbCtXMsIGxvb3BzOjB9cP//////AQMEAXgBBgUBAAEFpSyAMSdBKYsgHYAJh6EFpQRSGAWhBC50HaAULnJlb3Jn5moALBoBASHAokjkuF7rQBltKAFAAVIRZGF0YTpTPVEwWhZ0aW1lOjY3OC45whnFGDFihAFjb3AJ6Ewge251bTogMSwgbWF4OiA5NDkuNAUsRHByb2Nfa2V5czogMCwgcnBjXxEpAQwFWQwgODUxLR/YY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fXCrAT1DEBK6DgoKQTIgQWdnXzI5Et0KLh4CEDMwEuMJGSAQMzUStQU2UQIQMzYSkQMdIhQxEpsBChBFTwxGdWxsSU4ANCWpFPDvMEEpAAEBEIjDQDABdlACAB56NAIIIHRpNjQCGDE1LjNtcyyOMgIIKGUxDYkEQL8NiTxSlAFncm91cCBieTpteXNxOj4CIZYcZXNzaW5nLCBKHwAkc2NoZW1hX2lkc1IfABB0YWJsZQkeJGZ1bmNzOm1pbihKRwBEam9iX2lkKS0+Q29sdW1uIzE44ucAHN7d3d0dPvdAKXAJ50GuBA9kQa4ISGFzJfAMMzFaE0VTDDIuMTQ1PAgyYsJiqQIMMTUuNSFmIRFZpwx0b3RfARJBYAEeQatJtwgxOTNJxgVnGCAxLjE2cyzStwI0LCBSZXNvbHZlTG9jazphPyRfcnBjOjExOTIsAYEEYWwJZAg1ODFBCQh9cMAyKgQhEQytbPhAPhEBAIT++AG++AE13D3oADVWhwFQ0gJwYXJ0aWFsX3dvcmtlcjp7d2FsDeckMi4xMzg2ODc1OSG5AGN95Bg1LCB0YXNrJYEAMSUbSF93YWl0OjEwLjY5MDUxMjYwM3MJGCxleGVjOjI1OS4wOTWFfiHJJaoJLRQ5MDI5ODlB1QRheAlyLDI3NjY1N3MsIHA5NTISABR9LCBmaW5mqwAUODUzMDgxJfwAbpWPcqsAFDIzNjc0MTKrABgxNjMuNzQySqsAGDI1NjAyNzguqwAINTc4AT0VqQUQBH1wxToBAUYfAgRI/k0fCAC5QGUuGC5ub3QoZXE1tCA1LCAzNykpLCABGBRpc251bGwZHAQpKU7GAQwxcPwCvW8kGgECIUREREQkYz5sAAQ4Z5GAUSIENSyNLxxmaXJzdHJvdx1smSRSPAIIMWLNejwCGDk5MTUzMzJqkQEAMEkkWTwUNjc3NDQ4ATNBJ0U8ADBNSVk0FDY4NzM2NiHpUTQUOTQwNDQ2IZsxixESdjQCGDQwMjEwOTkBcF7fAkKjABQ3NjIxNzgBbBWjEDcyLjIyTt4CGDc3MjA3NjVdMxQ5NTc3NzkBvBWqDRJeNwIYGmOJo0cGByqACGgBQAFSPGlubmVyIGpvaW4sIGVxdWFsOltlcShi8gUELCA18wQpXVJFAjBiNWJ1aWxkX2hhc2hfxU9MOnt0b3RhbDoxLjJtcywgZmV0Y2gRDQUsLDowc30hqjuOytIVEDqgAAA9SooAob/J4hA6ZGVzY1LIBsmgUqEAGCFrK1s8Iys+agBOTAcBRhBtZXRhLE5KBxmHUmcADGINQ2+dPzxwnF54////////////ARgB')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (37) order by processing desc, job_id;"] [2024/05/06 16:35:50.980 +08:00] [ERROR] [mvcc.go:1021] ["commit failed, no correspond lock found"] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6Mzb/AAAAAAAAAAD3] ["start ts"=449572909164527616] [lock="{{0 0 0 0 0 false 0 false 0} [] [] []}"] [error="retryable: lock not found"] [stack="github.com/pingcap/tidb/store/mockstore/unistore/tikv.(*MVCCStore).Commit\n\tstore/mockstore/unistore/tikv/mvcc.go:1021\ngithub.com/pingcap/tidb/store/mockstore/unistore/tikv.(*Server).KvCommit\n\tstore/mockstore/unistore/tikv/server.go:366\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:183\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).sendReqToRegion\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1421\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReqCtx\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1177\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReq\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:234\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionCommit.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:98\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1036\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:969\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:788\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:222\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitTxn\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1701\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1692\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:35:50.981 +08:00] [WARN] [session.go:1025] ["can not retry txn"] [label=internal] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 16:35:50.981 +08:00] [WARN] [session.go:1041] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [2024/05/06 16:35:50.982 +08:00] [INFO] [job_table.go:255] ["[ddl] handle ddl job failed"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:47.118 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:51.062 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:47.118 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:51.218 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=309.003µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:51.241 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=370.394µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:51.259 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=21.817151ms] [2024/05/06 16:35:51.301 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=2.451245ms] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:35:51.797 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572910214938624] ["min commit ts"=449572910226997248] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6Mzb/AAAAAAAAAAD3] [2024/05/06 16:35:51.797 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572910153596928] [info="{StartTs:449572910153596928 AttemptedCommitTs:449572910214938624 Key:6d44423a3100000000fb00000000000000685461626c653a3336ff0000000000000000f7 MinCommitTs:449572910226997248}"] [2024/05/06 16:35:51.803 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572910219132928\n# Query_time: 0.49586183\n# Parse_time: 0\n# Compile_time: 0.005794307\n# Rewrite_time: 0.001688592\n# Optimize_time: 0.00173618\n# Wait_TS: 0.000105227\n# Cop_time: 0.474362616 Process_time: 0.003 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.003 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 177\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000012346\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2wPwVTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6NDc1LjJtcywgbG9vcHM6MSwgY29wX3Rhc2s6IHtudW06IDEsIG1heDogMy4zBSlEcHJvY19rZXlzOiAwLCB0b3RfARIsOiAzbXMsIHJwY19uATYIMjc1CQ4AdAFmFCAzNDcuOAEh8Hljb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzoyNzQsIHRvdGFsX3RpbWU6NzguOW1zfQkxNzcgQnl0ZXMJTi9BCjEJMV82CTFfMDULqGxlKG15c3FsLnRpZGJfbWRsX2luZm8udmVyc2lvbiwgMjUpCTAJdGlrdl8lCAR7dAHDCDMuMQXBAGwlKBQwfQlOL0EBBBgKMgk0M181BWIsMTAwMDAJdGFibGU6Ml0AfCwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvrnAA')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('wwSYCr4ECg1UYWJsZVJlYWRlcl83EpwCCgtTZWxlY3Rpb25fNhKZAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBpAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6My4xOG1zLCBsb29wczowfXD//////wEEBAF4AQYFAQABBYgwgE8iQSmrqqqqqvapQAGIEFIjbGUoBYcALjKGADgudmVyc2lvbiwgMjUpaiDacwABagzqc+ZAGXMkAUABUhBkYXRhOj03CFoVdAHIFDQ3NS4ybRXJIDFiwAFjb3BfdAHqRCB7bnVtOiAxLCBtYXg6IDMuMwUqRHByb2Nfa2V5czogMCwgdG90XwESCDogMwFHDHJwY18FNgwyNzUsBQ4FZxQgMzQ3LjgBIfBxY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6e251bV9ycGM6Mjc0LCB0b3RhbF90aW1lOjc4Ljltc31wsQF4////////////ARgB')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 25;"] [2024/05/06 16:35:51.809 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=27] ["start time"=2.736517ms] [phyTblIDs="[36]"] [actionTypes="[8]"] [2024/05/06 16:35:51.808 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572910224637952\n# Query_time: 0.535214822\n# Parse_time: 0\n# Compile_time: 0.064090103\n# Rewrite_time: 0.002884256\n# Optimize_time: 0.058434853\n# Wait_TS: 0.000084926\n# Cop_time: 0.433255135 Process_time: 0.002 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.001 Cop_proc_p90: 0.002 Cop_proc_max: 0.002 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12632\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zRO4MAkzXzEzCTAJMjI0My41MglteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwRnByb2Nlc3NpbmcJMAl0aW1lOjQzOS4zbXMsIGxvb3BzOjEsIENvbmN1cnJlbmN5OjUJMTEuOCBLQglOL0EKMQkxNF8xNAkwboAAGWMUOmRlc2MsTocAFGpvYl9pZBmDCDguNx2DHAkwIEJ5dGVzEQgcCjIJMTdfMjgd+FRpbm5lciBqb2luLCBlcXVhbDpbZXEoWg4BOGlkLCBDb2x1bW4jMTUpXS53AAA1HXdwLCBidWlsZF9oYXNoX3RhYmxlOnt0b3RhbDoxLjIFKRBmZXRjaBUOBS4MOjBzfRGoEQgkCjMJMzFfNDEoQgFQACkdt0BkYXRhOlNlbGVjdGlvbl80MBGMGDYxMS4zwrUuhwFoY29wX3Rhc2s6IHtudW06IDEsIG1heDogODgyBSkhaDRfa2V5czogMCwgcnBjXxEnAQwl3BQgNzkxLjUFLphjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb241+RwgMTV9CTE3MS2KGE4vQQo0CTEBsgQxX3J/AgxyZW9ySV0Ea3YJwAB7BYwMNjYwLgm5SWkEMH0BVQEEHAo1CTQ0XzM5BVocNjY2Ni42NwkpgC7ZAvA8LCByYW5nZTpbLWluZiwzNyksICgzNywraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCUHtopAALDMJNl8yOShQcm9iZSG+NDY0MDAJZ3JvdXAgYnk6VUpALCBmdW5jczpmaXJzdHJvdygVGggpLT4VDDHiCDQzNzLlAlQsIHBhcnRpYWxfd29ya2VyOnt3YWxsKbgBLBQ1MDY3MjJBnwBjPZcINSwgQRQl61gwLCB0b3Rfd2FpdDoyLjE4NDYxMjE4cwkWFGV4ZWM6MA0NJYEFIxg3Njg4MTVzSUskNDM2Ljk4NjkyOQFnCHA5NTISABR9LCBmaW5ioAAUNzEzNzQxATmeoAAYNTI0NjA2Ng2UBaEYNTAuODAxwkH4AcsVqBA1MzIxOQEqQfIhDhAxMTU4OR2nADcVEllHQaAAM2FSJbAUbm90KGVxOZQcLCAzNykpLCABGBRpc251bGwZHAApIeYFfQQ0MzKJBAQzOJGLYQEQNQk2XzMh0Qg4MDBdEUp2BGGcAGWlZwAsTv8EIHNjaGVtYV9pZCGJRqUFRfwJHkliCG1pbhWtADgyXQIAMRG3ADYuywQAMnZdAhg2LjI0OTA5JU9evQEAMUlHUV0cNzUwMTgzMzEuvQEcMjQ3LjM1N8I+vgEYNzUzODQzMAEsKb8YNS4yMzkxM6VDSWYZEnJmAhw2LjM2OTQ2NG5mAj6pABg3OTI2NTA5MqkAADGhwQA4RqkAGDgxODY2NzchhghheDphDxAzMTQ1NB2pADYVElloADah3gwzNgkwSQil1CRIYXNoQWdnXzMxOZMENC4lYonvBDIsoYOpEQAgNtEFCDMuMAXiQTW50WEQARIEOiCFBaHUpeAIMjY2qe5FsBQgMjgyLjgpIABwwuEFNCwgUmVzb2x2ZUxvY2s6AZYYX3JwYzoyNoFnwfoJZSwxMDQuNm1zfQkxOTLdEAA3YQ8AMaW2/hEDzhEDSjkDFlcIfSEAOCWONvkFCDIuOCXhKZjdhxQ4CTQzXzOBRgwwCTEwYeNliTqFBnppBmGRmnAA')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('ohbwSQqdFgoNUHJvamVjdGlvbl8xMxKFFQoHU29ydF8xNBKNFAoLSGFzaEpvaW5fMjgSnQQKDlRhYmxlUmVhZGVyXzQxErMCCgxTZWxlCUAYNDASuAEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wXjpbLWluZiwzNyksICgzNywraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiJ0aWt2X3Rhc2s6e3RpbWU6NjYwLjLCtXMsIGxvb3BzOjB9cP//////AQMEAXgBBgUBAAEFpSyAMSdBKYsgHYAJh6EFpQRSGAWhBC50HaAULnJlb3Jn5moALBoBASHAokjkuF7rQBltKAFAAVIRZGF0YTpTPVEMWhZ0aQHFEDExLjPCGcUYMWKCAWNvcAnoRCB7bnVtOiAxLCBtYXg6IDg4MgUqRHByb2Nfa2V5czogMCwgcnBjXxEnAQwFVxQgNzkxLjUFLthjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9cKsBPUEQErkOCgpBMCBBZ2dfMjkS4AouHAIQMzAS5gkZIBAzNRK2BTZPAhAzNhKRAx0iFDESmwEKEEVNDEZ1bGxJTAA0JacU8O8wQSkAAQEQiMNAMAF2TgIAHnoyAgggdGk2MgIYMi44NW1zLI4wAggoZTENiQRAvw2JPFKUAWdyb3VwIGJ5Om15c3E6PAIhlhxlc3NpbmcsIEofACRzY2hlbWFfaWRzUh8AEHRhYmxlCR4kZnVuY3M6bWluKEpHAERqb2JfaWQpLT5Db2x1bW4jMTji5wAc3t3d3R0+90ApcAnnQawED2RBrAhIYXMl8AwzMVoVRVMQNDM0Ljk5PggyYsFiqQIMMy4wNAEqIRNZqQx0b3RfARIIOiAyAR1BrEW4CDI2NknGBWcUIDI4Mi44ASHOuQI0LCBSZXNvbHZlTG9jazphPyBfcnBjOjI2NSwBgARhbAllJDEwNC42bXN9cMAyKQQhEgytbPhAPhIBAIT++QG++QE13T3pADU1iAQ2Ll3GWDJi0gJwYXJ0aWFsX3dvcmtlcjp7d2FsDekgNDM2LjI0OTA5JboAY33nIREIYXNrJYMAMSUdRF93YWl0OjIuMTc1MDE4MzMxcwkXLGV4ZWM6MjQ3LjM1N4VSIcklrAUsEDM4NDMwASyBpCA0MzUuMjM5MTMFoghwOTUyEgAUfSwgZmluYqkAEDM2OTQ2RTmeqQAYNzkyNjUwOTKpABQxMS4yNThGqQAYODE4NjY3N2F/BGF4JRkQMzE0NTQdqQA2FRIEfXDFOwEBRiECBEj+TSEIALlAZTEYLm5vdChlcTW2IDUsIDM3KSksIAEYFGlzbnVsbBkcDCkpWhMlPQg0MzdB5gRsb8G8DDFw/AK9ciQaAQIhRERERCRjPmwABDhnkYNRJAg1LCCJMhxmaXJzdHJvdx1smSdZPgQ3Li54AARix3I+Ahg3LjUwNjcyZbFelQEAMEknUT4YODQ2MTIxOC6UAQAwDQ0F+CgyLjE4NDc2ODgxNT2MEDk4NjkyRaVJNQA2FRJyNQIcNy43MTM3NDEhSp6gABg1MjQ2MDY2DZRF3hQ1MC44MDFCNAIUODUzMjE5ASpJMxQ3LjExNThpTAmnGRJeMwIYGmOJo0cGByp9CGgBQAFSPGlubmVyIGpvaW4sIGVxdWFsOltlcShi8QUELCA17wQpXZUJADguCQQ0MWI3YnVpbGRfaGFzaF/FUBw6e3RvdGFsOmESISIQZmV0Y2gVDgUuLDowc30hqjuOytIVEDqkAAA9So4AocDJ5RQ6ZGVzYyxO6gbJox2lLnACGCFrK1s8Iys+bABOUQcBSBBtZXRhLE5lABmJFWkIOS4zAeVtURBiDUNvbiLVCEA1cJxeeP///////////wEYAQ==')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (37) order by processing desc, job_id;"] [2024/05/06 16:35:51.862 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:51.862 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=37] [version=27] [2024/05/06 16:35:51.863 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=64.219497ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:47.118 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:51.945 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:47.118 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:52.024 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=37] [2024/05/06 16:35:52.024 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:52.026 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 4.938055814\n# Parse_time: 0\n# Compile_time: 0.003395525\n# Rewrite_time: 0.000012573\n# Optimize_time: 0\n# Wait_TS: 0.000075991\n# DB: mysql\n# Is_internal: true\n# Digest: 9e6b544fb0287e9d8a74031560ed0cd6a5b4e54db073b893a68a76b05d929781\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.default_roles ( HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', DEFAULT_ROLE_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%', DEFAULT_ROLE_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', PRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER) );"] [2024/05/06 16:35:52.047 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [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 16:35:52.675 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=17.844228ms] [2024/05/06 16:35:52.694 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572910450081792] ["min commit ts"=449572910474461184] [key="dIAA///////+X3KAAAAAAAAAJw=="] [2024/05/06 16:35:52.695 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572910447722496] [info="{StartTs:449572910447722496 AttemptedCommitTs:449572910450081792 Key:748000fffffffffffe5f728000000000000027 MinCommitTs:449572910474461184}"] [2024/05/06 16:35:52.697 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572910447722496\n# Query_time: 0.545481658\n# Parse_time: 0\n# Compile_time: 0.033001764\n# Rewrite_time: 0.000282939\n# Optimize_time: 0.011478203\n# Wait_TS: 0.0000857\n# Prewrite_time: 0.000751677 Commit_time: 0.002329172 Get_commit_ts_time: 0.000021769 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 7684 Prewrite_region: 1\n# Is_internal: true\n# Digest: 1b73a00c73a03d7dc9dd08a1ea99474b2523e5f72366f740be5156fa244256c4\n# Num_cop_tasks: 0\n# Mem_max: 20432\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('0gLwYTAJMjdfMQkwCTAJTi9BCTAJdGltZTo3LjM0bXMsIGxvb3BzOjEsIHByZXBhcmU6IDQ3Ny43wrVzLCBpbnNlcnQ6Ni44N21zLCBjb21taXRfdHhuOiB7cHJld3JpdGU6NzUxDS8QZ2V0X2MNJCBzOjIxLjjCtXMRNxA6Mi4zMwFxHHNsb3dlc3RfEUHYX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwgYwloGHByaW1hcnnWRAANZAhudW0hAAXOEF9rZXlzGQ5YYnl0ZTo3Njg0fQk3Ljk1IEtCCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('3QLwnwrYAgoISW5zZXJ0XzE4AUABUgNOL0FaFHRpbWU6Ny4zNG1zLCBsb29wczoxYiBwcmVwYXJlOiA0NzcuN8K1cywgaW5zZXJ0OjYuODdtc2L8AWNvbW1pdF90eG46IHtwcmV3cml0ZTo3NTEuN8K1cywgZ2V0X2NvbW1pdF90czoyMS44wrVzLCBjb21taXQ6Mi4zM21zLCBzbG93ZXN0X3ANQZhfcnBjOiB7dG90YWw6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG8BmwBzAQcQMSwgfSwNVRxfcHJpbWFyedZEAA1kHG51bToxLCB3Ac4QX2tleXMZDmRieXRlOjc2ODR9cNA/eP///////////wEYAQ==')\ninsert into mysql.tidb_ddl_job(job_id, reorg, schema_ids, table_ids, job_meta, type, processing) values(39, false, \"1\", \"38\", 0x7b226964223a33392c2274797065223a332c22736368656d615f6964223a312c227461626c655f6964223a33382c22736368656d615f6e616d65223a226d7973716c222c227461626c655f6e616d65223a2262696e645f696e666f222c227374617465223a382c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b7b226964223a33382c226e616d65223a7b224f223a2262696e645f696e666f222c224c223a2262696e645f696e666f227d2c2263686172736574223a22757466386d6234222c22636f6c6c617465223a22757466386d62345f62696e222c22636f6c73223a5b7b226964223a312c226e616d65223a7b224f223a226f726967696e616c5f73716c222c224c223a226f726967696e616c5f73716c227d2c226f6666736574223a302c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235322c22466c6167223a343130352c22466c656e223a36353533352c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a322c226e616d65223a7b224f223a2262696e645f73716c222c224c223a2262696e645f73716c227d2c226f6666736574223a312c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235322c22466c6167223a343039372c22466c656e223a36353533352c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a332c226e616d65223a7b224f223a2264656661756c745f6462222c224c223a2264656661756c745f6462227d2c226f6666736574223a322c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235322c22466c6167223a343039372c22466c656e223a36353533352c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a342c226e616d65223a7b224f223a22737461747573222c224c223a22737461747573227d2c226f6666736574223a332c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235322c22466c6167223a343039372c22466c656e223a36353533352c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c697422(len:15413);"] [2024/05/06 16:35:52.707 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572910473150464\n# Query_time: 0.437933408\n# Parse_time: 0\n# Compile_time: 0.016505643\n# Rewrite_time: 0.002664567\n# Optimize_time: 0.011339965\n# Wait_TS: 0.00008695\n# Cop_time: 0.758077842 Process_time: 0.003 Request_count: 2\n# Is_internal: true\n# Digest: 1a96197a635ab3d1c0fc027ce178d8aa751e4bd033c39db6163d3ba75b49fe3f\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0015 Cop_proc_p90: 0.002 Cop_proc_max: 0.002 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 2128\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('yxOgMAkzXzEzCTAJMTAJbXlzcWwudGlkYl9kZGxfam9iLmpvYl9tZXRhLCBKHQDwRnByb2Nlc3NpbmcJMAl0aW1lOjM4NC41bXMsIGxvb3BzOjEsIENvbmN1cnJlbmN5Ok9GRgkxLjM2IEtCCU4vQQoxCTE0XzE0Yn0AGWAYOmRlc2MsIEqEAAGhBGlkXoAAHAkwIEJ5dGVzEQgcCjIJMTdfMjgJc1Rpbm5lciBqb2luLCBlcXVhbDpbZXEoYmUAMCwgQ29sdW1uIzE1KV0ucgAAMjLyAHBidWlsZF9oYXNoX3RhYmxlOnt0b3RhbDozODAuNgEqEGZldGNoGQ8FMAw6MHN9EaURCCQKMwkzMV80MShCAVIAKQm0QGRhdGE6U2VsZWN0aW9uXzQwGYkIMC4zAV81e2hjb3BfdGFzazoge251bTogMSwgbWF4OiAxLjkFsiFfNF9rZXlzOiAwLCB0b3RfARIIOiAxAUYMcnBjXwk2CDM1LAUOJeEMIDI2NinimGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbjX9RCAxNX0sIFJlc29sdmVMb2NrOgGWHF9ycGM6MTM0BYAEYWwJZSg5OS43bXN9CTE3NS2/GE4vQQo0CTEB7wQxX0WsUG5vdChpc3RydWVfd2l0aF9udWxsKEq7ARRyZW9yZykhPQx0aWt2KRAAewXLDDEuNzQB6ikwBDB9AWUBBBwKNQk0M18zOQ1qDDAwMAkpyC4ZA3wsIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkbyWWmnAALDMJNl8yOShQcm9iZQGpNDY0MDAJZ3JvdXAgYnk6VXRALCBmdW5jczpmaXJzdHJvdygVGggpLT4VDAV5ZYoEMS4d31QxLCBwYXJ0aWFsX3dvcmtlcjp7d2FsLXAgMzgxLjE0MjU1JfoAYz21CDUsIEFCAF9BCk0kQHdhaXQ6MS45MDQ3MTI0NzNzJbsYX2V4ZWM6MA0NLWABJAw4OTUxASRBegFoEDAyNTI3hSMIcDk1MhIAFH0sIGZpbmKhABQ0MTU4NDkhsZ6hABg1NDU4MzY4DZQFoRw1My4wODnCtQ0UFagcNTU0MjA1NnNpIgGoEDE2NzE4ZVARqBESWSlBkgAzYYElskmSRYg1jk15JZAIMC44Ab5JbwwxCTM4kZxB3RA1CTZfMyG9ADhBcDX9StECYaQAZaV1UhAFIHNjaGVtYV9pZAHMRtAFRcoJHklOCG1pbhWvADhSSQIENzlp8Q25ckkCHDc5LjIyMzM1hWCWqAEcODk0NTQzNzEhfYGEJag6SQIgODk0NjU5NzUyAdUIYXg6AWgIMDA3DWgloQQ3ORUSbkkCHDc5LjM5OTAwqkkCHDg5NTY5MjE5AX0VoRQ2MS45MzQ+SQIcODk1Nzg0NTIBKxGoDDIxNjkpEBGoERJZSQA2oekMMzYJMCn/AGSh5ChIYXNoQWdnXzMxCfFdBDc4MkMCACyhhInSACChTLniBDIuDXIEcm9S4gUln7niBDgxMuIFBDE1iTr+4gUu4gUAOIk+seIIMTM3Acuh4wA3veMAN2EGADGlef4IA84IA0owAxZfCH0YDjsIPkoGADIueQfdSQQ4CcFJgSbBs2HZZX/+SQZebwA=')\n# Plan_digest: 03fa0f18132c15290435ccd6930c03fe7257c7017164897b1e5acdd3c92e1828\n# Binary_plan: tidb_decode_binary_plan('shbwSQqtFgoNUHJvamVjdGlvbl8xMxKTFQoHU29ydF8xNBKbFAoLSGFzaEpvaW5fMjgS0AQKDlRhYmxlUmVhZGVyXzQxEqkCCgxTZWxlCUAYNDASmQEKEAUkUEZ1bGxTY2FuXzM5IQAAAADw7zBBKQEJ8HEAiMNAOAJAAkoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSHmtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkb2ogdGlrdl90YXNrOnt0aW1lOjEuNzRtcywgbG9vcHM6MH1w////////////AXj///8JDAABBYcIIGUxDYcEACQFh1hSL25vdChpc3RydWVfd2l0aF9udWxsKAWYAC4ulwAcLnJlb3JnKSnefwA0GgEBIVVVVVWVj/JAKQAFATQkQDgBQAFSEWRhdGE6Uz1HNFoVdGltZTozODAuM21zEdkYMWLAAWNvcAn6SCB7bnVtOiAxLCBtYXg6IDEuOTIBKkRwcm9jX2tleXM6IDAsIHRvdF8BEgg6IDEBHQxycGNfCTYIMzUsBQ4FZxQgMjY2LjUBIfBVY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6e251bV9ycGM6MTM0LCB0b3RhbF8FZSQ5OS43bXN9cK8BPZMQEpIOCgpBYyBBZ2dfMjkStwouTwIQMzAS0wkZIBAzNRKuBTaCAhAzNhKLAx0iCDESmEaAAgA0Jfn+gAJdgAQfdDqAAgAyLqYBADBufwIAKFV/BEC/SX8slAFncm91cCBieTptYQw2dAIhvRxlc3NpbmcsIEofACRzY2hlbWFfaWRzUh8AEHRhYmxlCR4kZnVuY3M6bWluKEpHAERqb2JfaWQpLT5Db2x1bW4jMTje5AAY3t3d3R0+903hAeRB4QQPZEHhCEhhcyXoBDMxUd8MNzguOEF3IGxvb3BzOjFiwWLfAggyLjVy3wIFHVnfBDgxMt8CCDE1LoUg/t8CLt8CADhpX1HfCDEzNwHMCH1wsS7gAiUQCK1s+DoQAQCE/vQBvvQBNdg95AA1NYYAOWn9MYZUyQJwYXJ0aWFsX3dvcmtlcjp7d2FsbIkrHDM3OS4yMjMzKY4AY50LGDUsIHRhc2uFYCkbRF93YWl0OjEuODk0NTQzNzE2c4mRFGV4ZWM6MA0NhRwFJBQ2NTk3NTJByQRheAVoCDAwNw1oCHA5NTISABR9LCBmaW5ioQAUMzk5MDA5QVmeoQAUNTY5MjE5AX2hMgWhHDYxLjkzNMK1PqgAFDU3ODQ1MgErEagMMjE2OSkQEagREl4KBGEmCK1I/k0WCAC5QGUmABbJicV/MbEINSkpMacEODBBYdUMCHD8Ar1JJBoBAiFEREREJGM+VgAEOGeRXxVUACyNDhxmaXJzdHJvdx1umQNVHwQ4MWk9kh8CHDgxLjE0MjU1xW+WfgEgOTA0NzEyNDczLWolfjofAgEkDDg5NTEBJCV3HDgxLjAyNTI3xbYldx0Sbh8CAc4MMTU4NKofAiA5MDU0NTgzNjguoQAUNTMuMDg5Ph8CHDkwNTU0MjA1QesRqBAxNjcxOOXGEagREl4fAhgUrkfhDHsIKqgIaAFAAVI8aW5uZXIgam9pbiwgZXF1YWw6W2VxKGLPBQQsIDXxBCldVUUENC6lKzHNLDlidWlsZF9oYXNoX8UuGDp7dG90YWwSewgANmFDEGZldGNoGQ8FMCw6MHN9IZ2rBTkqfgg6pgAAPUqQANnFFDpkZXNjLE7KBsmDHacl2g2nBWwA6kJsAE4xBwFIEG1ldGEsTmUAGYlaaQAQYg9Db24i3ghIT0ZGcPQKeP///////////wEYAQ==')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and not reorg order by processing desc, job_id;"] [2024/05/06 16:35:52.708 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:52.071 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:52.708 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:52.071 +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 16:35:52.923 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:52.071 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:53.197 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=3.818478ms] [phyTblIDs="[38]"] [actionTypes="[8]"] [2024/05/06 16:35:53.212 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:53.212 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=39] [version=28] [2024/05/06 16:35:53.213 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=26.648829ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:52.071 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:53.293 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:52.071 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:53.994 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572910791131136] ["min commit ts"=449572910903853057] [key=bURETEpvYkhp/3N0b3J5AAAA/AAAAAAAAABoAAAAAAAAACf/AAAAAAAAAAD3] [2024/05/06 16:35:53.994 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572910735294464] [info="{StartTs:449572910735294464 AttemptedCommitTs:449572910791131136 Key:6d44444c4a6f624869ff73746f7279000000fc00000000000000680000000000000027ff0000000000000000f7 MinCommitTs:449572910903853057}"] [2024/05/06 16:35:54.043 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=39] [2024/05/06 16:35:54.077 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:54.093 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=15.690328ms] [2024/05/06 16:35:54.099 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 2.05769201\n# Parse_time: 0\n# Compile_time: 0.006184521\n# Rewrite_time: 0.0000132\n# Optimize_time: 0\n# Wait_TS: 0.000102839\n# DB: mysql\n# Is_internal: true\n# Digest: 0a4bc55a9ab72ef62ddaa1ee6472d7872306066fd783a8bb67047a497fbb4dbe\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.bind_info ( original_sql TEXT NOT NULL, bind_sql TEXT NOT NULL, default_db TEXT NOT NULL, status TEXT NOT NULL, create_time TIMESTAMP(3) NOT NULL, update_time TIMESTAMP(3) NOT NULL, charset TEXT NOT NULL, collation TEXT NOT NULL, source VARCHAR(10) NOT NULL DEFAULT 'unknown', sql_digest varchar(64), plan_digest varchar(64), INDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\", INDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\" ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 16:35:54.648 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572910953398273\n# Query_time: 0.543511846\n# Parse_time: 0\n# Compile_time: 0.009272618\n# Rewrite_time: 0.000354311\n# Optimize_time: 0\n# Wait_TS: 0.00007947\n# Prewrite_time: 0.000836974 Commit_time: 0.000913927 Get_commit_ts_time: 0.000022617 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 3 Write_size: 261 Prewrite_region: 1\n# DB: mysql\n# Is_internal: true\n# Digest: 79754947f2697eab4eb2d84e7332293dfb5d2eaaf542c05071fce10f3f061e1a\n# Num_cop_tasks: 0\n# Mem_max: 9083\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('nwXwcTAJMjdfMQkwCTAJTi9BCTAJdGltZToyNy4zbXMsIGxvb3BzOjEsIHByZXBhcmU6IHt0b3RhbDogMS4xN21zLCBhdXRvX2lkX2FsbG9jYXRvcjoge2FsbG9jX2NudDogMSwgR2V0OntudW1fcnBjOjQsIAVBAF8FZ7g0NDYuNcK1c30sIGNvbW1pdF90eG46IHtwcmV3cml0ZTo0NjEuN8K1cywgZ2V0XxEkGHM6MjEuMsIBFwkTEDoyMy41AbAcc2xvd2VzdF8RQQV0FbRsMC4wMDBzLCByZWdpb25faWQ6IDIsIHN0b3JlOgkHCDEsIBmMGHByaW1hcnlGRAAAMYpEAA1kCG51bSE/Bc4QX2tleXMZDlhieXRlOjMyfX19LCBpbnNlcnQ6MjYuMgHHCdY+DQEEODNSCwEIMi42LgsBEDkxMy45BRGGDQGOyQANjP4NAVYNAQQzLC0bJQ1IMjYxfQk4OTEgQnl0ZXMJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('qQXwQwqkBQoISW5zZXJ0XzE4AUABUgNOL0FaFHRpbWU6MjcuM21zLCBsb29wczoxYuwCcHJlcGFyZToge3RvdGFsOiAxLjE3ASNMYXV0b19pZF9hbGxvY2F0b3I6IHsFDGBfY250OiAxLCBHZXQ6e251bV9ycGM6NCwgBUEAXwVouDQ0Ni41wrVzfSwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjQ2MS43wrVzLCBnZXRfESQYczoyMS4ywgEXCRMQOjIzLjUBjhxzbG93ZXN0XxFBBXQVtGwwLjAwMHMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6CQcIMSwgGYwYcHJpbWFyeUZEAAAxikQADWQYbnVtOjEsIAXOEF9rZXlzGQ4wYnl0ZTozMn19fSwgaSWJJDoyNi4ybXNi+wEJ1z4OAQQ4M1IMAQgyLjYuDAEQOTEzLjkFEYYOAY7KAA2M/g4BVg4BADMxHCUOTDI2MX1w+wZ4////////////ARgB')\nINSERT HIGH_PRIORITY INTO mysql.bind_info(original_sql, bind_sql, default_db, status, create_time, update_time, charset, collation, source) VALUES ('builtin_pseudo_sql_for_bind_lock', 'builtin_pseudo_sql_for_bind_lock', \"mysql\", 'builtin', \"0000-00-00 00:00:00\", \"0000-00-00 00:00:00\", \"\", \"\", 'builtin');"] [2024/05/06 16:35:54.654 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [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 16:35:54.744 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:54.666 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:54.745 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:54.666 +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 16:35:55.499 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572911181201408\n# Query_time: 0.524094148\n# Parse_time: 0\n# Compile_time: 0.007133693\n# Rewrite_time: 0.003079592\n# Optimize_time: 0.106519784\n# Wait_TS: 0.000074772\n# Prewrite_time: 0.008966739 Commit_time: 0.000716694 Get_commit_ts_time: 0.000021374 Slowest_prewrite_rpc_detail: {total:0.009s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.009s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 4163 Prewrite_region: 1\n# Is_internal: true\n# Digest: bb9a0484a27cea37dfc9b79800bc11ddc72f4ac11810a6eb126d600a567ce029\n# Num_cop_tasks: 0\n# Mem_max: 18071\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('oAPwQDAJMjhfMwkwCTAJTi9BCTAJdGltZToyLjczbXMsIGxvb3BzOjEsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo4Ljk3AScMZ2V0XxEiIHM6MjEuNMK1cxE1FDo3MTYuNwURIHNsb3dlc3RfcA1B6F9ycGM6IHt0b3RhbDogMC4wMDlzLCByZWdpb25faWQ6IDIsIHN0b3JlOiBzdG9yZTEsIH0sIGNvbW1pAUUQaW1hcnlGRAAAMYpEAA1kCG51bQHeBc4QX2tleXMZDuhieXRlOjQxNjN9CTUuNjUgS0IJTi9BCjEJMzZfMQkwCTEJdGFibGU6dGlkYl9kZGxfam9iLCBoYW5kbAE4ASAhShA1MjMuNgX9KUwoMiwgR2V0OntudW0FugwxLCB0Af8AXwUuRDE3NS4ywrVzfQlOL0EJTi9BCg==')\n# Plan_digest: 3fea32741ba131a439f08d925bc0d60ce688c732cc613c6d3625da6592028edc\n# Binary_plan: tidb_decode_binary_plan('0gN4Cs0DCghVcGRhdGVfMxKUAQoLUG9pbnRfR2V0XzEpAAUB8HXwPzABOAFAAUoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSCWhhbmRsZTo0MVoWdGltZTo1MjMuNsK1cywgbG9vcHM6MmIkR2V0OntudW1fcnBjOjEsIHRvdGFsX3RpbWU6MTc1LjLCtXN9cP///////////wF4CQgI////BXwYUgNOL0FaFAUvHDIuNzNtcywgCVt0MWL8AWNvbW1pdF90eG46IHtwcmV3cml0ZTo4Ljk3ASgMZ2V0XxEiGHM6MjEuNMIBmgkTFDo3MTYuNwURHHNsb3dlc3RfEUEYX3JwYzogewWpdDogMC4wMDlzLCByZWdpb25faWQ6IDIsIHN0b3JlOgkHEDEsIH0sDVccX3ByaW1hcnlGRAAAMYpEAA1kGG51bToxLCAFzhBfa2V5cxkOZGJ5dGU6NDE2M31wly14////////////ARgB')\nupdate mysql.tidb_ddl_job set processing = 1 where job_id = 41;"] [2024/05/06 16:35:55.501 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:54.666 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:55.667 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=2.336021ms] [phyTblIDs="[40]"] [actionTypes="[8]"] [2024/05/06 16:35:55.712 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:55.715 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=41] [version=29] [2024/05/06 16:35:55.718 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=62.340671ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:54.666 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:58.751 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572911380430849\n# Query_time: 3.031070882\n# Parse_time: 0\n# Compile_time: 0.023920017\n# Rewrite_time: 0.000970588\n# Optimize_time: 0.001829283\n# Wait_TS: 0.000074939\n# Cop_time: 3.00468904 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 187\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000010973\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2gPweTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkxCXRpbWU6My4wMXMsIGxvb3BzOjIsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuMzdtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMW1zLCBycGNfBTYUMjMwMSwgAQ8AdAFlFCAxLjkzcwVd8ExyX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzoyMzAwLAGADGFsX3QBZGQ1NTMuN21zfQkxODcgQnl0ZXMJTi9BCjEJMQHtAF85CohsZShteXNxbC50aWRiX21kbF9pbmZvLnZlcnNpb24sIDI5KSUdCGt2XyUJBHt0AV8MMS4xOAHjAGwlKQQwfQFdAQQcCjIJNDNfNQkBYiwxMDAwMAl0YWJsZToyXQB8LCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG+ucAA=')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('yASYCsMECg1UYWJsZVJlYWRlcl83EqACCgtTZWxlY3Rpb25fNhKbAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBxAIjDQDABOAJAAkoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUh5rZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG9qIHRpa3ZfdGFzazp7dGltZToxLjE4bXMsIGxvb3BzOjB9cP///////////wF4CQgM////AQWKLIBPIkEpq6qqqqr2qQ2KEFIjbGUoBYkALjKIADAudmVyc2lvbiwgMjkp4nUAAWwM6nPmQC51ACQBQAFSEGRhdGE6PT0sWhN0aW1lOjMuMDFzEcsYMmLBAWNvcAnsoCB7bnVtOiAxLCBtYXg6IDEuMzdtcywgcHJvY19rZXlzOiAwLCB0b3RfARIIOiAxAR0McnBjXwU2EDIzMDEsBQ8FZvBJIDEuOTNzLCBjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazoBlRhfcnBjOjIzATUYdG90YWxfdAHKXDU1My43bXN9cLsBeP///////////wEYAQ==')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 29;"] [2024/05/06 16:35:59.259 +08:00] [ERROR] [mvcc.go:1021] ["commit failed, no correspond lock found"] [key="dIAA///////7X3KAAAAAAAAAKQ=="] ["start ts"=449572911379906560] [lock="{{0 0 0 0 0 false 0 false 0} [] [] []}"] [error="retryable: lock not found"] [stack="github.com/pingcap/tidb/store/mockstore/unistore/tikv.(*MVCCStore).Commit\n\tstore/mockstore/unistore/tikv/mvcc.go:1021\ngithub.com/pingcap/tidb/store/mockstore/unistore/tikv.(*Server).KvCommit\n\tstore/mockstore/unistore/tikv/server.go:366\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:183\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).sendReqToRegion\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1421\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReqCtx\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1177\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReq\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:234\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionCommit.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:98\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1036\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:969\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:788\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:222\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitTxn\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1701\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1692\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/session.autoCommitAfterStmt\n\tsession/tidb.go:282\ngithub.com/pingcap/tidb/session.finishStmt\n\tsession/tidb.go:248\ngithub.com/pingcap/tidb/session.runStmt\n\tsession/session.go:2441\ngithub.com/pingcap/tidb/session.(*session).ExecuteStmt\n\tsession/session.go:2278\ngithub.com/pingcap/tidb/session.(*session).ExecuteInternal\n\tsession/session.go:1730\ngithub.com/pingcap/tidb/ddl.(*session).execute\n\tddl/ddl.go:1812\ngithub.com/pingcap/tidb/ddl.cleanMDLInfo\n\tddl/ddl_worker.go:537\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:275\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:35:59.268 +08:00] [WARN] [session.go:1015] [sql] [label=internal] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/session.autoCommitAfterStmt\n\tsession/tidb.go:282\ngithub.com/pingcap/tidb/session.finishStmt\n\tsession/tidb.go:248\ngithub.com/pingcap/tidb/session.runStmt\n\tsession/session.go:2441\ngithub.com/pingcap/tidb/session.(*session).ExecuteStmt\n\tsession/session.go:2278\ngithub.com/pingcap/tidb/session.(*session).ExecuteInternal\n\tsession/session.go:1730\ngithub.com/pingcap/tidb/ddl.(*session).execute\n\tddl/ddl.go:1812\ngithub.com/pingcap/tidb/ddl.cleanMDLInfo\n\tddl/ddl_worker.go:537\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:275\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [txn="Txn{state=invalid}"] [2024/05/06 16:35:59.270 +08:00] [WARN] [session.go:1298] [retrying] [schemaVersion=29] [retryCnt=0] [queryNum=0] [sql="delete from mysql.tidb_mdl_info where job_id = 41"] [2024/05/06 16:35:59.286 +08:00] [WARN] [session.go:1321] ["transaction association"] ["retrying txnStartTS"=449572912305537024] ["original txnStartTS"=449572911379906560] [2024/05/06 16:35:59.788 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572912309731328] ["min commit ts"=449572912312352769] [key="dIAA///////7X3KAAAAAAAAAKQ=="] [2024/05/06 16:35:59.788 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572912305537024] [info="{StartTs:449572912305537024 AttemptedCommitTs:449572912309731328 Key:748000fffffffffffb5f728000000000000029 MinCommitTs:449572912312352769}"] [2024/05/06 16:35:59.791 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572911379906560\n# Query_time: 4.070104585\n# Parse_time: 0\n# Compile_time: 0.020182306\n# Rewrite_time: 0\n# Optimize_time: 0\n# Wait_TS: 0.000091742\n# Prewrite_time: 0.000449775 Commit_time: 0.008807072 Get_commit_ts_time: 0.000016789 Slowest_prewrite_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 19 Prewrite_region: 1 Txn_retry: 1\n# Is_internal: true\n# Digest: bdab55af0288282745b06ae511bf5258d90e46fca67dd2e2ef0faca225d2d599\n# Num_cop_tasks: 0\n# Mem_max: 8587\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('twTwTDAJMjlfMgkwCTAJTi9BCTAJdGltZToxNC44bXMsIGxvb3BzOjIsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo0NDkuOMK1cywgZ2V0X2NvCSQQczoxNi4JFwk3EDo4LjgxAU8gc2xvd2VzdF9wDUHQX3JwYzoge3RvdGFsOiAwLjAwMHMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwNVRxfcHJpbWFyeUZEAAA5ikQADWQYbnVtOjEsIAXOEF9rZXlzGQ5QYnl0ZToxOSwgdHhuX3JldHJ5OjF9IRIEY2sJKgQgeyUrGDU2NC4ywrUVdAFCEUoR8AByzucAAGwBagE6GDQzMS4yNTcJZPBGcGNfY291bnQ6MX0JMzk1IEJ5dGVzCU4vQQoxCTM2XzEJMAkxCXRhYmxlOnRpZGJfbWRsX2luZm8sIGhhbmRsZTo0MQkyCXQl5QguNjchlinlKDQsIEdldDp7bnVtBXYIMiwgJZgAXwXmPDEuMTVtc30JTi9BCU4vQQo=')\n# Plan_digest: ca2b8c61a8ea82f17bacb18dbe38cd4b008fc18663d28963f5ced78ed80210d7\n# Binary_plan: tidb_decode_binary_plan('5wR4CuIECghEZWxldGVfMhKRAQoLUG9pbnRfR2V0XzEpAAUB8HXwPzACOAFAAUoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUgloYW5kbGU6NDFaFHRpbWU6MS42N21zLCBsb29wczo0YiJHZXQ6e251bV9ycGM6MiwgdG90YWxfdGltZToxLjE1bXN9cP///////////wF4////CQwAAQF5EFIDTi9BEVkMNC44bRVZoDJilANjb21taXRfdHhuOiB7cHJld3JpdGU6NDQ5LjjCtXMsIGdldF9jDSQMczoxNg0XCTcQOjguODEBUBxzbG93ZXN0XxFBBagIIHt0Aad0OiAwLjAwMHMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6CQcQMSwgfSwNVRxfcHJpbWFyeUZEAAA5ikQADWQYbnVtOjEsIAXOEF9rZXlzGQ5oYnl0ZToxOSwgdHhuX3JldHJ5OjF9LCBsb2NrCSoEIHslhRA1NjQuMiUECVQBQhFKEfAIcnBjAS+25wAFaihycGM6NDMxLjI1NwlkaHBjX2NvdW50OjF9cIsDeP///////////wEYAQ==')\ndelete from mysql.tidb_mdl_info where job_id = 41;"] [2024/05/06 16:35:59.795 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572912312352768\n# Query_time: 0.501270959\n# Parse_time: 0\n# Compile_time: 0.004652348\n# Rewrite_time: 0.000828405\n# Optimize_time: 0.001775475\n# Wait_TS: 0.000096822\n# Cop_time: 0.493674906 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 187\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000011069\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('3AP0FwEwCTMxXzcJMAkzMzIzLjMzCWRhdGE6U2VsZWN0aW9uXzYJMQl0aW1lOjQ5NC4zbXMsIGxvb3BzOjIsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuNDZtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMW1zLCBycGNfbnVtOiAyMzQsIHJwY190aW1lOiAzMDMuNm1zLCBjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzoyMzMsIHRvdGFsX3RpbWU6MTAzLjRtc30JMTg3IEJ5dGVzCU4vQQoxCTFfNgkxXzAJMzMyJQyIbGUobXlzcWwudGlkYl9tZGxfaW5mby52ZXJzaW9uLCAyOSklHwhrdl8lCQR7dCEqGDEuMjRtcywtKQQwfQFdAQRcCjIJNDNfNQkxXzAJMTAwMDAJdGFibGU6Ml0AfCwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvrnAA')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('ygSYCsUECg1UYWJsZVJlYWRlcl83EqACCgtTZWxlY3Rpb25fNhKbAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBxAIjDQDABOAJAAkoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUh5rZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG9qIHRpa3ZfdGFzazp7dGltZToxLjI0bXMsIGxvb3BzOjB9cP///////////wF4CQgM////AQWKLIBPIkEpq6qqqqr2qQ2KEFIjbGUoBYkALjKIADAudmVyc2lvbiwgMjkp4nUAAWwM6nPmQC51ACQBQAFSEGRhdGE6PT00WhV0aW1lOjQ5NC4zbXMRzRgyYsEBY29wCe5IIHtudW06IDEsIG1heDogMS40NgEqRHByb2Nfa2V5czogMCwgdG90XwESCDogMQEdDHJwY18FNgwyMzQsBQ4FZxAgMzAzLgU+8HJjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzoyMzMsIHRvdGFsX3RpbWU6MTAzLjRtc31wuwF4////////////ARgB')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 29;"] [2024/05/06 16:35:59.866 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:54.666 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:00.115 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=41] [2024/05/06 16:36:00.115 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:00.135 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=18.29374ms] [2024/05/06 16:36:00.141 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 5.488801074\n# Parse_time: 0\n# Compile_time: 0.00251448\n# Rewrite_time: 0.000013276\n# Optimize_time: 0\n# Wait_TS: 0.00010467\n# DB: mysql\n# Is_internal: true\n# Digest: 04a90564803373a6eb3f5a52e8794d25c4d28f6c18af7899b0b9f1bf1539ec72\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_top_n ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, value LONGBLOB, count BIGINT(64) UNSIGNED NOT NULL, INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:36:00.177 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [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 16:36:00.255 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:00.196 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:00.256 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:00.196 +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 16:36:00.336 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:00.196 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:03.459 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000002b, primary: 6d44423a3100000000fb00000000000000685461626c653a3432ff0000000000000000f7, txnStartTS: 449572912584458240, lockForUpdateTS:0, minCommitTs:0, ttl: 3107, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:03.460 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000002b, primary: 6d44423a3100000000fb00000000000000685461626c653a3432ff0000000000000000f7, txnStartTS: 449572912584458240, lockForUpdateTS:0, minCommitTs:0, ttl: 3107, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:03.461 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000002b, primary: 6d44423a3100000000fb00000000000000685461626c653a3432ff0000000000000000f7, txnStartTS: 449572912584458240, lockForUpdateTS:0, minCommitTs:0, ttl: 3107, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:03.461 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000002b, primary: 6d44423a3100000000fb00000000000000685461626c653a3432ff0000000000000000f7, txnStartTS: 449572912584458240, lockForUpdateTS:0, minCommitTs:0, ttl: 3107, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:03.471 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000002b, primary: 6d44423a3100000000fb00000000000000685461626c653a3432ff0000000000000000f7, txnStartTS: 449572912584458240, lockForUpdateTS:0, minCommitTs:0, ttl: 3107, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:03.471 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572912833232896\n# Query_time: 2.201529248\n# Parse_time: 0\n# Compile_time: 0.019651657\n# Rewrite_time: 0.003169804\n# Optimize_time: 0.013686105\n# Wait_TS: 0.000126348\n# Cop_time: 2.17026844 Process_time: 0.001 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0005 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12630\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('yhO4MAkzXzEzCTAJMjI0Ny41MQlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwQ3Byb2Nlc3NpbmcJMAl0aW1lOjIuMThzLCBsb29wczoxLCBDb25jdXJyZW5jeTo1CTExLjggS0IJTi9BCjEJMTRfMTQJcn4AGWEUOmRlc2MsToUAFGpvYl9pZFaBABwJMCBCeXRlcxEIHAoyCTE3XzI4HfRUaW5uZXIgam9pbiwgZXF1YWw6W2VxKFoKAQRpZAHTIGx1bW4jMTUpXR11ADcu9gCYYnVpbGRfaGFzaF90YWJsZTp7dG90YWw6NzM2LjLCtXMsIGZldGNoHRAFMgw6MHN9EaoRCCQKMwkzMV80MShCAVQAKR25QGRhdGE6U2VsZWN0aW9uXzQwEY4QNDc1LjgFZjWHfGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuMjltcywgIWg0X2tleXM6IDAsIHJwY18RJwEMJdoQIDEuMTUBLJhjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb2419xwgMTV9CTE3MS2KGE4vQQo0CTEBsAQxX3L9AQxyZW9ySVkEa3YJvgB7BYoQOTMyLjUd4AQwfQFVAQQcCjUJNDRfMzkFWhw2NjY2LjY3CSmCLtUC8DwsIHJhbmdlOlstaW5mLDQzKSwgKDQzLCtpbmZdLCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG8JQemikAAsMwk2XzI5KFByb2JlIbw4NjQwMAlncm91cCBieTpDUUpALCBmdW5jczpmaXJzdHJvdygVGggpLT4VDDHgBDIuNm4CTHBhcnRpYWxfd29ya2VyOnt3YWxsKbQBKigzMDc0ODMzcywgYz2VCDUsIEEQJedgMCwgdG90X3dhaXQ6MTAuODYzMTExMjc5cwkYFGV4ZWM6MA0NJYEJJRgyMDgyNjVzSUoBahgyNzkyMDgxQU8EOTUyEgAUfSwgZmluZqMAFDIxODIzNrKjABQ4OTk5MDgNlgWjFDUzLjA5wmFdAc4dqRA5Nzg4OAErQfMFqRA4MjAwMgFwFakNEllKQaMAM2FTJbMUbm90KGVxOZccLCA0MykpLCABGBRpc251bGwZHAApIekFfwFsAHO1DQgJMziRjmEEEDUJNl8zIdQIODAwXRRKeQRhnQBlpWYALE4ABSBzY2hlbWFfaWQhi0akBUX/CR5JZQhtaW4VrQA4MmACADFKtwAEMix6YAIUMTg2MTI5bmACADFJSFVgHDU2NDMzNTk0Lr0BHDI0OC45OTTCQr8BFDU2Nzk1NAFfMb4UMTM4ODE3LmcCERJ6ZwIEMjBB1gAyamcCQqoAAWkENDABM0FURWcQMTc2LjJOqQAUODM4MDk2YTYVqhA3MTQ2MAG8UWgRElloADah3wwzNgkwSQil1SRIYXNoQWdnXzMxXpMBZtAFBDc2oaRBM7nQAbwBEgg6IDEBHaHTqd8INTQ5qe5Fr8EOIZXO4QU0LCBSZXNvbHZlTG9jazrBZSBfcnBjOjE1NDgl/gBhjZIoNTMzLjRtc30JMTkuDQMAN2ENADGlt/4PA84PA0o3AxZWCH0fADgljDb6BQgxLjXlE+lo3YgUOAk0M18zgUQMMAkxMGHhZYc6hgZ6agZhj5pwAA==')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('nxbwSQqaFgoNUHJvamVjdGlvbl8xMxKEFQoHU29ydF8xNBKOFAoLSGFzaEpvaW5fMjgSmwQKDlRhYmxlUmVhZGVyXzQxErMCCgxTZWxlCUAYNDASuAEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wXjpbLWluZiw0MyksICg0MywraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiJ0aWt2X3Rhc2s6e3RpbWU6OTMyLjXCtXMsIGxvb3BzOjB9cP//////AQMEAXgBBgUBAAEFpSyAMSdBKf6Irm0Gj6EFpQRSGAWhBC50HaAULnJlb3Jn5moALBoBASHR2ISh61/rQBltKAFAAVIRZGF0YTpTPVEwWhZ0aW1lOjQ3NS44whnFGDFigAFjb3AJ6KAge251bTogMSwgbWF4OiAxLjI5bXMsIHByb2Nfa2V5czogMCwgcnBjXxEnAQwFVxAgMS4xNQEs2GNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX1wqwE9PxASug4KCkEuIEFnZ18yORLeCi4aAhAzMBLkCRkgEDM1ErQFNk0CEDM2EpEDHSIUMRKbAQoQRUsMRnVsbElKADQlpRTw7zBBKQABARCIw0AwAXZMAgAeejACCCB0aTYwAggxLjUlEwRsb4IuAggoZTENiQRAvw2JPFKUAWdyb3VwIGJ5Om15c3E6OgIhlBxlc3NpbmcsIEofACRzY2hlbWFfaWRzUh8AEHRhYmxlCR4kZnVuY3M6bWluKEpHAERqb2JfaWQpLT5Db2x1bW4jMTji5wAc3t3d3R0+90ApcAnnQaoED2RBqghIYXMl8AwzMVoTRVEUMi4xN3MsLTwIMmLBaqUCBDc2QXkhEVmlDHRvdF8BEgg6IDEBHUGoSbQINTQ5ScMFZkHjCDRzLNK2AjQsIFJlc29sdmVMb2NrOmE6JF9ycGM6MTU0OCwBgARhbAlkJDUzMy40bXN9cL4yJQQhEAytbPhAPhABAIT+9wG+9wE12z3nADVWhgFQ1AJwYXJ0aWFsX3dvcmtlcjp7d2FsDechsRgxODYxMjkzJVEAbnXjGDUsIHRhc2slgQAxJRtAX3dhaXQ6MTAuODU2NDMzNTkhhCGzLGV4ZWM6MjQ4Ljk5NIWlARUlqgktDDc5NTQBX4GfBXEUMzg4MTcxgaQEOTUyEgAUfSwgZmluYqoAGDIwMTI3OTKuqgABaQQ0MAEzAZUFqhAxNzYuMk6pABg4MzgwOTY5YX0EYXgJmBA3MTQ2MAG8FaoNEgR9cMU3AQFGIQIESP5NIQgAuUBlLxgubm90KGVxNbYgNSwgNDMpKSwgARgUaXNudWxsGRwEKSlOyAEMMXD8Ar1wJBoBAiFEREREJGM+bAAEOGeRgVEkBDUsjTAcZmlyc3Ryb3cdbJklUj4CCDFizHo+AhQzMDc0ODMhIwBjWj4CADA6PgIMNjMxMSHIAHMJGCWUADANDVU2HDYzMjA4MjY1PY0h+wQwOC43AhESejcCGDMyMTgyMzZqNwJGowAUODk5OTA4DZYFoxA1My4wOUbfAhg2Mzk3ODg4AStRNhQyODIwMDIBcFE2ERJeNgIYgAb9YQcHByp8CGgBQAFSPGlubmVyIGpvaW4sIGVxdWFsOltlcShi8gUELCA18gQpXVJEAjBiO2J1aWxkX2hhc2hfxU8wOnt0b3RhbDo3MzYuMgXeEGZldGNoHRAFMiw6MHN9Id0QJGaNGBA6pgAAPUqQAKHFyegYOmRlc2MsIEokAMmmGachQul1HDEhTuLabectPmoATlIHAUYQbWV0YSxOYwAZh1JnAAxiDUNvnfE8cJxeeP///////////wEYAQ==')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (43) order by processing desc, job_id;"] [2024/05/06 16:36:03.475 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572912615653376\n# Query_time: 3.041447635\n# Parse_time: 0\n# Compile_time: 0.021910469\n# Rewrite_time: 0.000967763\n# Optimize_time: 0.007057323\n# Wait_TS: 0.000109302\n# Cop_time: 3.016967233 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 175\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000014844\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2APweTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6My4wMnMsIGxvb3BzOjEsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuMzVtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMW1zLCBycGNfBTYUMjAyMiwgAQ8AdAFlFCAxLjk0cwVd8HlyX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzoyMDIxLCB0b3RhbF90aW1lOjU3Ni4ybXN9CTE3NSBCeXRlcwlOL0EKMQkxXzYJMV8wCTEKqGxlKG15c3FsLnRpZGJfbWRsX2luZm8udmVyc2lvbiwgMjkpCTAJdGlrdl8lCQR7dAHDCDEuMQHiAGwlKBQwfQlOL0EBBBwKMgk0M181CQFhLDEwMDAwCXRhYmxlOjJcAHwsIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkb6pvAA==')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('wASYCrsECg1UYWJsZVJlYWRlcl83EpoCCgtTZWxlY3Rpb25fNhKYAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBxAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvah90aWt2X3Rhc2s6e3RpbWU6MS4xbXMsIGxvb3BzOjB9cP///////////wF4////CQwAAQWHLIBPIkEpq6qqqqr2qQWHEFIjbGUoBYYELnQuhQA4LnZlcnNpb24sIDI5KWof1nIAAWkM6nPmQBlyJAFAAVIQZGF0YTo9NQhaE3QBxhAzLjAycxHGIDFiwQFjb3BfdAHmoCB7bnVtOiAxLCBtYXg6IDEuMzVtcywgcHJvY19rZXlzOiAwLCB0b3RfARIIOiAxAR0McnBjXwU2EDIwMjIsBQ8FZvBJIDEuOTRzLCBjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazoBlSBfcnBjOjIwMjEFgAxhbF90AcpcNTc2LjJtc31wrwF4////////////ARgB')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 29;"] [2024/05/06 16:36:03.477 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 6d446966663a333000fe0000000000000073, primary: 6d44423a3100000000fb00000000000000685461626c653a3432ff0000000000000000f7, txnStartTS: 449572912584458240, lockForUpdateTS:0, minCommitTs:449572912584458241, ttl: 3107, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:03.951 +08:00] [ERROR] [mvcc.go:1021] ["commit failed, no correspond lock found"] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6NDL/AAAAAAAAAAD3] ["start ts"=449572912584458240] [lock="{{0 0 0 0 0 false 0 false 0} [] [] []}"] [error="retryable: lock not found"] [stack="github.com/pingcap/tidb/store/mockstore/unistore/tikv.(*MVCCStore).Commit\n\tstore/mockstore/unistore/tikv/mvcc.go:1021\ngithub.com/pingcap/tidb/store/mockstore/unistore/tikv.(*Server).KvCommit\n\tstore/mockstore/unistore/tikv/server.go:366\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:183\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).sendReqToRegion\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1421\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReqCtx\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1177\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReq\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:234\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionCommit.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:98\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1036\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:969\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:788\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:222\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitTxn\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1701\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1692\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:36:03.953 +08:00] [WARN] [session.go:1025] ["can not retry txn"] [label=internal] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 16:36:03.954 +08:00] [WARN] [session.go:1041] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [2024/05/06 16:36:03.955 +08:00] [INFO] [job_table.go:255] ["[ddl] handle ddl job failed"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:00.196 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:04.015 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:00.196 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:04.117 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=299.656µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:04.133 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=288.972µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:04.156 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=289.814µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:04.178 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=267.279µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:04.192 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=302.361µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:04.203 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=11.855934ms] [2024/05/06 16:36:04.222 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=2.041333ms] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:04.240 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=31] ["start time"=2.038044ms] [phyTblIDs="[42]"] [actionTypes="[8]"] [2024/05/06 16:36:04.266 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:04.266 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=43] [version=31] [2024/05/06 16:36:04.266 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=37.003944ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:00.196 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:07.310 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572913619140608\n# Query_time: 3.051342684\n# Parse_time: 0\n# Compile_time: 0.024652346\n# Rewrite_time: 0.020289027\n# Optimize_time: 0.002048425\n# Wait_TS: 0.000063647\n# Cop_time: 3.024620013 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 187\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000008749\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2APweTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkxCXRpbWU6My4wM3MsIGxvb3BzOjIsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuNjZtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMW1zLCBycGNfBTYUMjU0OSwgAQ8AdAFlFCAxLjkzcwVd8ExyX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzoyNTQ4LAGADGFsX3QBZGQ1NTguNG1zfQkxODcgQnl0ZXMJTi9BCjEJMQHtAF85CohsZShteXNxbC50aWRiX21kbF9pbmZvLnZlcnNpb24sIDMxKSUdCGt2XyUJBHt0AV8AMQFdACwtKAQwfQFcAQQcCjIJNDNfNQkBYSwxMDAwMAl0YWJsZToyXAB8LCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG+qbwA=')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('xgSYCsEECg1UYWJsZVJlYWRlcl83Ep4CCgtTZWxlY3Rpb25fNhKaAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBpAIjDQDABOAJAAkoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUh5rZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG9qH3Rpa3ZfdGFzazp7dGltZToxLjRtcywgbG9vcHM6MH1w/////wUEBAF4BQcBAQABBYksgE8iQSmrqqqqqvapDYkQUiNsZSgFiAAuMocAMC52ZXJzaW9uLCAzMSnedAABawzqc+ZALnQAJAFAAVIQZGF0YTo9OzBaE3RpbWU6My4wM3MsDcoYMmLBAWNvcAnqSCB7bnVtOiAxLCBtYXg6IDEuNjYB9ERwcm9jX2tleXM6IDAsIHRvdF8BEgg6IDEBHQxycGNfBTYQMjU0OSwFDwVmDCAxLjkBZ/BPY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6e251bV9ycGM6MjU0OCwBgAxhbF90AcpcNTU4LjRtc31wuwF4////////////ARgB')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 31;"] [2024/05/06 16:36:07.777 +08:00] [ERROR] [mvcc.go:1021] ["commit failed, no correspond lock found"] [key="dIAA///////7X3KAAAAAAAAAKw=="] ["start ts"=449572913616257024] [lock="{{0 0 0 0 0 false 0 false 0} [] [] []}"] [error="retryable: lock not found"] [stack="github.com/pingcap/tidb/store/mockstore/unistore/tikv.(*MVCCStore).Commit\n\tstore/mockstore/unistore/tikv/mvcc.go:1021\ngithub.com/pingcap/tidb/store/mockstore/unistore/tikv.(*Server).KvCommit\n\tstore/mockstore/unistore/tikv/server.go:366\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:183\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).sendReqToRegion\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1421\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReqCtx\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1177\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReq\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:234\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionCommit.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:98\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1036\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:969\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:788\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:222\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitTxn\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1701\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1692\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/session.autoCommitAfterStmt\n\tsession/tidb.go:282\ngithub.com/pingcap/tidb/session.finishStmt\n\tsession/tidb.go:248\ngithub.com/pingcap/tidb/session.runStmt\n\tsession/session.go:2441\ngithub.com/pingcap/tidb/session.(*session).ExecuteStmt\n\tsession/session.go:2278\ngithub.com/pingcap/tidb/session.(*session).ExecuteInternal\n\tsession/session.go:1730\ngithub.com/pingcap/tidb/ddl.(*session).execute\n\tddl/ddl.go:1812\ngithub.com/pingcap/tidb/ddl.cleanMDLInfo\n\tddl/ddl_worker.go:537\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:275\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:36:07.778 +08:00] [WARN] [session.go:1015] [sql] [label=internal] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/session.autoCommitAfterStmt\n\tsession/tidb.go:282\ngithub.com/pingcap/tidb/session.finishStmt\n\tsession/tidb.go:248\ngithub.com/pingcap/tidb/session.runStmt\n\tsession/session.go:2441\ngithub.com/pingcap/tidb/session.(*session).ExecuteStmt\n\tsession/session.go:2278\ngithub.com/pingcap/tidb/session.(*session).ExecuteInternal\n\tsession/session.go:1730\ngithub.com/pingcap/tidb/ddl.(*session).execute\n\tddl/ddl.go:1812\ngithub.com/pingcap/tidb/ddl.cleanMDLInfo\n\tddl/ddl_worker.go:537\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:275\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [txn="Txn{state=invalid}"] [2024/05/06 16:36:07.779 +08:00] [WARN] [session.go:1298] [retrying] [schemaVersion=31] [retryCnt=0] [queryNum=0] [sql="delete from mysql.tidb_mdl_info where job_id = 43"] [2024/05/06 16:36:07.783 +08:00] [WARN] [session.go:1321] ["transaction association"] ["retrying txnStartTS"=449572914535858176] ["original txnStartTS"=449572913616257024] [2024/05/06 16:36:07.787 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572913616257024\n# Query_time: 3.5167745139999997\n# Parse_time: 0\n# Compile_time: 0.003248868\n# Rewrite_time: 0\n# Optimize_time: 0\n# Wait_TS: 0.000081065\n# Prewrite_time: 0.000471244 Commit_time: 0.001305137 Get_commit_ts_time: 0.000019421 Slowest_prewrite_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 19 Prewrite_region: 1 Txn_retry: 1\n# Is_internal: true\n# Digest: bdab55af0288282745b06ae511bf5258d90e46fca67dd2e2ef0faca225d2d599\n# Num_cop_tasks: 0\n# Mem_max: 8587\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('tgTwTDAJMjlfMgkwCTAJTi9BCTAJdGltZToyLjRtcywgbG9vcHM6MiwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjQ3MS4ywrVzLCBnZXRfY29tBSQUczoxOS40BRcJExA6MS4zMQFPHHNsb3dlc3RfEUHQX3JwYzoge3RvdGFsOiAwLjAwMHMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwNVRxfcHJpbWFyeUZEAAAxikQADWQcbnVtOjEsIHcBzhBfa2V5cxkOUGJ5dGU6MTksIHR4bl9yZXRyeToxfSESBGNrCSoEIHslKgwxLjI3AdwJUgFAEUgR7gByzuUAAGwBaAE6GDM2My4xNTMlT/BGcnBjX2NvdW50OjF9CTM5NSBCeXRlcwlOL0EKMQkzNl8xCTAJMQl0YWJsZTp0aWRiX21kbF9pbmZvLCBoYW5kbGU6NDMJMgkNuAQ0NgG4KeMoNCwgR2V0OntudW0FdggyLCAllgBfBSxEMjc0LjHCtXN9CU4vQQlOL0EK')\n# Plan_digest: ca2b8c61a8ea82f17bacb18dbe38cd4b008fc18663d28963f5ced78ed80210d7\n# Binary_plan: tidb_decode_binary_plan('5gR4CuEECghEZWxldGVfMhKTAQoLUG9pbnRfR2V0XzEpAAUB8G3wPzACOAFAAUoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUgloYW5kbGU6NDNaFHRpbWU6MS40Nm1zLCBsb29wczo0YiRHZXQ6e251bV9ycGM6MiwgdG90YWxfdGltZToyNzQuMcK1c31w/////wUEBAF4BQcBAQABAXsYUgNOL0FaEwVbDDIuNG0VWqAyYpIDY29tbWl0X3R4bjoge3ByZXdyaXRlOjQ3MS4ywrVzLCBnZXRfYw0kFHM6MTkuNAUXCTcQOjEuMzEBUBxzbG93ZXN0XxFBBakIIHt0Aah0OiAwLjAwMHMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6CQcQMSwgfSwNVRxfcHJpbWFyeUZEAAAxikQADWQYbnVtOjEsIAXOEF9rZXlzGQ5oYnl0ZToxOSwgdHhuX3JldHJ5OjF9LCBsb2NrCSoEIHslKwwxLjI3AdwJUgFAEUgR7ghycGMBLbblAAVoKHJwYzozNjMuMTUzJU9scnBjX2NvdW50OjF9cIsDeP///////////wEYAQ==')\ndelete from mysql.tidb_mdl_info where job_id = 43;"] [2024/05/06 16:36:07.865 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:00.196 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:08.501 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572914593792000] ["min commit ts"=449572914714378241] [key=bURETEpvYkhp/3N0b3J5AAAA/AAAAAAAAABoAAAAAAAAACv/AAAAAAAAAAD3] [2024/05/06 16:36:08.501 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572914557091840] [info="{StartTs:449572914557091840 AttemptedCommitTs:449572914593792000 Key:6d44444c4a6f624869ff73746f7279000000fc0000000000000068000000000000002bff0000000000000000f7 MinCommitTs:449572914714378241}"] [2024/05/06 16:36:08.525 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=43] [2024/05/06 16:36:08.525 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:08.527 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 8.352713921\n# Parse_time: 0\n# Compile_time: 0.00359511\n# Rewrite_time: 0.000019632\n# Optimize_time: 0\n# Wait_TS: 0.000086614\n# DB: mysql\n# Is_internal: true\n# Digest: 3e05fb8977f83f4e32022552aded3680a039cddc4239c339119a655dc1cffdbb\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist ( name CHAR(100) NOT NULL, store_type CHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb', reason VARCHAR(200) );"] [2024/05/06 16:36:08.529 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [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 16:36:08.862 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=15.297854ms] [2024/05/06 16:36:09.151 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572914759467008\n# Query_time: 0.565593944\n# Parse_time: 0\n# Compile_time: 0.047360773\n# Rewrite_time: 0.005601481\n# Optimize_time: 0.01214489\n# Wait_TS: 0.000099953\n# Prewrite_time: 0.014233909 Commit_time: 0.00070654 Get_commit_ts_time: 0.000028922 Slowest_prewrite_rpc_detail: {total:0.014s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.014s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 1859 Prewrite_region: 1\n# Is_internal: true\n# Digest: 1b73a00c73a03d7dc9dd08a1ea99474b2523e5f72366f740be5156fa244256c4\n# Num_cop_tasks: 0\n# Mem_max: 10511\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('1gLYMAkyN18xCTAJMAlOL0EJMAl0aW1lOjk1MC4ywrVzLCBsb29wczoxLCBwcmVwYXJlOiA0ODMuNwUcLGluc2VydDo0NjYuNgURiGNvbW1pdF90eG46IHtwcmV3cml0ZToxNC4ybXMsIGdldF9jDSIUczoyOC45HTUUOjcwNi41BREcc2xvd2VzdF8RQdBfcnBjOiB7dG90YWw6IDAuMDE0cywgcmVnaW9uX2lkOiAyLCBzdG9yZTogc3RvcmUxLCB9LBGMGHByaW1hcnlCRAAEMDGKRAANZAhudW0hAgXOEF9rZXlzGQ4EYnkB4UA4NTl9CTIuMjYgS0IJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('4QLwPgrcAgoISW5zZXJ0XzE4AUABUgNOL0FaFnRpbWU6OTUwLjLCtXMsIGxvb3BzOjFiInByZXBhcmU6IDQ4My43wgEcBGluAT64OjQ2Ni42wrVzYvwBY29tbWl0X3R4bjoge3ByZXdyaXRlOjE0LjJtcywgZ2V0X2MNIhhzOjI4LjnCAUcJNRQ6NzA2LjUFERxzbG93ZXN0XxFBmF9ycGM6IHt0b3RhbDogMC4wMTRzLCByZWdpb25faWQ6IDIsIHN0bwGdAHMBBxAxLCB9LA1XHF9wcmltYXJ5QkQABDAxikQADWQYbnVtOjEsIAXOEF9rZXlzGQ5kYnl0ZToxODU5fXCPEnj///////////8BGAE=')\ninsert into mysql.tidb_ddl_job(job_id, reorg, schema_ids, table_ids, job_meta, type, processing) values(45, false, \"1\", \"44\", 0x7b226964223a34352c2274797065223a332c22736368656d615f6964223a312c227461626c655f6964223a34342c22736368656d615f6e616d65223a226d7973716c222c227461626c655f6e616d65223a226f70745f72756c655f626c61636b6c697374222c227374617465223a382c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b7b226964223a34342c226e616d65223a7b224f223a226f70745f72756c655f626c61636b6c697374222c224c223a226f70745f72756c655f626c61636b6c697374227d2c2263686172736574223a22757466386d6234222c22636f6c6c617465223a22757466386d62345f62696e222c22636f6c73223a5b7b226964223a312c226e616d65223a7b224f223a226e616d65222c224c223a226e616d65227d2c226f6666736574223a302c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235342c22466c6167223a343039372c22466c656e223a3130302c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d5d2c22696e6465785f696e666f223a6e756c6c2c22636f6e73747261696e745f696e666f223a6e756c6c2c22666b5f696e666f223a6e756c6c2c227374617465223a302c22706b5f69735f68616e646c65223a66616c73652c2269735f636f6d6d6f6e5f68616e646c65223a66616c73652c22636f6d6d6f6e5f68616e646c655f76657273696f6e223a302c22636f6d6d656e74223a22222c226175746f5f696e635f6964223a302c226175746f5f69645f6361636865223a302c226175746f5f72616e645f6964223a302c226d61785f636f6c5f6964223a312c226d61785f6964785f6964223a302c226d61785f666b5f6964223a302c226d61785f6373745f6964223a302c227570646174655f74696d657374616d70223a302c225368617264526f77494442697473223a302c226d61785f73686172645f726f775f69645f62697473223a302c226175746f5f72616e646f6d5f62697473223a302c226175746f5f72616e646f6d5f72616e67655f62697473223a302c227072655f73706c69745f726567696f6e73223a302c22706172746974696f6e223a6e756c6c2c22636f6d7072657373696f6e223a22222c2276696577223a6e756c6c2c2273657175656e6365223a6e756c6c2c224c6f636b223a6e756c6c2c2276657273696f6e223a352c227469666c6173685f7265706c696361223a6e756c6c2c2269735f636f6c756d6e6172223a66616c73652c2274656d705f7461626c655f74797065223a302c2263616368655f7461626c655f737461747573223a302c22706f6c6963795f7265665f696e666f223a6e756c6c2c2273746174735f6f7074696f6e73223a6e756c6c2c2265786368616e67655f706172746974696f6e5f696e666f223a6e756c6c2c2274746c5f696e666f223a6e756c6c7d2c66616c73655d2c22736368656d615f7374617465223a302c22736e617073686f745f766572223a302c227265616c5f73746172745f7473223a302c2273746172745f7473223a3434393537323931343734323638393739322c22646570656e64656e63795f6964223a302c227175657279223a22435245415445205441424c45204946204e4f5420455849535453206d7973716c2e6f70745f72756c655f626c61636b6c69737420285c6e5c745c746e616d65205c74434841522831303029204e4f54204e554c4c5c6e5c74293b222c2262696e6c6f67223a7b22536368656d6156657273696f6e223a302c224442496e666f223a6e756c6c2c225461626c65496e666f223a6e756c6c2c2246696e69736865645453223a302c224d756c7469706c655461626c65496e666f73223a6e756c6c7d2c2276657273696f6e223a312c2272656f72675f6d657461223a6e756c6c2c226d756c74695f736368656d615f696e666f223a6e756c6c2c227072696f72697479223a302c227365715f6e756d223a302c2263686172736574223a22222c22636f6c6c617465223a22227d, 3, false);"] [2024/05/06 16:36:09.152 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:08.568 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:09.152 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:08.568 +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 16:36:09.171 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572914762088448\n# Query_time: 0.559854459\n# Parse_time: 0\n# Compile_time: 0.037410256\n# Rewrite_time: 0.002569186\n# Optimize_time: 0.032293502\n# Wait_TS: 0.000101532\n# Cop_time: 0.929065156 Request_count: 2\n# Is_internal: true\n# Digest: 1419dc3f429d38aa633c567e9a7382c40500243679dfa77e81a8e3ecb9436ee2\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0 Cop_proc_p90: 0 Cop_proc_max: 0 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12611\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('shO4MAkzXzEzCTAJNjY1Ni42NwlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwRnByb2Nlc3NpbmcJMAl0aW1lOjUwNS44bXMsIGxvb3BzOjEsIENvbmN1cnJlbmN5OjUJMTEuOCBLQglOL0EKMQkxNF8xNAkwboAAGWMUOmRlc2MsTocAFGpvYl9pZBGDCDQ4OR2BHAkwIEJ5dGVzEQgcCjIJMTdfMjcd9lRpbm5lciBqb2luLCBlcXVhbDpbZXEoWgwBOGlkLCBDb2x1bW4jMTUpXRl1ADg6+ABwYnVpbGRfaGFzaF90YWJsZTp7dG90YWw6NDY2LjUBoRBmZXRjaBkPBTAMOjBzfRGqEQggCjMJNl8yOShCAVEAKQG4MDQwMAlncm91cCBieToVjUAsIGZ1bmNzOmZpcnN0cm93KBUaCCktPhUMFbEMNjYuMwGHNalQcGFydGlhbF93b3JrZXI6e3dhbGxfJdUkNDY1Ljg4OTkzNAExCGNvbjnRiCwgdGFza19udW06MCwgdG90X3dhaXQ6Mi4zMjc0NTU3NzFzCRcYZXhlYzowcwkNBVYFJBA1MzY1MwEkCG1heAVoFDUyNzEzNgFoCHA5NTISABR9LCBmaW5aoQAUNi4wODg3ATeenwAUODQ2NTA0AXsBtgWfHDQ2Ljk3OcK1PqYAIDg1Mzk1MTJzLBWmEDkyMjg2JcYRphESAH1B2wEEGAo0CTFfMzAxsCRub3QoaXNudWxsPZghziUMIWIFTy2OCAkzOFG4IE4vQQo1CTZfMyG7CDgwMD37SqMCeS9SKgMgc2NoZW1hX2lkAcxG0ANFqQkeSUwIbWluFa8AOFZHAgA1MrkAACx6RwIQMjEyMzNloJ6oARgzNjIwMjc3LZQlqEJHAhgzODQ3MDc1AdVFRxQ0Ljg4MjJFrimgFRFyRQIYNS4zNzAwNSWJnp8AGDQxODIxMDkunwAUNjMuODXCQkYCGDQyODgxOTgVpRw1LjI4MzU0MUG1CaYZEllGIDYJMzFfMzYJMCn8OGRhdGE6SGFzaEFnZ18zMXnOBDQuBe9NQBQsIGNvcF9hmwg6IHthnQQgMUm9DCAzMC5lJ0EpMF9rZXlzOiAwLCBycGNlxAwgMTc3CQ5FlxAgMzAwLgWhkGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2OdGUQgMTV9LCBSZXNvbHZlTG9jazoBhyBfcnBjOjE3NixhdABhjV4oNzQuNm1zfQkxNzGtq0HzADdB8wwxCTFfDfmV8Eq3AgHMyYf+9QJV9UpmAMlmfQUAOCV+BGt2KWgAeyUyEDg5Ni4yJfwpigAwOcoUOAk0M18zgRYMMAkxMGHJZW8AOi5vB3wsIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkb7ZyAAAzQTwcNDEoUHJvYmWBbAA27egAZEFGLFNlbGVjdGlvbl80MAVYBG1lhYhlngm+akgCEDk0My42BekhfkpKAgAyNkoCCDIwOEmi/koCXUoAMjpKAggyMDFOSwIhcwQ0MEVLMQFK3wEMcmVvchbHCDbSARA3NDYuMwXpKRQ90gQ1CSHSADkFWv7SAT3SanIA')\n# Plan_digest: 29484af8ecb33bd721aada2a65e777d1777fbdefaa439f1f3bce3a7a45698fab\n# Binary_plan: tidb_decode_binary_plan('gBbwSQr7FQoNUHJvamVjdGlvbl8xMxLjFAoHU29ydF8xNBLtEwoLSGFzaEpvaW5fMjcSsQQKDlRhYmxlUmVhZGVyXzQxEpYCCgxTZWxlCUAYNDASmwEKEAUkUEZ1bGxTY2FuXzM5IQAAAADw7zBBKQEJ8GkAiMNAOAJAAkoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSHmtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkb2oidGlrdl90YXNrOnt0aW1lOjc0Ni4zwrVzLCBsb29wczowfXD/////BQQEAXgFBwEBAAEFiSwgZTFBKauqqqqqALoFiQRSGAWFAC4uhAAULnJlb3Jn5moALBoBAiFVVVVVlXT2QBltKAFAAVIRZGF0YTpTPTQ4WhV0aW1lOjQ2NS45bXMsDcQYMWK0AWNvcAnnUCB7bnVtOiAxLCBtYXg6IDk0My42wgHwRHByb2Nfa2V5czogMCwgcnBjXwUpCDI3NwkOBVoUIDIwOC40AVvwVWNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjI3NiwgdG90YWxfBWUkMjAxLjZtc31wqy5yARASgw4KCkFEIEFnZ18yORKqCi4wAhAzMBLGCRkgEDM1EqQFNmMCEDM2EpEDHSIAMU5hAgA0Jdj+YQJuYQIQODk2LjIlcQRsb4JhAgAoQWEAAAEBBEC/SWEslAFncm91cCBieTptQfAALjJrAiHEHGVzc2luZywgSh8AJHNjaGVtYV9pZHNSHwAQdGFibGUJHiRmdW5jczptaW4oSkcARGpvYl9pZCktPkNvbHVtbiMxOEbeAqLnABze3d3dHT73QBnnQdsgD2RhdGE6SGFzJe4EMzFV2QA0SX4pPAgxYrFi2QIMMzAuN0GoIRNK1wIAMTbXAhAzMDAuMQEv/tcCXdcEMTc21wIENzRK1gIlAAitbPg6AAEAhP7nAb7nATXLPdcANTV2CDUuNSEdMXZUxgJwYXJ0aWFsX3dvcmtlcjp7d2FsbIkigXwUMjEyMzM5ATIAY50CGDUsIHRhc2uFV1wwLCB0b3Rfd2FpdDoyLjMyMzYyMDI3N3MJFxRleGVjOjANDYkTASQUODQ3MDc1QbwoYXg6NDY0Ljg4MjKFjQhwOTUuEQAUfSwgZmluYp8AEDM3MDA1BdGenwAYNDE4MjEwOQ2SBZ8QNjMuODVlyAHJFaUYNDI4ODE5OBWlGDUuMjgzNTRFXAmmGRIEfXDBSwUBLukESRMESP5NEwgAuUBlEygWbm90KGlzbnVsbDWuCDUpKVqkAQhw/ALdriQaAQEhRERERCRjPlYABDhnkU9RAgQ1LG3+HGZpcnN0cm93HW5581kcCDYuMyHqURwAx3ocAhA4ODk5MyW1nn0BGDc0NTU3NzEufQFCHAIUNzUzNjUzASRJHBw1LjUyNzEzNgGaMXcREnIeAhA2LjA4OIU5np8AFDg0NjUwNAF7QQlFHBQ0Ni45NzlGHQIYODUzOTUxMl0dEDkyMjg2RYsRphESXh0CQS8Ub0ENQSmsHngIaAFAAVI8aW5uZXIgam9pbiwgZXF1YWw6W2VxKGK9BQQsIDXvBCldUUMMODguOCExMcssOWJ1aWxkX2hhc2hfxRwoOnt0b3RhbDo0NjaJERBmZXRjaBkPBTAsOjBzfSGZKiJLzRseOqYAAD1KkAChoMmzEDpkZXNjUpkGyXEEWhNlZgQ0OIVaDaUFagR9Wj5qAE4dBwFGEG1ldGEsThsHGYctDgg1MDU2DgEMDUNvbiLOCEA1cJxeeP///////////wEYAQ==')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg order by processing desc, job_id;"] [2024/05/06 16:36:09.283 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:08.568 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:09.417 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=34.355207ms] [phyTblIDs="[44]"] [actionTypes="[8]"] [2024/05/06 16:36:09.418 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=35.716526ms] [2024/05/06 16:36:09.462 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:09.462 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=45] [version=32] [2024/05/06 16:36:09.462 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=98.280473ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:08.568 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:09.537 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:08.568 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:09.633 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=45] [2024/05/06 16:36:09.634 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:09.648 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.119629507\n# Parse_time: 0\n# Compile_time: 0.00137292\n# Rewrite_time: 0.000018223\n# Optimize_time: 0\n# Wait_TS: 0.000096432\n# DB: mysql\n# Is_internal: true\n# Digest: aee36d5dc7131e4b6e3321cc046ae8b5ec8156ec1ef82481df0b97b8c734325f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist ( name CHAR(100) NOT NULL );"] [2024/05/06 16:36:09.656 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [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 16:36:10.327 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572915072466944] ["min commit ts"=449572915195936768] [key="dIAA///////+X3KAAAAAAAAALw=="] [2024/05/06 16:36:10.327 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572915071680512] [info="{StartTs:449572915071680512 AttemptedCommitTs:449572915072466944 Key:748000fffffffffffe5f72800000000000002f MinCommitTs:449572915195936768}"] [2024/05/06 16:36:10.329 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572915071680512\n# Query_time: 0.580119825\n# Parse_time: 0\n# Compile_time: 0.075045466\n# Rewrite_time: 0.000367995\n# Optimize_time: 0.001929778\n# Wait_TS: 0.000081857\n# Prewrite_time: 0.000774531 Commit_time: 0.001516429 Get_commit_ts_time: 0.000020644 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 5856 Prewrite_region: 1\n# Is_internal: true\n# Digest: 1b73a00c73a03d7dc9dd08a1ea99474b2523e5f72366f740be5156fa244256c4\n# Num_cop_tasks: 0\n# Mem_max: 18604\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('1gLYMAkyN18xCTAJMAlOL0EJMAl0aW1lOjk2Ny45wrVzLCBsb29wczoxLCBwcmVwYXJlOiA0NTMuOAUcLGluc2VydDo1MTQuMQURaGNvbW1pdF90eG46IHtwcmV3cml0ZTo3NzQuNQUgDGdldF8RJBRzOjIwLjYFFwkTQDoxLjUybXMsIHNsb3dlc3RfEUHQX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwNVRxfcHJpbWFyedZEAA1kCG51bSECBc4QX2tleXMZDlhieXRlOjU4NTZ9CTYuMTcgS0IJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('4QLwPgrcAgoISW5zZXJ0XzE4AUABUgNOL0FaFnRpbWU6OTY3LjnCtXMsIGxvb3BzOjFiInByZXBhcmU6IDQ1My44wgEcBGluAT7AOjUxNC4xwrVzYvwBY29tbWl0X3R4bjoge3ByZXdyaXRlOjc3NC41wrVzLCBnZXRfYw0kFHM6MjAuNgUXCTdAOjEuNTJtcywgc2xvd2VzdF8RQZhfcnBjOiB7dG90YWw6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG8BnQBzAQcQMSwgfSwNVRxfcHJpbWFyedZEAA1kGG51bToxLCAFzhBfa2V5cxkOZGJ5dGU6NTg1Nn1wrDF4////////////ARgB')\ninsert into mysql.tidb_ddl_job(job_id, reorg, schema_ids, table_ids, job_meta, type, processing) values(47, false, \"1\", \"46\", 0x7b226964223a34372c2274797065223a332c22736368656d615f6964223a312c227461626c655f6964223a34362c22736368656d615f6e616d65223a226d7973716c222c227461626c655f6e616d65223a2273746174735f657874656e646564222c227374617465223a382c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b7b226964223a34362c226e616d65223a7b224f223a2273746174735f657874656e646564222c224c223a2273746174735f657874656e646564227d2c2263686172736574223a22757466386d6234222c22636f6c6c617465223a22757466386d62345f62696e222c22636f6c73223a5b7b226964223a312c226e616d65223a7b224f223a226e616d65222c224c223a226e616d65227d2c226f6666736574223a302c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a31352c22466c6167223a343039392c22466c656e223a33322c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a322c226e616d65223a7b224f223a2274797065222c224c223a2274797065227d2c226f6666736574223a312c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a312c22466c6167223a343039372c22466c656e223a342c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a332c226e616d65223a7b224f223a227461626c655f6964222c224c223a227461626c655f6964227d2c226f6666736574223a322c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a382c22466c6167223a343130372c22466c656e223a36342c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a342c226e616d65223a7b224f223a22636f6c756d6e5f696473222c224c223a22636f6c756d6e5f696473227d2c226f6666736574223a332c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a31352c22466c6167223a343039372c22466c656e223a33322c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c226869646465(len:11757);"] [2024/05/06 16:36:10.330 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:09.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:10.331 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:09.682 +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 16:36:11.049 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572915260162051\n# Query_time: 0.507548532\n# Parse_time: 0\n# Compile_time: 0.001748364\n# Rewrite_time: 0.003284875\n# Optimize_time: 0.019964328\n# Wait_TS: 0.000080454\n# Prewrite_time: 0.000746567 Commit_time: 0.000682093 Get_commit_ts_time: 0.000024759 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 5856 Prewrite_region: 1\n# Is_internal: true\n# Digest: bb9a0484a27cea37dfc9b79800bc11ddc72f4ac11810a6eb126d600a567ce029\n# Num_cop_tasks: 0\n# Mem_max: 19351\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('ogPwTDAJMjhfMwkwCTAJTi9BCTAJdGltZToxLjY2bXMsIGxvb3BzOjEsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo3NDYuNsK1cywgZ2V0X2NvCSQgczoyNC44wrVzETcUOjY4Mi4xBREgc2xvd2VzdF9wDUPoX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwgY29tbWkBRRBpbWFyedZEAA1kCG51bQHgBdAQX2tleXMZDvA+Ynl0ZTo1ODU2fQk2LjkwIEtCCU4vQQoxCTM2XzEJMAkxCXRhYmxlOnRpZGJfZGRsX2pvYiwgaGFuZGxlOjQ3ASAhTAw1MzkuKSUpTigyLCBHZXQ6e251bQW6DDEsIHQB/wBfBS5EMjA4LjfCtXN9CU4vQQlOL0EK')\n# Plan_digest: 3fea32741ba131a439f08d925bc0d60ce688c732cc613c6d3625da6592028edc\n# Binary_plan: tidb_decode_binary_plan('1AN4Cs8DCghVcGRhdGVfMxKUAQoLUG9pbnRfR2V0XzEpAAUB8HXwPzABOAFAAUoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSCWhhbmRsZTo0N1oWdGltZTo1MzkuNsK1cywgbG9vcHM6MmIkR2V0OntudW1fcnBjOjEsIHRvdGFsX3RpbWU6MjA4LjfCtXN9cP///////////wF4CQgI////BXwYUgNOL0FaFAUvHDEuNjZtcywgCVt0MWL+AWNvbW1pdF90eG46IHtwcmV3cml0ZTo3NDYuCYUMZ2V0XxEkGHM6MjQuOMIBnAkTFDo2ODIuMQURHHNsb3dlc3RfEUMYX3JwYzogewWrdDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0b3JlOgkHEDEsIH0sDVccX3ByaW1hcnnWRAANZBhudW06MSwgBdAQX2tleXMZDmRieXRlOjU4NTZ9cJc3eP///////////wEYAQ==')\nupdate mysql.tidb_ddl_job set processing = 1 where job_id = 47;"] [2024/05/06 16:36:11.052 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:09.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:14.430 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000002f, primary: 6d44423a3100000000fb00000000000000685461626c653a3436ff0000000000000000f7, txnStartTS: 449572915393855488, lockForUpdateTS:0, minCommitTs:0, ttl: 3345, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:14.431 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000002f, primary: 6d44423a3100000000fb00000000000000685461626c653a3436ff0000000000000000f7, txnStartTS: 449572915393855488, lockForUpdateTS:0, minCommitTs:0, ttl: 3345, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:14.431 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000002f, primary: 6d44423a3100000000fb00000000000000685461626c653a3436ff0000000000000000f7, txnStartTS: 449572915393855488, lockForUpdateTS:0, minCommitTs:0, ttl: 3345, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:14.431 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000002f, primary: 6d44423a3100000000fb00000000000000685461626c653a3436ff0000000000000000f7, txnStartTS: 449572915393855488, lockForUpdateTS:0, minCommitTs:0, ttl: 3345, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:14.432 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000002f, primary: 6d44423a3100000000fb00000000000000685461626c653a3436ff0000000000000000f7, txnStartTS: 449572915393855488, lockForUpdateTS:0, minCommitTs:0, ttl: 3345, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:14.432 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000002f, primary: 6d44423a3100000000fb00000000000000685461626c653a3436ff0000000000000000f7, txnStartTS: 449572915393855488, lockForUpdateTS:0, minCommitTs:0, ttl: 3345, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:14.432 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000002f, primary: 6d44423a3100000000fb00000000000000685461626c653a3436ff0000000000000000f7, txnStartTS: 449572915393855488, lockForUpdateTS:0, minCommitTs:0, ttl: 3345, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:14.433 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000002f, primary: 6d44423a3100000000fb00000000000000685461626c653a3436ff0000000000000000f7, txnStartTS: 449572915393855488, lockForUpdateTS:0, minCommitTs:0, ttl: 3345, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:14.433 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000002f, primary: 6d44423a3100000000fb00000000000000685461626c653a3436ff0000000000000000f7, txnStartTS: 449572915393855488, lockForUpdateTS:0, minCommitTs:0, ttl: 3345, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:14.433 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000002f, primary: 6d44423a3100000000fb00000000000000685461626c653a3436ff0000000000000000f7, txnStartTS: 449572915393855488, lockForUpdateTS:0, minCommitTs:0, ttl: 3345, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:14.433 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000002f, primary: 6d44423a3100000000fb00000000000000685461626c653a3436ff0000000000000000f7, txnStartTS: 449572915393855488, lockForUpdateTS:0, minCommitTs:0, ttl: 3345, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:14.436 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000002f, primary: 6d44423a3100000000fb00000000000000685461626c653a3436ff0000000000000000f7, txnStartTS: 449572915393855488, lockForUpdateTS:0, minCommitTs:0, ttl: 3345, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:14.436 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000002f, primary: 6d44423a3100000000fb00000000000000685461626c653a3436ff0000000000000000f7, txnStartTS: 449572915393855488, lockForUpdateTS:0, minCommitTs:0, ttl: 3345, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:14.447 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572915484557312\n# Query_time: 3.073672348\n# Parse_time: 0\n# Compile_time: 0.024954395\n# Rewrite_time: 0.020388812\n# Optimize_time: 0.002017148\n# Wait_TS: 0.000080984\n# Cop_time: 3.032822828 Process_time: 0.007 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.007 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 177\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000012232\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('1gPweTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6My4wM3MsIGxvb3BzOjEsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDcuMzdtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogN21zLCBycGNfBTYQOTY1LCABDih0aW1lOiAxLjc3cwVc8HVyX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzo5NjQsIHRvdGFsX3RpbWU6Nzg1bXN9CTE3NyBCeXRlcwlOL0EKMQkxXzYJMV8wNQaobGUobXlzcWwudGlkYl9tZGxfaW5mby52ZXJzaW9uLCAzMikJMAl0aWt2XyUFBHt0AcAMNy4xNwHfAGwlJRQwfQlOL0EBBBgKMgk0M181BWIsMTAwMDAJdGFibGU6Ml0AfCwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvrnAA')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('vgSYCrkECg1UYWJsZVJlYWRlcl83EpwCCgtTZWxlY3Rpb25fNhKZAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBpAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6Ny4xN21zLCBsb29wczowfXD//////wEEBAF4AQYFAQABBYgsgE8iQSmrqqqqqvapBYgQUiNsZSgFhwAuMoYAOC52ZXJzaW9uLCAzMilqINpzAAFqDOpz5kAZcyQBQAFSEGRhdGE6PTcIWhN0AcgMMy4wMxXHIDFivQFjb3BfdAHooCB7bnVtOiAxLCBtYXg6IDcuMzdtcywgcHJvY19rZXlzOiAwLCB0b3RfARIEOiAFHQxycGNfBTYMOTY1LAUOBWXwSSAxLjc3cywgY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6AZQcX3JwYzo5NjQFfnRhbF90aW1lOjc4NW1zfXCxAXj///////////8BGAE=')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 32;"] [2024/05/06 16:36:14.452 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 6d446966663a333300fe0000000000000073, primary: 6d44423a3100000000fb00000000000000685461626c653a3436ff0000000000000000f7, txnStartTS: 449572915393855488, lockForUpdateTS:0, minCommitTs:449572915393855489, ttl: 3345, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:14.456 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572915719700480\n# Query_time: 2.178667096\n# Parse_time: 0\n# Compile_time: 0.030444806\n# Rewrite_time: 0.003113732\n# Optimize_time: 0.023946799\n# Wait_TS: 0.000087754\n# Cop_time: 2.129494419 Process_time: 0.008 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.004 Cop_proc_p90: 0.008 Cop_proc_max: 0.008 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12632\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('vhO4MAkzXzEzCTAJMjI1MC4xOAlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwQ3Byb2Nlc3NpbmcJMAl0aW1lOjIuMTNzLCBsb29wczoxLCBDb25jdXJyZW5jeTo1CTExLjggS0IJTi9BCjEJMTRfMTQJcn4AGWEUOmRlc2MsToUAFGpvYl9pZFaBABwJMCBCeXRlcxEIHAoyCTE3XzI4HfRUaW5uZXIgam9pbiwgZXF1YWw6W2VxKFoKAQRpZAHTIGx1bW4jMTUpXVZ1AJgsIGJ1aWxkX2hhc2hfdGFibGU6e3RvdGFsOjEuNDhtcywgZmV0Y2gVDgUuDDowc30RphEIJAozCTMxXzQxKEIBUAApHbVAZGF0YTpTZWxlY3Rpb25fNDARihg5OTYuMsK1LoMBbGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuMTkBjSFkNF9rZXlzOiAwLCBycGNfEScBDCXWDCAxLjAFLJhjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb2418xwgMTV9CTE3MS2GGE4vQQo0CTEBsAQxX3L5AQxyZW9ySVUEa3YJvgB7BYoIOTI3Hd4EMH0BUwEEHAo1CTQ0XzM5BVgcNjY2Ni42NwkpfC7PAvA8LCByYW5nZTpbLWluZiw0NyksICg0NywraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCUHjmo4ALDMJNl8yOShQcm9iZSG4ODY0MDAJZ3JvdXAgYnk6Q1FCQCwgZnVuY3M6Zmlyc3Ryb3coFRoIKS0+FQwx3D5cA0xwYXJ0aWFsX3dvcmtlcjp7d2FsbCmwASooMTg2ODY0OXMsIGM9kQg1LCBBDCXjYDAsIHRvdF93YWl0OjEwLjY1Njk4NTkyMnMJGBRleGVjOjANDSV9BSUUNzA2Mzc5YeVBRgVqJDQzNDhzLCBwOTUdEBR9LCBmaW5inwAYMjA3OTc1Na6fABA4MDMxMAF5AbYFnhg0OS4zMTbCQe8BFBmlFDgxMDkwNwGVFaUMODk1MgVwFacNEllEQZsAM2FLJa8Ubm90KGVxOZMcLCA0NykpLCABGBRpc251bGwZHAApIeUFfyERAHO1AQgJMziRgkH8EDUJNl8zIdAIODAwXRBKbQRhlQBlpVoALE70BCRzY2hlbWFfaWRzUh8ARfkJHklhCG1pbhWtADgyXAIAMUq3AAQyLHpcAhAwODIyNUUEXlwCADFJRFlcGDA4MzYxMDRNTyW+HDIxMi40NDPCRr8BGDExNjMyNzYB3QRheCVTFDA0MTI5MyHRMb8REnpoAhgwOTExNTM3amgCQqsAFDE5OTE2M2E6QVUFqxgxNjguNTE4SqsAFDIxOTEzNgHYGasMNzc1MkHaGasJEllqADah2QwzNgkwSQqlzyRIYXNoQWdnXzMxXpUBXsoFDDguNDdGygUBvUFHBDogxXShzaXZCDc1NKnnRbAMIDEuMwG+ztoFNCwgUmVzb2x2ZUxvY2s6wV4cX3JwYzo3NTMl/gBhjY4sNDI0LjVtc30JMTky3QkAN2ENADGlsf4PA84PA0p1AxZKCH0fADglijb0BQg4LjLlCxbjCN2CFDgJNDNfM4FEDDAJMTBh4WWHOoAGemQGYY+acAA=')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('kxbwSQqOFgoNUHJvamVjdGlvbl8xMxL4FAoHU29ydF8xNBKCFAoLSGFzaEpvaW5fMjgSlwQKDlRhYmxlUmVhZGVyXzQxEq8CCgxTZWxlCUAYNDAStgEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wWzpbLWluZiw0NyksICg0NywraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6OTI3wrVzLCBsb29wczowfXD/////BQMEAXgFBwEBAAEFoyyAMSdBKfUjurZZlKEFowRSGAWfBC50HZ4ULnJlb3Jn3mgALBoBASHc/KwfuGDrQBlrKAFAAVIRZGF0YTpTPU0MWhZ0aQHBDDk2LjIdwxgxYoABY29wCeSgIHtudW06IDEsIG1heDogMS4xOW1zLCBwcm9jX2tleXM6IDAsIHJwY18RJwEMBVcMIDEuMAUs2GNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX1wqwE9PRAStg4KCkEqIEFnZ18yORLeCi4WAhAzMBLkCRkgEDM1ErIFNkkCEDM2EpEDHSIUMRKbAQoQRUcMRnVsbElGADQloxTw7zBBKQABARCIw0AwAXZIAgAeviwCCDguMiUTDGxvb3B6LAIIKGUxDYkEQL8NiTxSlAFncm91cCBieTpteXNxOjgCIZQcZXNzaW5nLCBKHwAkc2NoZW1hX2lkc1IfABB0YWJsZQkeJGZ1bmNzOm1pbihKRwBEam9iX2lkKS0+Q29sdW1uIzE4RqsCmucAHN7d3d0dPvdAKXAJ50GqBA9kQaoISGFzJfAMMzFaE0VREDIuMTNzcWgIMmK/YqUCDDguNDdGpQIMdG90XyEjCDogOAEdQahFtAg3NTRJwgVlGCAxLjM0cyzStQI0LCBSZXNvbHZlTG9jazphOSBfcnBjOjc1MywBfgRhbAljJDQyNC41bXN9cMAyIQQhDgytbPhAPg4BAIT+9QG+9QE12T3lADVWhAFQ1gJwYXJ0aWFsX3dvcmtlcjp7d2FsDechrxQwODIyNTkhtgBjfeEYNSwgdGFzayV/ADElG0Bfd2FpdDoxMC42NTA4MzYxMCGDIbEsZXhlYzoyMTIuNDQzhaMBFSWpBS0YMTE2MzI3NkHSBGF4CXIUNDEyOTM4gaMEOTUyEgAUfSwgZmluZqsAFDkxMTUzNyX7AG6VjHKrABwxOTkxNjM5cwnDBasYMTY4LjUxOEqrABQyMTkxMzYB2BmrEDc3NTI1MqsACRJeRAZFIwRI/k0jCAC5QGUvGC5ub3QoZXE1uCA1LCA0NykpLCABGBRpc251bGwZHAQpKU7KAQwxcPwCvXAkGgECIUREREQkYz5sAAQ4Z5GBUSYENSyNMBxmaXJzdHJvdx1smSVSQAIIMWLIekACFDE4Njg2NCFiXkACADApfVlAGDY5ODU5MjIulQEAMA0NWTgQNzA2MzdFmDGNDDE0MzQuNgIJEHo0AhQyMDc5NzUhwqKfABA4MDMxMGERQclFMxQ0OS4zMTZKMgIUODEwOTA3AZUVpQw4OTUyBXBR3RESXjICGBkeSjaHBwcqdghoAUABUjxpbm5lciBqb2luLCBlcXVhbDpbZXEoYu4FBCwgNe4EKV1SQAIwYjdidWlsZF9oYXNoX8VLKDp7dG90YWw6MS40pXAQZmV0Y2gVDgUuLDowc30hGFCtNF8aEDqiAAA9SowAob3J4BA6ZGVzY1LGBsmeUqMAGCGqYlWgvy8+agBOSgcBRhBtZXRhLE5IBxmHUmcADGINQ2+dQDxwnF54////////////ARgB')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (47) order by processing desc, job_id;"] [2024/05/06 16:36:14.913 +08:00] [ERROR] [mvcc.go:1021] ["commit failed, no correspond lock found"] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6NDb/AAAAAAAAAAD3] ["start ts"=449572915393855488] [lock="{{0 0 0 0 0 false 0 false 0} [] [] []}"] [error="retryable: lock not found"] [stack="github.com/pingcap/tidb/store/mockstore/unistore/tikv.(*MVCCStore).Commit\n\tstore/mockstore/unistore/tikv/mvcc.go:1021\ngithub.com/pingcap/tidb/store/mockstore/unistore/tikv.(*Server).KvCommit\n\tstore/mockstore/unistore/tikv/server.go:366\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:183\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).sendReqToRegion\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1421\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReqCtx\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1177\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReq\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:234\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionCommit.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:98\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1036\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:969\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:788\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:222\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitTxn\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1701\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1692\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:36:14.914 +08:00] [WARN] [session.go:1025] ["can not retry txn"] [label=internal] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 16:36:14.914 +08:00] [WARN] [session.go:1041] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [2024/05/06 16:36:14.915 +08:00] [INFO] [job_table.go:255] ["[ddl] handle ddl job failed"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:09.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:14.978 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:09.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:15.255 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=511.703µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:15.255 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=30.410019ms] [2024/05/06 16:36:15.322 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=245.48µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:15.362 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=348.917µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:15.386 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=267.721µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:15.414 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=453.194µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:15.453 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=296.263µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:18.504 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000002f, primary: 6d44423a3100000000fb00000000000000685461626c653a3436ff0000000000000000f7, txnStartTS: 449572916422770688, lockForUpdateTS:0, minCommitTs:0, ttl: 3493, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:18.505 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000002f, primary: 6d44423a3100000000fb00000000000000685461626c653a3436ff0000000000000000f7, txnStartTS: 449572916422770688, lockForUpdateTS:0, minCommitTs:0, ttl: 3493, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:18.506 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000002f, primary: 6d44423a3100000000fb00000000000000685461626c653a3436ff0000000000000000f7, txnStartTS: 449572916422770688, lockForUpdateTS:0, minCommitTs:0, ttl: 3493, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:18.514 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000002f, primary: 6d44423a3100000000fb00000000000000685461626c653a3436ff0000000000000000f7, txnStartTS: 449572916422770688, lockForUpdateTS:0, minCommitTs:0, ttl: 3493, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:18.514 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000002f, primary: 6d44423a3100000000fb00000000000000685461626c653a3436ff0000000000000000f7, txnStartTS: 449572916422770688, lockForUpdateTS:0, minCommitTs:0, ttl: 3493, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:18.514 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000002f, primary: 6d44423a3100000000fb00000000000000685461626c653a3436ff0000000000000000f7, txnStartTS: 449572916422770688, lockForUpdateTS:0, minCommitTs:0, ttl: 3493, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:18.515 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000002f, primary: 6d44423a3100000000fb00000000000000685461626c653a3436ff0000000000000000f7, txnStartTS: 449572916422770688, lockForUpdateTS:0, minCommitTs:0, ttl: 3493, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:18.519 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572916552531968\n# Query_time: 3.060904039\n# Parse_time: 0\n# Compile_time: 0.014034291\n# Rewrite_time: 0.001093219\n# Optimize_time: 0.007737254\n# Wait_TS: 0.000098591\n# Cop_time: 3.025873655 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 175\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000022794\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2gPweTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6My4wM3MsIGxvb3BzOjEsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuMzhtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMW1zLCBycGNfCTYQNDg4LCABDwB0AWUUIDEuODhzBV3weXJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjE0ODcsIHRvdGFsX3RpbWU6NzAyLjRtc30JMTc1IEJ5dGVzCU4vQQoxCTFfNgkxXzAJMQqobGUobXlzcWwudGlkYl9tZGxfaW5mby52ZXJzaW9uLCAzMikJMAl0aWt2XyUJBHt0AcMMMS4xOQHjAGwlKRQwfQlOL0EBBBwKMgk0M181CQFiLDEwMDAwCXRhYmxlOjJdAHwsIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkb65wAA==')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('wgSYCr0ECg1UYWJsZVJlYWRlcl83EpwCCgtTZWxlY3Rpb25fNhKZAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBpAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6MS4xOW1zLCBsb29wczowfXD//////wEEBAF4AQYFAQABBYgsgE8iQSmrqqqqqvapBYgQUiNsZSgFhwAuMoYAOC52ZXJzaW9uLCAzMilqINpzAAFqDOpz5kAZcyQBQAFSEGRhdGE6PTcIWhN0AcgMMy4wMxXHIDFiwQFjb3BfdAHooCB7bnVtOiAxLCBtYXg6IDEuMzhtcywgcHJvY19rZXlzOiAwLCB0b3RfARIIOiAxAR0McnBjXwk2DDQ4OCwFDwVm8EkgMS44OHMsIGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOgGVIF9ycGM6MTQ4NwWADGFsX3QBylw3MDIuNG1zfXCvAXj///////////8BGAE=')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 32;"] [2024/05/06 16:36:18.520 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572916766703616\n# Query_time: 2.246669705\n# Parse_time: 0\n# Compile_time: 0.023916355\n# Rewrite_time: 0.002859519\n# Optimize_time: 0.017873427\n# Wait_TS: 0.00010328\n# Cop_time: 2.196384859 Process_time: 0.001 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0005 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12630\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('yBO4MAkzXzEzCTAJMjI1MC4xOAlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwQ3Byb2Nlc3NpbmcJMAl0aW1lOjIuMjJzLCBsb29wczoxLCBDb25jdXJyZW5jeTo1CTExLjggS0IJTi9BCjEJMTRfMTQJcn4AGWEUOmRlc2MsToUAFGpvYl9pZFaBABwJMCBCeXRlcxEIHAoyCTE3XzI4HfRUaW5uZXIgam9pbiwgZXF1YWw6W2VxKFoKAQRpZAHTIGx1bW4jMTUpXVZ1AKAsIGJ1aWxkX2hhc2hfdGFibGU6e3RvdGFsOjgwOS4ywrVzLCBmZXRjaB0QBTIMOjBzfRGqEQgkCjMJMzFfNDEoQgFUACkduUBkYXRhOlNlbGVjdGlvbl80MBGOEDQ1OS4zBWY1h3xjb3BfdGFzazoge251bTogMSwgbWF4OiAxLjA1bXMsICFoNF9rZXlzOiAwLCBycGNfEScBDCXaFCA5NDkuNgVXmGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbjX5HCAxNX0JMTcxLYwYTi9BCjQJMQGyBDFfcv8BDHJlb3JJWwRrdgnAAHsFjBA3OTQuNQWLCeIEMH0BVQEEHAo1CTQ0XzM5BVocNjY2Ni42NwkphC7XAvA8LCByYW5nZTpbLWluZiw0NyksICg0NywraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCUHropAALDMJNl8yOShQcm9iZSG+ODY0MDAJZ3JvdXAgYnk6Q1FMQCwgZnVuY3M6Zmlyc3Ryb3coFRoIKS0+FQwx4gQyLjJlA0xwYXJ0aWFsX3dvcmtlcjp7d2FsbCm1ODIuMTk5MDEwODc0cywgYz2UCDUsIEERJehgMCwgdG90X3dhaXQ6MTAuOTkzMzI2NTE5cwkYFGV4ZWM6MA0NJYAJJRA0NjMzMwFYQUsBahQ4NzM2NzgBmwhwOTUyEgAUfSwgZmluZqMAFDE0NjU3OK6jABQ0MTc4NzEBbAG7BaMQNTMuNjRJogEUGaocNDI2MTU0N3NJ9QWqFDg4OTIyMUH6EaoNEllKQaMAM2FVJbMUbm90KGVxOZccLCA0NykpLCABGBRpc251bGwZHAApIekFfzKpAQgJMziRj2EDEDUJNl8zIdMEODAuEwJKegRhngBlpWcALE4BBSBzY2hlbWFfaWQB4UalBUX+CR5JZAhtaW4VrAA4Ml8CADFGtgAEMix6XwIUNzg1ODc5IYleXwIAMUlHVV8YODU4MTM2MkE6IaglvBQyNzMuMjdKvQEcODYyNTU3NjUB3ARheCW9FDc0MjM0NkGeMb0REnpnAhQ4NTYyODhuZwJCqwAUODMxMTAxQTsVqxwxNzMuOTIxwqHHARUl6WESFDg4NTE3NkFVFaoMNzQ3NAG7FakJEVllADah3gwzNgkwSQal1CRIYXNoQWdnXzMxWpEBZs4FBDY0Rs4FAaRBQgg6IDEBHaHRqd0EMDet7AXCCCAxLiWTzt0FNCwgUmVzb2x2ZUxvY2s6wWMgX3JwYzoxMDY5JfwAYY2PKDU2MS43bXN9CTE5LgoDADdhCgAxpbP+DAPODANKNAMWVAh9HAA4JYs29gUIMS405T1ChAYUOAk0M18zgUAMMAkxMGHeZYQ6ggZ6ZgZhjJpwAA==')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('nRbwSQqYFgoNUHJvamVjdGlvbl8xMxKCFQoHU29ydF8xNBKMFAoLSGFzaEpvaW5fMjgSnQQKDlRhYmxlUmVhZGVyXzQxErMCCgxTZWxlCUAYNDASuAEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wXjpbLWluZiw0NyksICg0NywraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiJ0aWt2X3Rhc2s6e3RpbWU6Nzk0LjXCtXMsIGxvb3BzOjB9cP//////AQMEAXgBBgUBAAEFpSyAMSdBKfUjurZZlKEFpQRSGAWhBC50HaAULnJlb3Jn5moALBoBASHc/KwfuGDrQBltKAFAAVIRZGF0YTpTPVEwWhZ0aW1lOjQ1OS4zwhnFGDFiggFjb3AJ6KAge251bTogMSwgbWF4OiAxLjA1bXMsIHByb2Nfa2V5czogMCwgcnBjXxEnAQwFVxQgOTQ5LjYFWNhjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9cKsBPUEQErYOCgpBMCBBZ2dfMjkS2gouHAIQMzAS4QkZIBAzNRKzBTZPAhAzNhKRAx0iFDESmwEKEEVNDEZ1bGxJTAA0JacU8O8wQSkAAQEQiMNAMAF2TgIAHnoyAgggdGk2MgIIMS40JUEEbG+CMAIIKGUxDYkEQL8NiTxSlAFncm91cCBieTpteXNxOjwCIZYcZXNzaW5nLCBKHwAkc2NoZW1hX2lkc1IfABB0YWJsZQkeJGZ1bmNzOm1pbihKRwBEam9iX2lkKS0+Q29sdW1uIzE44ucAHN7d3d0dPvdAKXAJ50GsBA9kQawISGFzJfAMMzFaEkVTEDIuMnMsLTsIMmLBaqYCBDY0RqYCDHRvdF8hIgg6IDEBHUGpSbUIMDcwScQFZRggMS4yNHMs0rUCNCwgUmVzb2x2ZUxvY2s6YTskX3JwYzoxMDY5LAGABGFsCWQkNTYxLjdtc31wvjImBCEPDK1s+EA+DwEAhP72Ab72ATXaPeYANVKFAVDTAnBhcnRpYWxfd29ya2VyOnt3YWwN5iQyLjE5Nzg1ODc5IbcAY33hGDUsIHRhc2slgAAxJRo8X3dhaXQ6MTAuOTg1ODEzNiWDIbIoZXhlYzoyNzMuMjeJTQEVJakFLRg2MjU1NzY1QdIEYXgJchQ0MjM0NjmBpQQ5NTISABR9LCBmaW5iqwAYODU2Mjg4OCX7AG6VjHKrABw4MzExMDE3cwnDBasYMTczLjkyMYX4NqsAFDg1MTc2MS6qAAw3NDc0AbsVqQkRCH1w/xEBRh8CBEj+TR8IALlAZSwYLm5vdChlcTW0IDUsIDQ3KSksIAEYFGlzbnVsbBkcBCkpSsYBDDFw/AK9bCQaAQIhRERERCRjPmsABDhnkX1RIQQ1LI0sHGZpcnN0cm93HWuZIU47AggxYs16OwIUOTAxMDg3aYtWkAEAMCl4AHdROxg5MzMyNjUxIfwheyWQADAtnVUzGDkzNDYzMzMBWFEzFDg3MzY3OEGlMYoREnozAhQ5MTQ2NTduMwJCowAUNDE3ODcxAWwVoxA1My42NErdAhg5NDI2MTU0QV8VqhA4ODkyMkFFFaoNEl41AhgZHko2hwcHKnoIaAFAAVI8aW5uZXIgam9pbiwgZXF1YWw6W2VxKGLuBQQsIDXyDCldWhMlTQgyLjIBx8nKNDFiO2J1aWxkX2hhc2hfxUswOnt0b3RhbDo4MDkuMmUQEGZldGNoHRAFMiw6MHN9IRhQrTRfGhA6pgAAPUqQAKHCyeQUOmRlc2MsTukGyaJSpwAYIapiVaC/Lz5qAE5OBwFGEG1ldGEsTmMAGYdSZwAMYg1Db120PHCcXnj///////////8BGAE=')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (47) order by processing desc, job_id;"] [2024/05/06 16:36:18.521 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 6d446966663a333400fe0000000000000073, primary: 6d44423a3100000000fb00000000000000685461626c653a3436ff0000000000000000f7, txnStartTS: 449572916422770688, lockForUpdateTS:0, minCommitTs:449572916422770689, ttl: 3493, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:18.522 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=341.776µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:18.539 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=260.354µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:18.560 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=330.352µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:18.573 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=333.01µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:18.587 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=359.827µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:18.616 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=332.301µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:18.645 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=338.559µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:18.661 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=360.873µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:18.675 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=344.622µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:18.699 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=328.137µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:18.714 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=337.255µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:18.729 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=321.866µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:18.745 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=344.883µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:18.759 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=294.258µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:18.774 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=322.821µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:18.796 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=309.27µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:18.811 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=288.561µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:18.825 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=330.896µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:18.839 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=265.388µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:18.854 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=248.501µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:18.873 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=341.949µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:18.889 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=286.462µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:18.909 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=343.561µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:18.924 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=285.529µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:18.940 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=287.426µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:18.954 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=263.983µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:18.976 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=331.21µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:18.987 +08:00] [ERROR] [mvcc.go:1021] ["commit failed, no correspond lock found"] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6NDb/AAAAAAAAAAD3] ["start ts"=449572916422770688] [lock="{{0 0 0 0 0 false 0 false 0} [] [] []}"] [error="retryable: lock not found"] [stack="github.com/pingcap/tidb/store/mockstore/unistore/tikv.(*MVCCStore).Commit\n\tstore/mockstore/unistore/tikv/mvcc.go:1021\ngithub.com/pingcap/tidb/store/mockstore/unistore/tikv.(*Server).KvCommit\n\tstore/mockstore/unistore/tikv/server.go:366\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:183\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).sendReqToRegion\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1421\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReqCtx\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1177\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReq\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:234\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionCommit.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:98\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1036\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:969\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:788\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:222\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitTxn\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1701\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1692\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:36:18.988 +08:00] [WARN] [session.go:1025] ["can not retry txn"] [label=internal] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 16:36:18.988 +08:00] [WARN] [session.go:1041] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [2024/05/06 16:36:18.989 +08:00] [INFO] [job_table.go:255] ["[ddl] handle ddl job failed"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:09.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:19.047 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=350.393µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:19.062 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:09.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:19.089 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=326.809µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:19.110 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=21.744405ms] [2024/05/06 16:36:19.131 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=331.842µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:19.147 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=295.906µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:19.163 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=315.049µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:19.238 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=491.853µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:19.254 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=417.66µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:19.275 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=474.024µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:19.293 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=459.81µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:19.329 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=486.919µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:19.356 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=438.335µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:19.379 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=423.079µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:19.410 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=420.762µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:19.436 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=441.636µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:22.465 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000002f, primary: 6d44423a3100000000fb00000000000000685461626c653a3436ff0000000000000000f7, txnStartTS: 449572917493628928, lockForUpdateTS:0, minCommitTs:0, ttl: 3377, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:22.465 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000002f, primary: 6d44423a3100000000fb00000000000000685461626c653a3436ff0000000000000000f7, txnStartTS: 449572917493628928, lockForUpdateTS:0, minCommitTs:0, ttl: 3377, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:22.465 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000002f, primary: 6d44423a3100000000fb00000000000000685461626c653a3436ff0000000000000000f7, txnStartTS: 449572917493628928, lockForUpdateTS:0, minCommitTs:0, ttl: 3377, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:22.465 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000002f, primary: 6d44423a3100000000fb00000000000000685461626c653a3436ff0000000000000000f7, txnStartTS: 449572917493628928, lockForUpdateTS:0, minCommitTs:0, ttl: 3377, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:22.466 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000002f, primary: 6d44423a3100000000fb00000000000000685461626c653a3436ff0000000000000000f7, txnStartTS: 449572917493628928, lockForUpdateTS:0, minCommitTs:0, ttl: 3377, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:22.466 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000002f, primary: 6d44423a3100000000fb00000000000000685461626c653a3436ff0000000000000000f7, txnStartTS: 449572917493628928, lockForUpdateTS:0, minCommitTs:0, ttl: 3377, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:22.467 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000002f, primary: 6d44423a3100000000fb00000000000000685461626c653a3436ff0000000000000000f7, txnStartTS: 449572917493628928, lockForUpdateTS:0, minCommitTs:0, ttl: 3377, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:22.475 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572917606612992\n# Query_time: 3.011606773\n# Parse_time: 0\n# Compile_time: 0.034798308\n# Rewrite_time: 0.006140948\n# Optimize_time: 0.009592779\n# Wait_TS: 0.000100235\n# Cop_time: 2.9592833450000002 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 171\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000013617\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwPw3jAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6Mi45NnMsIGxvb3BzOjEsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuMDJtcywgcHJvY19rZXlzOiAwLCBycGNfbnVtOiAxMjY5LCBycGNfdGltZTogMS43OHMsIGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjEyNjgsIHRvdGFsX3QBung2NDAuNm1zfQkxNzEgQnl0ZXMJTi9BCjEJMV82CTFfGfuIbGUobXlzcWwudGlkYl9tZGxfaW5mby52ZXJzaW9uLCAzMiklDghrdl8F+gR7dAFfGDg2Ny44wrU1HAQwfQFfAQQYCjIJNDNfNQVkMDEwMDAwCXRhYmxlOnQuXwB8LCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG+2cgA=')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('twSYCrIECg1UYWJsZVJlYWRlcl83EqACCgtTZWxlY3Rpb25fNhKbAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBxAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiJ0aWt2X3Rhc2s6e3RpbWU6ODY3LjjCtXMsIGxvb3BzOjB9cP///////////wF4CQgM////AQWKLIBPIkEpq6qqqqr2qQWKEFIjbGUoBYkALjKIADgudmVyc2lvbiwgMzIpaiLidQABbAzqc+ZAGXUkAUABUhBkYXRhOj07CFoTdAHMEDIuOTZzEckgMWKyAWNvcF90AeygIHtudW06IDEsIG1heDogMS4wMm1zLCBwcm9jX2tleXM6IDAsIHJwY18JJwgyNjkJDwVX8EkgMS43OHMsIGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOgGGRF9ycGM6MTI2OCwgdG90YWxfdAG7XDY0MC42bXN9cKsBeP///////////wEYAQ==')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 32;"] [2024/05/06 16:36:22.477 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572917813444608\n# Query_time: 2.207701209\n# Parse_time: 0\n# Compile_time: 0.017567118\n# Rewrite_time: 0.002901966\n# Optimize_time: 0.011651393\n# Wait_TS: 0.000092744\n# Cop_time: 2.16330689 Process_time: 0.001 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0005 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12630\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('wRO4MAkzXzEzCTAJMjI1MC4xOAlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwQ3Byb2Nlc3NpbmcJMAl0aW1lOjIuMTdzLCBsb29wczoxLCBDb25jdXJyZW5jeTo1CTExLjggS0IJTi9BCjEJMTRfMTQJcn4AGWEUOmRlc2MsToUAFGpvYl9pZFaBABwJMCBCeXRlcxEIHAoyCTE3XzI4HfRUaW5uZXIgam9pbiwgZXF1YWw6W2VxKFoKAQRpZAHTIGx1bW4jMTUpXVZ1AJgsIGJ1aWxkX2hhc2hfdGFibGU6e3RvdGFsOjEuMzNtcywgZmV0Y2gVDgUuDDowc30RphEIJAozCTMxXzQxKEIBUAApHbVAZGF0YTpTZWxlY3Rpb25fNDARihg3MDQuNsK1LoMBcGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDkzNi45BSshZjRfa2V5czogMCwgcnBjXxEpAQwl2BQgODQwLjIFLphjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb2419xwgMTV9CTE3MS2KGE4vQQo0CTEBtAQxX3L9AQxyZW9ySVkEa3YJwgB7BYwINzExBYlJZQQwfQFTAQQcCjUJNDRfMzkFWBw2NjY2LjY3CSmALtMC8DwsIHJhbmdlOlstaW5mLDQ3KSwgKDQ3LCtpbmZdLCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG8JQeeajgAsMwk2XzI5KFByb2JlIbw4NjQwMAlncm91cCBieTpDUUZALCBmdW5jczpmaXJzdHJvdygVGggpLT4VDDHgPmADTHBhcnRpYWxfd29ya2VyOnt3YWxsKbI0Mi4xNjY2MjM4NHMsIGM9kBg1LCB0YXNrJeRgMCwgdG90X3dhaXQ6MTAuODI4OTM1NTAxcwkYFGV4ZWM6MA0NJXwFJRw5MDI5MDUyc0lJAWkwNTg0ODExM3MsIHA5NTISABR9LCBmaW5mogAUNzM5ODg2rqMAGDkxMzQ0NjgNlgWjDDUwLjZJywHOHakUMjEyMTQ1MqkADDgwNTkyqAAFEVlFQZwAM2FQJbAUbm90KGVxOZQcLCA0NykpLCABGBRpc251bGwZHAApIeYFfTamAQgJMziRh0H9EDUJNl8zIdEEODAuEQJKcgRhmABlpV8ALE75BCBzY2hlbWFfaWQB4EadBUX6CR5JYghtaW4VrQA4Ml0CADFKtwAEMix6XQIUNDg5MDEwIV1eXgIAMUlGWV4QMTM2OTBBOCGnJbocMzEwLjk0OMKBsgEVJT9FZRQxODUzNDJBvYGuQWUQNDQ4MzTBXlFkDRF6YwIQNTA4NDdyBgNCqAAUMzA1MDYyAWsBlAWpFDI1OC4xOKkCARUZqQAzZTJBkBWpEDcxNzI5LmYCERJZZwA2odsMMzYJMEkHpdEkSGFzaEFnZ18zMT2SYRyJ6gAyYcgAcKkKACA2zAUMMS45M8FZQTK5ygGoARIIOiAxAR2hzanZCDA0NKnoBcYIIDEuYbrO2AU0LCBSZXNvbHZlTG9jazoBlCBfcnBjOjEwNDMl/ARhbAljKDU1NS45bXN9CTE5LgsDADdhCwAxpbD+DQPODQNKNQMWTQh9HQA4JYs28wUIMS43JVEpl92BFDgJNDNfM4FCDDAJMTBh32WFOn8GemMGYY2acAA=')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('lhbwSQqRFgoNUHJvamVjdGlvbl8xMxL7FAoHU29ydF8xNBKFFAoLSGFzaEpvaW5fMjgSmwQKDlRhYmxlUmVhZGVyXzQxEq8CCgxTZWxlCUAYNDAStgEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wWzpbLWluZiw0NyksICg0NywraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6NzExwrVzLCBsb29wczowfXD/////BQMEAXgFBwEBAAEFoyyAMSdBKfUjurZZlKEFowRSGAWfBC50HZ4ULnJlb3Jn3mgALBoBASHc/KwfuGDrQBlrKAFAAVIRZGF0YTpTPU0MWhZ0aQHBDDA0LjYdwxgxYoQBY29wCeRMIHtudW06IDEsIG1heDogOTM2LjkFLERwcm9jX2tleXM6IDAsIHJwY18RKQEMBVkUIDg0MC4yBS7YY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fXCrAT1BEBK1DgoKQS4gQWdnXzI5EtwKLhoCEDMwEuIJGSAQMzUSswU2TQIQMzYSkQMdIhQxEpsBChBFSwxGdWxsSUoANCWnFPDvMEEpAAEBEIjDQDABdkwCAB6+MAIUMS43MW1zkjACCChlMQ2JBEC/DYk8UpQBZ3JvdXAgYnk6bXlzcTo8AiGWHGVzc2luZywgSh8AJHNjaGVtYV9pZHNSHwAQdGFibGUJHiRmdW5jczptaW4oSkcARGpvYl9pZCktPkNvbHVtbiMxOEavAprnABze3d3dHT73QClwCedBrgQPZEGuCEhhcyXwDDMxWhNFUwwyLjE2NTwIMmLAYqkCDDEuOTMhZiERWacMdG90XwESBDogJYNBqkm2CDA0NEnFBWYUIDEuM3Ms0rUCNCwgUmVzb2x2ZUxvY2s6YT0kX3JwYzoxMDQzLAF/BGFsCWMkNTU1Ljltc31wvjImBCEPDK1s+EA+DwEAhP72Ab72ATXaPeYANTmFADc9hVDTAnBhcnRpYWxfd29ya2VyOnt3YWwN5yGwGDQ4OTAxMDUlUQBudeIYNSwgdGFzayWAADElG0Rfd2FpdDoxMC44MjEzNjkwMnMJFyxleGVjOjMxMC45NDiFTSHGJagJLBQ4NTM0MjRB0gRheAlxDDQ4MzQBoghwOTUuEQAUfSwgZmluYqgAFDUwODQ3OAFJAGOeqAAUMzA1MDYyAWsBlAWpFDI1OC4xOIn2ARUZqRgzMzU1MDE4LqkAHDcxNzI5OXMsGaoNEl5GBkUgBEj+TSAIALlAZS0YLm5vdChlcTW1IDUsIDQ3KSksIAEYFGlzbnVsbBkcBCkpTscBDDFw/AK9biQaAQIhRERERCRjPmwABDhnkX9RIwQ1LI0uHGZpcnN0cm93HWyZI1I9AgwxYskCdj0CDDY2MjNylAEAMEklWTwEODklaC49AgAwDQ05jBQ5MDI5MDVBYlE1FDU4NDgxMWH3UTYREno3AhQ2NzM5ODiBll43AkKjABQ5MTM0NDZBCkEiRTcMNTAuNulZARMdqRAyMTIxNGE9GakIODA1LjQCADUJEV4zAhgZHko2hwcHKnkIaAFAAVI8aW5uZXIgam9pbiwgZXF1YWw6W2VxKGLtBQQsIDXvBCldUkECMGI3YnVpbGRfaGFzaF/FSiw6e3RvdGFsOjEuMzOhjBBmZXRjaBUOBS4sOjBzfSEYUK00XxoQOqIAAD1KjAChvMnfEDpkZXNjUsUGyZ1SowAYIapiVaC/Lz5qAE5JBwFGEG1ldGEsTkcHGYdSZwAMYg1Db53pPHCcXnj///////////8BGAE=')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (47) order by processing desc, job_id;"] [2024/05/06 16:36:22.522 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 6d446966663a333500fe0000000000000073, primary: 6d44423a3100000000fb00000000000000685461626c653a3436ff0000000000000000f7, txnStartTS: 449572917493628928, lockForUpdateTS:0, minCommitTs:449572917493628929, ttl: 3377, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:22.524 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=434.28µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:22.524 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=47.113793ms] [2024/05/06 16:36:22.541 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=461.648µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:22.555 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=481.206µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:22.572 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=386.782µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:22.594 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=390.091µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:22.609 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=432.288µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:22.622 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=466.947µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:22.659 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=488.056µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:22.695 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=387.972µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:22.719 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=435.413µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:22.735 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=427.199µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:22.750 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=428.79µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:22.764 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=395.77µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:22.784 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=446.304µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:22.804 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=418.938µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:22.820 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=537.89µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:22.836 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=527.317µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:22.853 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=585.329µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:22.867 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=474.541µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:22.882 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=419.467µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:22.896 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=703.382µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:22.911 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=435.759µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:22.926 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=448.246µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:22.955 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=463.31µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:22.965 +08:00] [ERROR] [mvcc.go:1021] ["commit failed, no correspond lock found"] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6NDb/AAAAAAAAAAD3] ["start ts"=449572917493628928] [lock="{{0 0 0 0 0 false 0 false 0} [] [] []}"] [error="retryable: lock not found"] [stack="github.com/pingcap/tidb/store/mockstore/unistore/tikv.(*MVCCStore).Commit\n\tstore/mockstore/unistore/tikv/mvcc.go:1021\ngithub.com/pingcap/tidb/store/mockstore/unistore/tikv.(*Server).KvCommit\n\tstore/mockstore/unistore/tikv/server.go:366\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:183\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).sendReqToRegion\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1421\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReqCtx\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1177\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReq\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:234\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionCommit.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:98\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1036\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:969\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:788\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:222\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitTxn\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1701\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1692\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:36:22.966 +08:00] [WARN] [session.go:1025] ["can not retry txn"] [label=internal] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 16:36:22.966 +08:00] [WARN] [session.go:1041] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [2024/05/06 16:36:22.967 +08:00] [INFO] [job_table.go:255] ["[ddl] handle ddl job failed"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:09.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:22.978 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=476.538µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:22.998 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=459.265µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:23.002 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:09.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:23.062 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=4.603722ms] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:23.076 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=491.35µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:23.118 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=34] ["start time"=435.45µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:23.132 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=35] ["start time"=612.781µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:23.164 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=35] ["start time"=602.278µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:23.193 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=35] ["start time"=13.533586ms] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:23.201 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=21.825164ms] [2024/05/06 16:36:23.236 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=35] ["start time"=535.039µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:23.304 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=35] ["start time"=629.89µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:23.310 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=20.456221ms] [2024/05/06 16:36:23.355 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=35] ["start time"=540.651µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:23.378 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=35] ["start time"=587.907µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:23.396 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=35] ["start time"=545.03µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:23.413 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=35] ["start time"=538.706µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:23.435 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=35] ["start time"=588.168µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:23.477 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=35] ["start time"=767.808µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:23.506 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=35] ["start time"=571.09µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:23.525 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=36] ["start time"=3.976328ms] [phyTblIDs="[46]"] [actionTypes="[8]"] [2024/05/06 16:36:23.562 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:23.562 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=47] [version=36] [2024/05/06 16:36:23.562 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=52.624175ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:09.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:23.636 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:09.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:24.255 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572918723608576] ["min commit ts"=449572918822436865] [key=bURETEpvYkhp/3N0b3J5AAAA/AAAAAAAAABoAAAAAAAAAC//AAAAAAAAAAD3] [2024/05/06 16:36:24.256 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572918691364864] [info="{StartTs:449572918691364864 AttemptedCommitTs:449572918723608576 Key:6d44444c4a6f624869ff73746f7279000000fc0000000000000068000000000000002fff0000000000000000f7 MinCommitTs:449572918822436865}"] [2024/05/06 16:36:24.320 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=47] [2024/05/06 16:36:24.320 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:24.322 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 14.668537678\n# Parse_time: 0\n# Compile_time: 0.00329166\n# Rewrite_time: 0.000012775\n# Optimize_time: 0\n# Wait_TS: 0.000084412\n# DB: mysql\n# Is_internal: true\n# Digest: bd2a0d9809689d30e22f8d82b29b4ee110d16cda3353b77d74a1938afb746386\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_extended ( name varchar(32) NOT NULL, type tinyint(4) NOT NULL, table_id bigint(64) NOT NULL, column_ids varchar(32) NOT NULL, stats blob DEFAULT NULL, version bigint(64) unsigned NOT NULL, status tinyint(4) NOT NULL, PRIMARY KEY(name, table_id), KEY idx_1 (table_id, status, version), KEY idx_2 (status, version) );"] [2024/05/06 16:36:24.332 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [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 16:36:24.483 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:24.347 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:24.483 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:24.347 +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 16:36:24.559 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:24.347 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:24.736 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=2.567506ms] [phyTblIDs="[48]"] [actionTypes="[8]"] [2024/05/06 16:36:24.762 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:24.762 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=49] [version=37] [2024/05/06 16:36:24.763 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=48.439956ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:24.347 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:24.821 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:24.347 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:24.890 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=49] [2024/05/06 16:36:24.890 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:24.891 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.561729716\n# Parse_time: 0\n# Compile_time: 0.00206578\n# Rewrite_time: 0.000024249\n# Optimize_time: 0\n# Wait_TS: 0.000084714\n# DB: mysql\n# Is_internal: true\n# Digest: f72fffa4e6072164db3e01e2e29568b0b93c5045737047be527343b1737b0882\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.schema_index_usage ( TABLE_ID bigint(64), INDEX_ID bigint(21), QUERY_COUNT bigint(64), ROWS_SELECTED bigint(64), LAST_USED_AT timestamp, PRIMARY KEY(TABLE_ID, INDEX_ID) );"] [2024/05/06 16:36:24.910 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [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 16:36:24.983 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:24.924 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:24.983 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:24.924 +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 16:36:25.621 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572919080386560\n# Query_time: 0.506486137\n# Parse_time: 0\n# Compile_time: 0.001702924\n# Rewrite_time: 0.003131148\n# Optimize_time: 0.017991866\n# Wait_TS: 0.000083644\n# Prewrite_time: 0.00070391 Commit_time: 0.000709392 Get_commit_ts_time: 0.000013897 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 3704 Prewrite_region: 1\n# Is_internal: true\n# Digest: bb9a0484a27cea37dfc9b79800bc11ddc72f4ac11810a6eb126d600a567ce029\n# Num_cop_tasks: 0\n# Mem_max: 13207\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('oQPwTDAJMjhfMwkwCTAJTi9BCTAJdGltZToxLjVtcywgbG9vcHM6MSwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjcwMy45wrVzLCBnZXRfY29tBSQMczoxMw0XCRNIOjcwOS40wrVzLCBzbG93ZXN0XxFD0F9ycGM6IHt0b3RhbDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0b3JlOiBzdG9yZTEsIH0sDVccX3ByaW1hcnnWRAANZBxudW06MSwgdwHQDF9rZXkF7gkO8D5ieXRlOjM3MDR9CTQuOTAgS0IJTi9BCjEJMzZfMQkwCTEJdGFibGU6dGlkYl9kZGxfam9iLCBoYW5kbGU6NTEBICBpbWU6NDczLjEF/SlOKDIsIEdldDp7bnVtBboMMSwgdAH/AF8FLkQxNjIuN8K1c30JTi9BCU4vQQo=')\n# Plan_digest: 3fea32741ba131a439f08d925bc0d60ce688c732cc613c6d3625da6592028edc\n# Binary_plan: tidb_decode_binary_plan('0wN4Cs4DCghVcGRhdGVfMxKUAQoLUG9pbnRfR2V0XzEpAAUB8HXwPzABOAFAAUoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSCWhhbmRsZTo1MVoWdGltZTo0NzMuMcK1cywgbG9vcHM6MmIkR2V0OntudW1fcnBjOjEsIHRvdGFsX3RpbWU6MTYyLjfCtXN9cP///////////wF4CQgI////BXwYUgNOL0FaEwkvFC41bXMsIAlafDFi/gFjb21taXRfdHhuOiB7cHJld3JpdGU6NzAzLjnCAYQMZ2V0XxEkCHM6MREXCRMYOjcwOS40wgEoHHNsb3dlc3RfEUMYX3JwYzogewWqdDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0b3JlOgkHEDEsIH0sDVccX3ByaW1hcnnWRAANZBhudW06MSwgBdAQX2tleXMZDmRieXRlOjM3MDR9cJcneP///////////wEYAQ==')\nupdate mysql.tidb_ddl_job set processing = 1 where job_id = 51;"] [2024/05/06 16:36:25.622 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:24.924 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:25.738 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=2.585068ms] [phyTblIDs="[50]"] [actionTypes="[8]"] [2024/05/06 16:36:25.762 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:25.762 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=51] [version=38] [2024/05/06 16:36:25.764 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=38] ["take time"=36.560173ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:24.924 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:25.867 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:24.924 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:26.024 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=51] [2024/05/06 16:36:26.024 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:26.026 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.130779537\n# Parse_time: 0\n# Compile_time: 0.01473254\n# Rewrite_time: 0.000011834\n# Optimize_time: 0\n# Wait_TS: 0.000069826\n# DB: mysql\n# Is_internal: true\n# Digest: 27ef2533f9d97f96c8c86a69a0de51aad04499856acd05fe4a4b93fb5b6043d0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, value LONGBLOB, INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:36:26.065 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [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 16:36:26.180 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:26.084 +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 16:36:26.186 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:26.084 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:26.269 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:26.084 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:26.391 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=2.460455ms] [phyTblIDs="[52]"] [actionTypes="[8]"] [2024/05/06 16:36:26.461 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:26.462 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=53] [version=39] [2024/05/06 16:36:26.463 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=39] ["take time"=78.734435ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:26.084 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:26.547 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:26.084 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:27.101 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572919469932544] ["min commit ts"=449572919569809409] [key=bURETEpvYkhp/3N0b3J5AAAA/AAAAAAAAABoAAAAAAAAADX/AAAAAAAAAAD3] [2024/05/06 16:36:27.101 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572919454728192] [info="{StartTs:449572919454728192 AttemptedCommitTs:449572919469932544 Key:6d44444c4a6f624869ff73746f7279000000fc00000000000000680000000000000035ff0000000000000000f7 MinCommitTs:449572919569809409}"] [2024/05/06 16:36:27.128 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=53] [2024/05/06 16:36:27.128 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:27.141 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.110089219\n# Parse_time: 0\n# Compile_time: 0.034130982\n# Rewrite_time: 0.000022668\n# Optimize_time: 0\n# Wait_TS: 0.000090029\n# DB: mysql\n# Is_internal: true\n# Digest: 79c6e54229df7b01d20ffaf8ac1077aa9ef39e604df30d5ce852dd7049cc3ddd\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.global_grants ( USER char(32) NOT NULL DEFAULT '', HOST char(255) NOT NULL DEFAULT '', PRIV char(32) NOT NULL DEFAULT '', WITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N', PRIMARY KEY (USER,HOST,PRIV) );"] [2024/05/06 16:36:27.158 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [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 16:36:27.655 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=10.464098ms] [2024/05/06 16:36:27.843 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572919650549760\n# Query_time: 0.598610212\n# Parse_time: 0\n# Compile_time: 0.047339404\n# Rewrite_time: 0.000299068\n# Optimize_time: 0.002105223\n# Wait_TS: 0.000078213\n# Prewrite_time: 0.00074377 Commit_time: 0.003599638 Get_commit_ts_time: 0.00001996 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 3350 Prewrite_region: 1\n# Is_internal: true\n# Digest: 1b73a00c73a03d7dc9dd08a1ea99474b2523e5f72366f740be5156fa244256c4\n# Num_cop_tasks: 0\n# Mem_max: 12002\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('0QLQMAkyN18xCTAJMAlOL0EJMAl0aW1lOjk3McK1cywgbG9vcHM6MSwgcHJlcGFyZTogNDc0LjIFHCxpbnNlcnQ6NDk2LjgFEWBjb21taXRfdHhuOiB7cHJld3JpdGU6NzQzDSAMZ2V0XxEkDHM6MjAdNTw6My42bXMsIHNsb3dlc3RfET7QX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwRiRhwcmltYXJ51kQADWQIbnVtAf8FyxBfa2V5cxkOWGJ5dGU6MzM1MH0JMy43MiBLQglOL0EK')\n# Binary_plan: tidb_decode_binary_plan('3ALwPArXAgoISW5zZXJ0XzE4AUABUgNOL0FaFHRpbWU6OTcxwrVzLCBsb29wczoxYiJwcmVwYXJlOiA0NzQuMsIBHARpbgE8kDo0OTYuOMK1c2L5AWNvbW1pdF90eG46IHtwcmV3cml0ZTo3NDMFIRQsIGdldF8RJAxzOjIwBWMJETw6My42bXMsIHNsb3dlc3RfET6YX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvAZoAcwEHEDEsIH0sDVQcX3ByaW1hcnnWRAANZBhudW06MSwgBcsQX2tleXMZDmRieXRlOjMzNTB9cOIdeP///////////wEYAQ==')\ninsert into mysql.tidb_ddl_job(job_id, reorg, schema_ids, table_ids, job_meta, type, processing) values(55, false, \"1\", \"54\", 0x7b226964223a35352c2274797065223a332c22736368656d615f6964223a312c227461626c655f6964223a35342c22736368656d615f6e616d65223a226d7973716c222c227461626c655f6e616d65223a22636170747572655f706c616e5f626173656c696e65735f626c61636b6c697374222c227374617465223a382c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b7b226964223a35342c226e616d65223a7b224f223a22636170747572655f706c616e5f626173656c696e65735f626c61636b6c697374222c224c223a22636170747572655f706c616e5f626173656c696e65735f626c61636b6c697374227d2c2263686172736574223a22757466386d6234222c22636f6c6c617465223a22757466386d62345f62696e222c22636f6c73223a5b7b226964223a312c226e616d65223a7b224f223a226964222c224c223a226964227d2c226f6666736574223a302c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a382c22466c6167223a3531352c22466c656e223a36342c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a322c226e616d65223a7b224f223a2266696c7465725f74797065222c224c223a2266696c7465725f74797065227d2c226f6666736574223a312c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a31352c22466c6167223a343130352c22466c656e223a33322c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a2274797065206f66207468652066696c7465722c206f6e6c792064622c207461626c6520616e64206672657175656e637920737570706f72746564206e6f77222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a332c226e616d65223a7b224f223a2266696c7465725f76616c7565222c224c223a2266696c7465725f76616c7565227d2c226f6666736574223a322c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a31352c22466c6167223a343039372c22466c656e223a33322c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d5d2c22696e6465785f696e666f223a5b7b226964223a312c226964785f6e616d65223a7b224f223a22696478222c224c223a22696478227d2c2274626c5f6e616d65223a7b224f223a22222c224c223a22227d2c226964785f636f6c73223a5b7b226e616d65223a7b224f223a2266696c7465725f74797065222c224c223a2266696c7465725f74797065227d2c226f6666736574223a312c226c656e677468223a2d317d5d2c227374617465223a352c226261636b66696c6c5f7374617465223a302c22636f6d6d656e74223a22222c22696e6465785f74797065223a312c2269735f756e69717565223a66616c73652c2269735f7072696d617279223a66616c7365(len:6745);"] [2024/05/06 16:36:27.844 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:27.186 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:27.844 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:27.186 +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 16:36:27.850 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572919651336192\n# Query_time: 0.581441912\n# Parse_time: 0\n# Compile_time: 0.028369603\n# Rewrite_time: 0.002986676\n# Optimize_time: 0.013755034\n# Wait_TS: 0.000080246\n# Cop_time: 1.078825884 Process_time: 0.134 Request_count: 2\n# Is_internal: true\n# Digest: 1a96197a635ab3d1c0fc027ce178d8aa751e4bd033c39db6163d3ba75b49fe3f\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.067 Cop_proc_p90: 0.072 Cop_proc_max: 0.072 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 1953\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zROgMAkzXzEzCTAJMTAJbXlzcWwudGlkYl9kZGxfam9iLmpvYl9tZXRhLCBKHQDwRnByb2Nlc3NpbmcJMAl0aW1lOjU0Ny44bXMsIGxvb3BzOjEsIENvbmN1cnJlbmN5Ok9GRgkxLjM2IEtCCU4vQQoxCTE0XzE0Yn0AGWAYOmRlc2MsIEqEAAGhBGlkXoAAHAkwIEJ5dGVzEQgcCjIJMTdfMjgJc1Rpbm5lciBqb2luLCBlcXVhbDpbZXEoYmUAMCwgQ29sdW1uIzE1KV0ucgAANjLyAHBidWlsZF9oYXNoX3RhYmxlOnt0b3RhbDo1MzkuMwEqEGZldGNoGQ8FMAw6MHN9EaURCCQKMwkzMV80MShCAVIAKQm0QGRhdGE6U2VsZWN0aW9uXzQwFYkEMzg6iQBkY29wX3Rhc2s6IHtudW06IDEsIG1heDogNjIJKSFfNF9rZXlzOiAwLCB0b3RfARIBIAGmDHJwY18FNwwyMTUsBQ4l4hQgMzg4LjkBIZhjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb241/kQgMTV9LCBSZXNvbHZlTG9jazoBlxxfcnBjOjIxNAWBBGFsCWUoOTcuNW1zfQkxNzctwBhOL0EKNAkxAfAEMV9FrVBub3QoaXN0cnVlX3dpdGhfbnVsbChKvAEUcmVvcmcpIT4MdGlrdikRAHsFyww2Mi40AclJrAQwfQFlAQQcCjUJNDNfMzkNagwwMDAJKckuGgN8LCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG8ll5pwACwzCTZfMjkoUHJvYmUBqTQ2NDAwCWdyb3VwIGJ5OlV1QCwgZnVuY3M6Zmlyc3Ryb3coFRoIKS0+FQwFeWWLCDQuMRnfVDEsIHBhcnRpYWxfd29ya2VyOnt3YWwtcCA1NDMuOTc4MjRlvABjPbUINSwgQUMAX0EKTSVAd2FpdDoyLjcxNTc5NjkzNHMluxhfZXhlYzowDQ0lYAUkFDg3MzQ5c0l6AWcQMjAwMTUFZwhwOTUyEgAUfSwgZmluWqAAHDQuMDc2NjU1AdGeoAAYNjI5ODkzMg2TBaAcNDAuNjQ4wrUNFBWnGDYzNjE1ODYuqAAMOTg4MkXoFagNElkoQZEAM2GBJbFJkUWHNY1NeCWPBDMuZVhJbgwxCTM4kZxB3BA1CTZfMyG8ADhBbzX8StACYaQAZaV1UhAFIHNjaGVtYV9pZAHMRtAFRckJHklNCG1pbhWvADhWSAIAM6pIAhQyLjk1MTOlEZqnARwwNjg1NDAxNS2TJac+RwIcMDY5ODE1MjEB1CxheDo1NDIuNjM1NDBFDymgGRJySAIcMy4xNjc0NjeuSAIQMzc3NTc26AIUNzAuMDM2RkgCFDM4Njk4OQHMEagQODAxNDZdSAAyFRJZSAA2oegMMzYJMCn+AGSh4yRIYXNoQWdnXzMxedEAMKl5TUIALKGCidAAIKFKADq14QQ3MslpQStO4QUAN0WJteEIMzA2MuEFBDMwKfH+4QW94QQzMIFJ4QdpdAgxMzDBhD7iBQA3YQYAMaV4/ggDzggDSjADFl8IfRgOOwg+SQYENzIpMSmZ3UkEOAnBSYEnwbNh2mWAADr6SQZicAA=')\n# Plan_digest: 03fa0f18132c15290435ccd6930c03fe7257c7017164897b1e5acdd3c92e1828\n# Binary_plan: tidb_decode_binary_plan('tBbwSQqvFgoNUHJvamVjdGlvbl8xMxKVFQoHU29ydF8xNBKdFAoLSGFzaEpvaW5fMjgS0QQKDlRhYmxlUmVhZGVyXzQxEqkCCgxTZWxlCUAYNDASmQEKEAUkUEZ1bGxTY2FuXzM5IQAAAADw7zBBKQEJ8HEAiMNAOAJAAkoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSHmtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkb2ogdGlrdl90YXNrOnt0aW1lOjYyLjRtcywgbG9vcHM6MH1w////////////AXj///8JDAABBYcIIGUxDYcEACQFh1hSL25vdChpc3RydWVfd2l0aF9udWxsKAWYAC4ulwAcLnJlb3JnKSnefwA0GgEBIVVVVVWVj/JAKQAFATQkQDgBQAFSEWRhdGE6Uz1HNFoVdGltZTo1MzguNm1zEdkYMWLBAWNvcAn6QCB7bnVtOiAxLCBtYXg6IDYyCSpEcHJvY19rZXlzOiAwLCB0b3RfARIBIAFIDHJwY18FNwwyMTUsBQ4FaBQgMzg4LjkBIfBVY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6e251bV9ycGM6MjE0LCB0b3RhbF8FZSQ5Ny41bXN9cLEBPZQQEpMOCgpBZCBBZ2dfMjkSuQouUAIQMzAS1QkZIBAzNRKxBTaDAhAzNhKNAx0iADFOgQIANCX6/oECboECDDcyLjEhPwBshoECAChVgQRAv0mBLJQBZ3JvdXAgYnk6bWEONnYCIb8cZXNzaW5nLCBKHwAkc2NoZW1hX2lkc1IfABB0YWJsZQkeJGZ1bmNzOm1pbihKRwBEam9iX2lkKS0+Q29sdW1uIzE4RucCmuUAGN7d3d0dPvdN5AHlQeQED2RB5AhIYXMl6gQzMVHiBDQwSXkpOggxYsJi4gIMNzIuMyFkIRFO4gIANzbiAggzMDYy4gIEMzApo/7iAl3iCDMwNWVjUeIIMTMwYYU64wIlEQitbPg6EQEAhP72Ab72ATXaPeYANTWHADMpHjGHVMgCcGFydGlhbF93b3JrZXI6e3dhbGyJLhw1NDIuOTUxM4WaAGOdDSEOCGFza4VijX1Ad2FpdDoyLjcwNjg1NDAxNXMlMRhfZXhlYzowDQ2FHgUkFDk4MTUyMUHKBGF4BWcUNjM1NDA1JfYEOTUyEgAUfSwgZmluWqAAHDMuMTY3NDY3ATmaoQAcMTM3NzU3MzQNlAWhHDcwLjAzNsK1DRQRqBgxMzg2OTg5AcwRqBA4MDE0NqVBEagREl6MBmEmCK1I/k0VBAC5yQoAFsmMxYIxsAg1KSk9pkXlLaYIcPwCvUskGgECIUREREQkYz5WAAQ4Z5FgFVQALI0PHGZpcnN0cm93HW6ZBFkeADSuHgIcMy45NzgyNDiufgEQNTc5Njk2fgE+HwIYMTU4NzM0OVUeGDMuMjAwMTUFZyl2GRJyHgIYNC4wNzY2NUVXnh4CGDYyOTg5MzJNCkUeFDQwLjY0OEYeAhg2MzYxNTg2LqgADDk4ODJdHgQzLhESXh4CGBSuR+EMewgqqghoAUABUjxpbm5lciBqb2luLCBlcXVhbDpbZXEoYs8FBCwgNfAEKV1VRAA3gaQALFFEMGI5YnVpbGRfaGFzaF/FLig6e3RvdGFsOjUzOalxEGZldGNoGQ8FMCw6MHN9IZ2rBTkqfgg6pgAAPUqQAKG0ycUQOmRlc2NSqwbJgx2nJdpN6wVsAOpCbABOMQcBSBBtZXRhLE4vBxmJWmkAEGIPQ29uIt8ISE9GRnD0Cnj///////////8BGAE=')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and not reorg order by processing desc, job_id;"] [2024/05/06 16:36:28.595 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572919859740672\n# Query_time: 0.507304333\n# Parse_time: 0\n# Compile_time: 0.001715651\n# Rewrite_time: 0.006506929\n# Optimize_time: 0.012835469\n# Wait_TS: 0.000081614\n# Prewrite_time: 0.000895915 Commit_time: 0.00068815 Get_commit_ts_time: 0.000027786 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 3350 Prewrite_region: 1\n# Is_internal: true\n# Digest: bb9a0484a27cea37dfc9b79800bc11ddc72f4ac11810a6eb126d600a567ce029\n# Num_cop_tasks: 0\n# Mem_max: 12567\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('oAPwTDAJMjhfMwkwCTAJTi9BCTAJdGltZToxLjQ3bXMsIGxvb3BzOjEsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo4OTUuOcK1cywgZ2V0X2NvCSQgczoyNy44wrVzETcUOjY4OC4yBREgc2xvd2VzdF9wDUPoX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwgY29tbWkBRRBpbWFyedZEAA1kCG51bQHgBdAQX2tleXMZDvA+Ynl0ZTozMzUwfQk0LjI3IEtCCU4vQQoxCTM2XzEJMAkxCXRhYmxlOnRpZGJfZGRsX2pvYiwgaGFuZGxlOjU1ASAhTBA0NjMuNgX9KU4oMiwgR2V0OntudW0FugwxLCB0Af8AXwUuPDEzN8K1c30JTi9BCU4vQQo=')\n# Plan_digest: 3fea32741ba131a439f08d925bc0d60ce688c732cc613c6d3625da6592028edc\n# Binary_plan: tidb_decode_binary_plan('0gN4Cs0DCghVcGRhdGVfMxKSAQoLUG9pbnRfR2V0XzEpAAUB8G3wPzABOAFAAUoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSCWhhbmRsZTo1NVoWdGltZTo0NjMuNsK1cywgbG9vcHM6MmIiR2V0OntudW1fcnBjOjEsIHRvdGFsX3RpbWU6MTM3wrVzfXD//////wEEBAF4AQYFAQV6GFIDTi9BWhQJLRguNDdtcywgCVl8MWL+AWNvbW1pdF90eG46IHtwcmV3cml0ZTo4OTUuOcIBgwxnZXRfESQUczoyNy44BRcJExQ6Njg4LjIFERxzbG93ZXN0XxFDGF9ycGM6IHsFqXQ6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG9yZToJBxAxLCB9LA1XHF9wcmltYXJ51kQADWQYbnVtOjEsIAXQEF9rZXlzGQ5kYnl0ZTozMzUwfXCXInj///////////8BGAE=')\nupdate mysql.tidb_ddl_job set processing = 1 where job_id = 55;"] [2024/05/06 16:36:28.601 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:27.186 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:31.783 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000037, primary: 6d44423a3100000000fb00000000000000685461626c653a3534ff0000000000000000f7, txnStartTS: 449572919993958400, lockForUpdateTS:0, minCommitTs:0, ttl: 3168, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:31.784 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000037, primary: 6d44423a3100000000fb00000000000000685461626c653a3534ff0000000000000000f7, txnStartTS: 449572919993958400, lockForUpdateTS:0, minCommitTs:0, ttl: 3168, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:31.784 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000037, primary: 6d44423a3100000000fb00000000000000685461626c653a3534ff0000000000000000f7, txnStartTS: 449572919993958400, lockForUpdateTS:0, minCommitTs:0, ttl: 3168, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:31.785 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000037, primary: 6d44423a3100000000fb00000000000000685461626c653a3534ff0000000000000000f7, txnStartTS: 449572919993958400, lockForUpdateTS:0, minCommitTs:0, ttl: 3168, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:31.785 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000037, primary: 6d44423a3100000000fb00000000000000685461626c653a3534ff0000000000000000f7, txnStartTS: 449572919993958400, lockForUpdateTS:0, minCommitTs:0, ttl: 3168, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:31.786 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000037, primary: 6d44423a3100000000fb00000000000000685461626c653a3534ff0000000000000000f7, txnStartTS: 449572919993958400, lockForUpdateTS:0, minCommitTs:0, ttl: 3168, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:31.786 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000037, primary: 6d44423a3100000000fb00000000000000685461626c653a3534ff0000000000000000f7, txnStartTS: 449572919993958400, lockForUpdateTS:0, minCommitTs:0, ttl: 3168, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:31.786 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000037, primary: 6d44423a3100000000fb00000000000000685461626c653a3534ff0000000000000000f7, txnStartTS: 449572919993958400, lockForUpdateTS:0, minCommitTs:0, ttl: 3168, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:31.790 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572920039571456\n# Query_time: 3.032581249\n# Parse_time: 0\n# Compile_time: 0.01780212\n# Rewrite_time: 0.00083458\n# Optimize_time: 0.0019207\n# Wait_TS: 0.000087514\n# Cop_time: 3.003921741 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 175\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000011931\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('1wPwhjAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6M3MsIGxvb3BzOjEsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuMjNtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMW1zLCBycGNfbnVtOiAxNzAzLCBycGNfdAFiGCAxLjkxcywBXfB5cl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6e251bV9ycGM6MTcwMiwgdG90YWxfdGltZTo2MjkuOG1zfQkxNzUgQnl0ZXMJTi9BCjEJMV82CTFfMAkxB/BVbGUobXlzcWwudGlkYl9tZGxfaW5mby52ZXJzaW9uLCAzOSkJMAl0aWt2X3Rhc2s6e3RpbWU6MS4wNm1zLCBsb29wczowfQlOL0EJTi9BCjIJNDNfNQkBYiwxMDAwMAl0YWJsZToyXQB8LCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG+ucAA=')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('vwSYCroECg1UYWJsZVJlYWRlcl83EpwCCgtTZWxlY3Rpb25fNhKZAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBpAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6MS4wNm1zLCBsb29wczowfXD//////wEEBAF4AQYFAQABBYgsgE8iQSmrqqqqqvapBYgQUiNsZSgFhwAuMoYAOC52ZXJzaW9uLCAzOSlqINpzAAFqDOpz5kAZcyQBQAFSEGRhdGE6PTcIWhB0AcgAMxXEIDFiwQFjb3BfdAHloCB7bnVtOiAxLCBtYXg6IDEuMjNtcywgcHJvY19rZXlzOiAwLCB0b3RfARIIOiAxAR0McnBjXwk2DDcwMywFDwVj8EkgMS45MXMsIGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOgGVIF9ycGM6MTcwMgWADGFsX3QBx1w2MjkuOG1zfXCvAXj///////////8BGAE=')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 39;"] [2024/05/06 16:36:31.793 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 6d446966663a343000fe0000000000000073, primary: 6d44423a3100000000fb00000000000000685461626c653a3534ff0000000000000000f7, txnStartTS: 449572919993958400, lockForUpdateTS:0, minCommitTs:449572919993958401, ttl: 3168, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:31.795 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572920179556352\n# Query_time: 2.526825669\n# Parse_time: 0\n# Compile_time: 0.0267824\n# Rewrite_time: 0.00303073\n# Optimize_time: 0.02107821\n# Wait_TS: 0.000094914\n# Cop_time: 2.435376183 Process_time: 0.002 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.001 Cop_proc_p90: 0.002 Cop_proc_max: 0.002 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12632\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zxO4MAkzXzEzCTAJMjI1NS41MAlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwQ3Byb2Nlc3NpbmcJMAl0aW1lOjIuNDRzLCBsb29wczoxLCBDb25jdXJyZW5jeTo1CTExLjggS0IJTi9BCjEJMTRfMTQJcn4AGWEUOmRlc2MsToUAFGpvYl9pZFaBABwJMCBCeXRlcxEIHAoyCTE3XzI4HfRUaW5uZXIgam9pbiwgZXF1YWw6W2VxKFoKAQRpZAHTIGx1bW4jMTUpXVZ1AKAsIGJ1aWxkX2hhc2hfdGFibGU6e3RvdGFsOjc4OS41wrVzLCBmZXRjaB0QBTIMOjBzfRGqEQgkCjMJMzFfNDEoQgFUACkduUBkYXRhOlNlbGVjdGlvbl80MBGOEDQ4MC43BWY1h3xjb3BfdGFzazoge251bTogMSwgbWF4OiAxLjAybXMsICFoNF9rZXlzOiAwLCBycGNfEScBDCXaFCA5MTkuMQVXmGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbjX5HCAxNX0JMTcxLYwYTi9BCjQJMQGyBDFfcv8BDHJlb3JJWwRrdgnAAHsFjBA3NzEuMwWLCeIEMH0BVQEEHAo1CTQ0XzM5BVocNjY2Ni42NwkphC7XAvA8LCByYW5nZTpbLWluZiw1NSksICg1NSwraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCUHropAALDMJNl8yOShQcm9iZSG+ODY0MDAJZ3JvdXAgYnk6Q1FMQCwgZnVuY3M6Zmlyc3Ryb3coFRoIKS0+FQwx4j5mA0xwYXJ0aWFsX3dvcmtlcjp7d2FsbCm2ODIuNDM4MTczMDIycywgYz2VCDUsIEESJelgMCwgdG90X3dhaXQ6MTIuMTg4ODA5NjYzcwkYFGV4ZWM6MA0NJYEJJRA5MTc3M2HvQUwBahQ3ODQ2ODgBNwhwOTUyEgAUfSwgZmluZqMAFDMyOTg1Oa6jABQ5ODAyNDAB1gG7BaMYMTE0LjIxwmFgARQZqhQ5OTU0MDEBLBGqFDgwNDk1MwESEaoREllLQaQAM2FWJbQUbm90KGVxOZgcLCA1NSkpLCABGBRpc251bGwZHAApIeoFfzaqAQgJMziRkWEFEDUJNl8zIdUIODAwXRVKfARhoABlpWlSAwUkc2NoZW1hX2lkc1IfAGUACR5JZghtaW4VrQA4MmECADFKtwAEMix6YQIUNjk1MTc0IfdeYQIAMUlJWWEcMDk4MjE3OHMJGCW+HDIyNi45NjfCRr8BEDE0MTE4RcExvxQ2NTQ1MzMBPzG/ERJ6aQIUNzc4MTAwbmkCQqsAFDM5OTc1NQFsQVUJqxQwNS4yODZKqwAUNDI0MTYwAS0VqxA5NDMzNQESFasNEllqADah5AwzNgkwSQql2iRIYXNoQWdnXzMxXpUBXtUFDDIuNjFG1QUBvUFHBDogpfKh2KnkCDM5N6nzRbEMIDEuNAGtzuQFNCwgUmVzb2x2ZUxvY2s6wWogX3JwYzoxMzk2JegAYY2VNDU0MS44bXN9CTE5MiBC5aBhDwA3YQ8AMaW6/hEDzhEDSncDFlsIfSEAOCWMNv0FDDIuMzghb0KLBhQ4CTQzXzOBRgwwCTEwYeNliTqJBnptBmGRmnAA')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('pBbwSQqfFgoNUHJvamVjdGlvbl8xMxKJFQoHU29ydF8xNBKTFAoLSGFzaEpvaW5fMjgSnQQKDlRhYmxlUmVhZGVyXzQxErMCCgxTZWxlCUAYNDASuAEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wXjpbLWluZiw1NSksICg1NSwraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiJ0aWt2X3Rhc2s6e3RpbWU6NzcxLjPCtXMsIGxvb3BzOjB9cP//////AQMEAXgBBgUBAAEFpSyAMSdBKeNZ0UgAn6EFpQRSGAWhBC50HaAULnJlb3Jn5moALBoBASHzRP0bUWLrQBltKAFAAVIRZGF0YTpTPVEwWhZ0aW1lOjQ4MC43whnFGDFiggFjb3AJ6KAge251bTogMSwgbWF4OiAxLjAybXMsIHByb2Nfa2V5czogMCwgcnBjXxEnAQwFVxQgOTE5LjEFWNhjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9cKsBPUEQEr0OCgpBMCBBZ2dfMjkS4AouHAIQMzAS5gkZIBAzNRK0BTZPAhAzNhKRAx0iFDESmwEKEEVNDEZ1bGxJTAA0JacU8O8wQSkAAQEQiMNAMAF2TgIAHnoyAgggdGk2MgIMMi4zOCFBBGxvgjACCChlMQ2JBEC/DYk8UpQBZ3JvdXAgYnk6bXlzcTo8AiGWHGVzc2luZywgSh8AJHNjaGVtYV9pZHNSHwAQdGFibGUJHiRmdW5jczptaW4oSkcARGpvYl9pZCktPkNvbHVtbiMxOOLnABze3d3dHT73QClwCedBrAQPZEGsCEhhcyXwDDMxWhNFUxQyLjQ0cywtPAgyYsFipwIMMi42MSFmIRFZpwx0b3RfARIEOiBFxEGqSbYIMzk3ScUFZhggMS40OHMs0rYCNCwgUmVzb2x2ZUxvY2s6YTwkX3JwYzoxMzk2LAGABGFsCWQkNTQxLjhtc31wwDInBCEQDK1s+EA+EAEAhP73Ab73ATXbPecANVaGAVDWAnBhcnRpYWxfd29ya2VyOnt3YWwN5ygyLjQzNjk1MTc0MyVRAG514xg1LCB0YXNrJYEAMSUbQF93YWl0OjEyLjE4MDk4MjE3IYQhsyxleGVjOjIyNi45NjeFTwEVJaoFLRgxNDExODIyQdQEYXgJchA1NDUzMwE/CHA5NTISABR9LCBmaW5iqwAYNzc4MTAwOa6rABQzOTk3NTUBbAGWCasUMDUuMjg2SqsAFDQyNDE2MAEtFasQOTQzMzUBEhWrDRIEfXDFOwEBRiMCBEj+TSMIALlAZTEYLm5vdChlcTW4IDUsIDU1KSksIAEYFGlzbnVsbBkcBCkpTsoBDDFw/AK9ciQaAQIhRERERCRjPmwABDhnkYNRJgQ1LI0yHGZpcnN0cm93HWyZJ1JAAggxYs16QAIQODE3MzAl4ABjWkACADA+QAIUODgwOTY2QXM1lQQwcwklWTgUODkxNzczgVAxjRQ3ODQ2ODgBNzGNERJ6OAIUODMyOTg1bjgCQqMAFDk4MDI0MEG2FaMUMTE0LjIxSjcCFDk5NTQwMQEsEaoUODA0OTUzARIRqhESXjcCGExN5N6GCAcqgQhoAUABUjxpbm5lciBqb2luLCBlcXVhbDpbZXEoYvUFBCwgNfMEKV1SRQIwYjtidWlsZF9oYXNoX8VSMDp7dG90YWw6Nzg5LjUF3hBmZXRjaB0QBTIsOjBzfSHAA6D7Ah4QOqYAAD1KkAChyMnrEDpkZXNjUtEGyalSpwAYIZKYKi9wMz5qAE5VBwFGEG1ldGEsTlMHGYdSZwAMYg1Db530PHCcXnj///////////8BGAE=')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (55) order by processing desc, job_id;"] [2024/05/06 16:36:32.100 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=10.909294ms] [2024/05/06 16:36:32.284 +08:00] [ERROR] [mvcc.go:1021] ["commit failed, no correspond lock found"] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6NTT/AAAAAAAAAAD3] ["start ts"=449572919993958400] [lock="{{0 0 0 0 0 false 0 false 0} [] [] []}"] [error="retryable: lock not found"] [stack="github.com/pingcap/tidb/store/mockstore/unistore/tikv.(*MVCCStore).Commit\n\tstore/mockstore/unistore/tikv/mvcc.go:1021\ngithub.com/pingcap/tidb/store/mockstore/unistore/tikv.(*Server).KvCommit\n\tstore/mockstore/unistore/tikv/server.go:366\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:183\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).sendReqToRegion\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1421\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReqCtx\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1177\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReq\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:234\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionCommit.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:98\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1036\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:969\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:788\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:222\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitTxn\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1701\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1692\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:36:32.285 +08:00] [WARN] [session.go:1025] ["can not retry txn"] [label=internal] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 16:36:32.286 +08:00] [WARN] [session.go:1041] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [2024/05/06 16:36:32.286 +08:00] [INFO] [job_table.go:255] ["[ddl] handle ddl job failed"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:27.186 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:32.367 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:27.186 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:32.516 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=336.3µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:32.544 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=348.996µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:32.567 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=292.405µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:32.603 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=280.131µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:33.101 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572921042534400] ["min commit ts"=449572921060098049] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6NTT/AAAAAAAAAAD3] [2024/05/06 16:36:33.101 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572920981192704] [info="{StartTs:449572920981192704 AttemptedCommitTs:449572921042534400 Key:6d44423a3100000000fb00000000000000685461626c653a3534ff0000000000000000f7 MinCommitTs:449572921060098049}"] [2024/05/06 16:36:33.105 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572921060098048\n# Query_time: 0.493120494\n# Parse_time: 0\n# Compile_time: 0.056094718\n# Rewrite_time: 0.00085516\n# Optimize_time: 0.053020137\n# Wait_TS: 0.000085806\n# Cop_time: 0.434727381 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 175\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000012208\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2QPwVTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6NDM1LjFtcywgbG9vcHM6MSwgY29wX3Rhc2s6IHtudW06IDEsIG1heDogMS40BSlEcHJvY19rZXlzOiAwLCB0b3RfARIEOiAFHRBycGNfbgE2DDM2MiwFDgB0AWYUIDI3N21zBVzwdXJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjM2MSwgdG90YWxfdGltZTo4MC44bXN9CTE3NSBCeXRlcwlOL0EKMQkxXzYJMV85CahsZShteXNxbC50aWRiX21kbF9pbmZvLnZlcnNpb24sIDM5KQkwCXRpa3ZfJQYEe3QBwQwxLjI0AcEAbCUmFDB9CU4vQQEEXAoyCTQzXzUJMV8wCTEwMDAwCXRhYmxlOjJdAHwsIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkb65wAA==')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('wQSYCrwECg1UYWJsZVJlYWRlcl83EpwCCgtTZWxlY3Rpb25fNhKZAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBpAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6MS4yNG1zLCBsb29wczowfXD//////wEEBAF4AQYFAQABBYgsgE8iQSmrqqqqqvapBYgQUiNsZSgFhwAuMoYAOC52ZXJzaW9uLCAzOSlqINpzAAFqDOpz5kAZcyQBQAFSEGRhdGE6PTcIWhV0AcgUNDM1LjFtFckgMWK+AWNvcF90AepEIHtudW06IDEsIG1heDogMS40BSpEcHJvY19rZXlzOiAwLCB0b3RfARIEOiAFHQxycGNfBTYMMzYyLAUOBWcMIDI3NwFm8HFjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzozNjEsIHRvdGFsX3RpbWU6ODAuOG1zfXCvAXj///////////8BGAE=')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 39;"] [2024/05/06 16:36:33.109 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=41] ["start time"=1.912725ms] [phyTblIDs="[54]"] [actionTypes="[8]"] [2024/05/06 16:36:33.165 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:33.165 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=55] [version=41] [2024/05/06 16:36:33.165 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=41] ["take time"=62.364904ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:27.186 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:33.280 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:27.186 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:33.866 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572921234948096] ["min commit ts"=449572921316212737] [key=bURETEpvYkhp/3N0b3J5AAAA/AAAAAAAAABoAAAAAAAAADf/AAAAAAAAAAD3] [2024/05/06 16:36:33.867 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572921220005888] [info="{StartTs:449572921220005888 AttemptedCommitTs:449572921234948096 Key:6d44444c4a6f624869ff73746f7279000000fc00000000000000680000000000000037ff0000000000000000f7 MinCommitTs:449572921316212737}"] [2024/05/06 16:36:33.884 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=55] [2024/05/06 16:36:33.884 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:33.886 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 6.740948759\n# Parse_time: 0\n# Compile_time: 0.013628914\n# Rewrite_time: 0.000014736\n# Optimize_time: 0\n# Wait_TS: 0.000087392\n# DB: mysql\n# Is_internal: true\n# Digest: 08f858a5bd3a1fd5dfd809dd4b9d6c72db69f874b06ad0e91987f9e89a5cf89a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist ( id bigint(64) auto_increment, filter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\", filter_value varchar(32) NOT NULL, key idx(filter_type), primary key(id) );"] [2024/05/06 16:36:33.891 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [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 16:36:33.902 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572921252249600\n# Query_time: 0.581903958\n# Parse_time: 0\n# Compile_time: 0.085312993\n# Rewrite_time: 0.002891916\n# Optimize_time: 0.073359448\n# Wait_TS: 0.000101694\n# Cop_time: 0.471570359 Process_time: 0.001 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0005 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12630\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('0RO4MAkzXzEzCTAJMjI1NS41MAlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwRnByb2Nlc3NpbmcJMAl0aW1lOjQ4MC43bXMsIGxvb3BzOjEsIENvbmN1cnJlbmN5OjUJMTEuOCBLQglOL0EKMQkxNF8xNAkwboAAGWMUOmRlc2MsTocAFGpvYl9pZBWDDDc0LjkdgxwJMCBCeXRlcxEIHAoyCTE3XzI4HfhUaW5uZXIgam9pbiwgZXF1YWw6W2VxKFoOAThpZCwgQ29sdW1uIzE1KV0udwAANh13oCwgYnVpbGRfaGFzaF90YWJsZTp7dG90YWw6NzU2LjnCtXMsIGZldGNoHRAFMgw6MHN9EawRCCQKMwkzMV80MShCAVQAKR27QGRhdGE6U2VsZWN0aW9uXzQwFZAMNTkuNAVmNYtoY29wX3Rhc2s6IHtudW06IDEsIG1heDogMS4wJbQhbDRfa2V5czogMCwgcnBjXxEnAQwl4BQgOTU2LjUFV5hjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb241/RwgMTV9CTE3MS2OGE4vQQo0CTEBsgQxX3KDAgxyZW9ySWEEa3YJwAB7BYwQNzg5LjIFiwniBDB9AVUBBBwKNQk0NF8zOQVaHDY2NjYuNjcJKYQu3QLwPCwgcmFuZ2U6Wy1pbmYsNTUpLCAoNTUsK2luZl0sIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkbwlB8aKQACwzCTZfMjkoUHJvYmUhvjQ2NDAwCWdyb3VwIGJ5OlVOQCwgZnVuY3M6Zmlyc3Ryb3coFRoIKS0+FQw14gg3My4u6QJULCBwYXJ0aWFsX3dvcmtlcjp7d2FsbCm4ASwUNjY1NzgzQaMAYz2XCDUsIEEUJetcMCwgdG90X3dhaXQ6Mi4zNjYxMDQxMDJzCRcUZXhlYzowDQ0lggkkFDg4Mzc3c0lMAWgQMjYyMTBlCwhwOTUyEgAUfSwgZmluYqEAFDc2MzU0Ma6hABQ3MTMyOTMBfQG4BaEYNTYuMzYxwmFfARQVqBg3MjE4NTY5HagQNzA5NDIFbxGoERJZSUGiADNhVCWyFG5vdChlcTmWHCwgNTUpKSwgARgUaXNudWxsGRwAKSHoBX4hFCV3SacMMQkzOJGTYQUQNQk2XzMh1Qg4MDBdFUp+BGGgAGWlbwAsTgcFIHNjaGVtYV9pZAHkRq0FZQAJHklmCG1pbhWvADgyYQIAMRG5ADIuYQIAMnZhAhgyLjUwMzQ5BepeYQIAMUlKVWEQMDExNTY2wAEUMjM4LjgwadgywQEUMDQ4NTk3QY2BtSA0NzIuMjAyNziJugA5QWkZEnJpAhQyLjc1MDGJ856pABgxODYyNjg4Tf1FaRQxNzQuNzdKagIYMjA2OTk1NCGGBGF4BakgNTA2NTQybXMsTWohKwkSWWoANqHiDDM2CTBJCKXYJEhhc2hBZ2dfMzE9kwFHSUoEMiyhhakTACA+0wUENTUBKUEzudMhUAESBDogRfeh1qXiCDMyManwRbAMIDI4MsnLzuMFNCwgUmVzb2x2ZUxvY2s6AZYYX3JwYzozMoldAGGNkQgxMTkBZAx9CTE5Lg0DADdhDQAxpbj+DwPODwNKNwMWXQh9HwA4JYw2+wUAMS7hA92IFDgJNDNfM4FFDDAJMTBh4GWGOoYGemoGYY6WbwA=')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('phbwSQqhFgoNUHJvamVjdGlvbl8xMxKJFQoHU29ydF8xNBKRFAoLSGFzaEpvaW5fMjgSnQQKDlRhYmxlUmVhZGVyXzQxErMCCgxTZWxlCUAYNDASuAEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wXjpbLWluZiw1NSksICg1NSwraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiJ0aWt2X3Rhc2s6e3RpbWU6Nzg5LjLCtXMsIGxvb3BzOjB9cP//////AQMEAXgBBgUBAAEFpSyAMSdBKeNZ0UgAn6EFpQRSGAWhBC50HaAULnJlb3Jn5moALBoBASHzRP0bUWLrQBltKAFAAVIRZGF0YTpTPVEwWhZ0aW1lOjQ1OS40whnFGDFiggFjb3AJ6KAge251bTogMSwgbWF4OiAxLjA3bXMsIHByb2Nfa2V5czogMCwgcnBjXxEnAQwFVxQgOTU2LjUFWNhjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9cKsBPUEQErkOCgpBMCBBZ2dfMjkS3gouHAIQMzAS4gkZIBAzNRKyBTZPAhAzNhKPAx0iFDESmgEKEEVNDEZ1bGxJTAA0JacU8O8wQSkAAQEQiMNAMAF2TgIAHnoyAggfdGk2MgIIMS4zIUAEbG+CLwIIKGUxDYgEQL8NiDxSlAFncm91cCBieTpteXNxOjsCIZUcZXNzaW5nLCBKHwAkc2NoZW1hX2lkc1IfABB0YWJsZQkeJGZ1bmNzOm1pbihKRwBEam9iX2lkKS0+Q29sdW1uIzE43uYAHN7d3d0dPvdAKW4J5kGqBA9kQaoISGFzJe4MMzFaE0VRCDQ3Mjk7CDJiwWqlAgQ1NQEqIRBZpQx0b3RfARIIOiAxAR1BqEW0CDMyMUnCBWUUIDI4Mi42ASHOtQI0LCBSZXNvbHZlTG9jazphOyBfcnBjOjMyMCwBgARhbAllCDExOQFkCH1wvjIlBCEQDK1s+EA+EAEAhP72Ab72ATXaPeYINVoVJSEQNDcyLjkhIEnDWDJi0gJwYXJ0aWFsX3dvcmtlcjp7d2FsDekBLRA1MDM0OUX1AGN94xg1LCB0YXNrJYMAMSUdRF93YWl0OjIuMzYwMTE1NjM3cwkXLGV4ZWM6MjM4LjgwMoVOIckFiwUsFDQ4NTk3MkHTBGF4BXAQMjAyNziJpQQ5NTISABR9LCBmaW5iqQAMNzUwMYnenqkAGDE4NjI2ODguqQAYMTc0Ljc3MUapABgyMDY5OTU0HakQNTA2NTRF0xGpERIEfXDFNwEBRiECBEj+TSEIALlAZS8YLm5vdChlcTW2IDUsIDU1KSksIAEYFGlzbnVsbBkcBCkpNcgAMy6LBAwxcPwCvXAkGgECIUREREQkYz5uAAQ4Z5GCUSYENSyNMRxmaXJzdHJvdx1umSZZQAAzLkACCDFiyXJAAhgzLjY2NTc4ckACaV0AX1VAFDYxMDQxMEEUQStFQAAwLaRVOBQ2MTg4MzdBZEk4GDMuMjYyMTBl+imPGRJyOAIYMy43NjM1NIVUXjgCPqEAEDcxMzI5NuECEDU2LjM2SjcCGDcyMTg1NjlVNxgzLjcwOTQyBW8RqBESXjcCGExN5N6GCAcqfQhoAUABUjxpbm5lciBqb2luLCBlcXVhbDpbZXEoYvIFBCwgNfEEKV1VRQA0gckALI0NNDFiO2J1aWxkX2hhc2hfxVEwOnt0b3RhbDo3NTYuOWUWEGZldGNoHRAFMiw6MHN9IcADoPsCHhA6qAAAPUqSAKHIyeoQOmRlc2NS0AbJqB2pnbYcMSGSmCovcDM+bABOVgcBSBBtZXRhLE5UBxmJEWkIODAuhX2pHxQxYg1Db24i2QhANXCcXnj///////////8BGAE=')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (55) order by processing desc, job_id;"] [2024/05/06 16:36:34.527 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572921414254592] ["min commit ts"=449572921426837505] [key="dIAA///////+X3KAAAAAAAAAOQ=="] [2024/05/06 16:36:34.527 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572921413206016] [info="{StartTs:449572921413206016 AttemptedCommitTs:449572921414254592 Key:748000fffffffffffe5f728000000000000039 MinCommitTs:449572921426837505}"] [2024/05/06 16:36:34.530 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572921413206016\n# Query_time: 0.572989133\n# Parse_time: 0\n# Compile_time: 0.058796633\n# Rewrite_time: 0.000277003\n# Optimize_time: 0.002081374\n# Wait_TS: 0.000117961\n# Prewrite_time: 0.000715978 Commit_time: 0.001686179 Get_commit_ts_time: 0.000021404 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 3688 Prewrite_region: 1\n# Is_internal: true\n# Digest: 1b73a00c73a03d7dc9dd08a1ea99474b2523e5f72366f740be5156fa244256c4\n# Num_cop_tasks: 0\n# Mem_max: 12340\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('0ALwYTAJMjdfMQkwCTAJTi9BCTAJdGltZToxLjg3bXMsIGxvb3BzOjEsIHByZXBhcmU6IDEuMzZtcywgaW5zZXJ0OjUwNC40wrVzLCBjb21taXRfdHhuOiB7cHJld3JpdGU6NzE2BR4QZ2V0X2MNIiBzOjIxLjTCtXMRNRA6MS42OQFvHHNsb3dlc3RfET/YX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwgYwloGHByaW1hcnnWRAANZAhudW0B/gXMEF9rZXlzGQ5YYnl0ZTozNjg4fQk0LjA1IEtCCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('2wLoCtYCCghJbnNlcnRfMTgBQAFSA04vQVoUdGltZToxLjg3bXMsIGxvb3BzOjFiIHByZXBhcmU6IDEuMzYBGgRpbgE6uDo1MDQuNMK1c2L6AWNvbW1pdF90eG46IHtwcmV3cml0ZTo3MTbCtXMsIGdldF9jDSIMczoyMQU2BCwgCTUQOjEuNjkBVhxzbG93ZXN0XxE/mF9ycGM6IHt0b3RhbDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0bwGZAHMBBwwxLCB9EVUcX3ByaW1hcnnWRAANZBhudW06MSwgBcwQX2tleXMZDmRieXRlOjM2ODh9cLQgeP///////////wEYAQ==')\ninsert into mysql.tidb_ddl_job(job_id, reorg, schema_ids, table_ids, job_meta, type, processing) values(57, false, \"1\", \"56\", 0x7b226964223a35372c2274797065223a332c22736368656d615f6964223a312c227461626c655f6964223a35362c22736368656d615f6e616d65223a226d7973716c222c227461626c655f6e616d65223a22636f6c756d6e5f73746174735f7573616765222c227374617465223a382c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b7b226964223a35362c226e616d65223a7b224f223a22636f6c756d6e5f73746174735f7573616765222c224c223a22636f6c756d6e5f73746174735f7573616765227d2c2263686172736574223a22757466386d6234222c22636f6c6c617465223a22757466386d62345f62696e222c22636f6c73223a5b7b226964223a312c226e616d65223a7b224f223a227461626c655f6964222c224c223a227461626c655f6964227d2c226f6666736574223a302c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a382c22466c6167223a343039392c22466c656e223a36342c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a322c226e616d65223a7b224f223a22636f6c756d6e5f6964222c224c223a22636f6c756d6e5f6964227d2c226f6666736574223a312c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a382c22466c6167223a343039392c22466c656e223a36342c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a332c226e616d65223a7b224f223a226c6173745f757365645f6174222c224c223a226c6173745f757365645f6174227d2c226f6666736574223a322c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a372c22466c6167223a3132382c22466c656e223a31392c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a342c226e616d65223a7b224f223a226c6173745f616e616c797a65645f6174222c224c223a226c6173745f616e616c797a65645f6174227d2c226f6666736574223a332c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a372c22466c6167223a3132382c22466c656e223a31392c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a(len:7421);"] [2024/05/06 16:36:34.531 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:33.924 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:34.531 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:33.924 +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 16:36:34.538 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572921426837504\n# Query_time: 0.524034137\n# Parse_time: 0\n# Compile_time: 0.052958227\n# Rewrite_time: 0.005760916\n# Optimize_time: 0.041540277\n# Wait_TS: 0.000152582\n# Cop_time: 0.734373432 Process_time: 0.001 Request_count: 2\n# Is_internal: true\n# Digest: 1419dc3f429d38aa633c567e9a7382c40500243679dfa77e81a8e3ecb9436ee2\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0005 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12615\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('whO4MAkzXzEzCTAJNjY1Ni42NwlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwRnByb2Nlc3NpbmcJMAl0aW1lOjQzMC42bXMsIGxvb3BzOjEsIENvbmN1cnJlbmN5OjUJMTEuOCBLQglOL0EKMQkxNF8xNAkwboAAGWMUOmRlc2MsTocAFGpvYl9pZBWDDDIxLjcdgxwJMCBCeXRlcxEIHAoyCTE3XzI3HfhUaW5uZXIgam9pbiwgZXF1YWw6W2VxKFoOAThpZCwgQ29sdW1uIzE1KV0udwAAMh13eCwgYnVpbGRfaGFzaF90YWJsZTp7dG90YWw6MzY4LjEBKhBmZXRjaBkPBTAMOjBzfRGqEQggCjMJNl8yOShCAVEAKQG4MDQwMAlncm91cCBieToVjUAsIGZ1bmNzOmZpcnN0cm93KBUaCCktPhUMEbEIMzY3OqsBUHBhcnRpYWxfd29ya2VyOnt3YWxsXyXXASwUNDIwMTA4AbgIY29uOdOILCB0YXNrX251bTowLCB0b3Rfd2FpdDoxLjgzNDAyMTM2cywFFhRleGVjOjANDQVVBSMsMTEzMDg1cywgbWF4BWcQMTU4ODIlwAhwOTUyEgAUfSwgZmluZqAAEDgxOTk5sqAAFDI3MzY3MQ2UBaEcNTIuNjIxwrUNFBmoEDM1MjYwAcwJqBg2LjkzMDc2HagZEgB9Qd4BBBgKNAkxXzMwMbEkbm90KGlzbnVsbD2ZIc8FZgwzNjYuJV5tOggJMzhRuSBOL0EKNQk2XzMhvAg4MDA9/EqkAnkyUi0DIHNjaGVtYV9pZCF0RtMDRaoJHklNCG1pbhWvADhWSAIANjJwAwAsckgCGDYuNDc5NjCFJJ5IAhgwNzkzNzM5LZQlqEJJAhQwODk0NTQBJDGhDDI5OTAuSQIANhUSckkCGDYuNjA0ODaySQIYMTk1NjM1Ny6hABg3OS41MzTCQkkCFDIwNjMzMi5JAhQ0NDA1NTRBuEnxADYVEllJIDYJMzFfMzYJMCn/PGRhdGE6SGFzaEFnZ18zMQmtfQQzNiVXTUEULCBjb3BfYZ0IOiB7YZ8EIDFpZhAgMS4yMwVwJHJvY19rZXlzOiBtuwESBDoghZ0IcnBjZdUQIDI5MywFDkWnECAyMDcuLR2IcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2OdKkQgMTV9LCBSZXNvbHZlTG9jazoBlhxfcnBjOjI5MoU7AGGNbywxMDAuNG1zfQkxNzWtvWEEADdhBAwxCTFfLQe1AkrIAgHKyZv+BgN1BkpmAMl6fRYAOCWMBGt2KXgAeyUzCDEuMIUoKZgAMDnWFDgJNDNfM4ElDDAJMTBh2GV+ADougQd8LCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG+ucAAAM0FGHDQxKFByb2JlgXkANu34AGRBUCxTZWxlY3Rpb25fNDAFVhRtZTozNjnJqwm8alQCDDgyNi5J7yF6WVZVRwgzMDkyRwIEMzEJWgBj/kcCWUcIMzA4NkcCBDUzQatBRwAxXUchcQQ0MEVHMQFK2wEMcmVvchbXCDbOARA2NTUuMmXYKRQ90AQ1CSHQADkFWv7QAT3QanIA')\n# Plan_digest: 29484af8ecb33bd721aada2a65e777d1777fbdefaa439f1f3bce3a7a45698fab\n# Binary_plan: tidb_decode_binary_plan('kBbwSQqLFgoNUHJvamVjdGlvbl8xMxLzFAoHU29ydF8xNBL7EwoLSGFzaEpvaW5fMjcSsQQKDlRhYmxlUmVhZGVyXzQxEpYCCgxTZWxlCUAYNDASmwEKEAUkUEZ1bGxTY2FuXzM5IQAAAADw7zBBKQEJ8GkAiMNAOAJAAkoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSHmtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkb2oidGlrdl90YXNrOnt0aW1lOjY1NS4ywrVzLCBsb29wczowfXD/////BQQEAXgFBwEBAAEFiSwgZTFBKauqqqqqALoFiQRSGAWFAC4uhAAULnJlb3Jn5moALBoBAiFVVVVVlXT2QBltKAFAAVIRZGF0YTpTPTQ4WhV0aW1lOjM2OS4xbXMsDcQYMWK0AWNvcAnnUCB7bnVtOiAxLCBtYXg6IDgyNi40wgHwRHByb2Nfa2V5czogMCwgcnBjXwUpCDMwOQkOBVoMIDIzMQlb8FVjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzozMDgsIHRvdGFsXwVlJDE1My45bXN9cKsucgEQEpEOCgpBRCBBZ2dfMjkStwouMAIQMzAS0wkZIBAzNRKuBTZjAhAzNhKNAx0iCDESmUZhAgA0Jdj+YQJdYQQgdDphAgwxLjA3OZsIMH1wQU8FAS7tAAWHAChBXwAAAQEEQL9JXyyUAWdyb3VwIGJ5Om1B7jZpAiHCHGVzc2luZywgSh8AJHNjaGVtYV9pZHNSHwAQdGFibGUJHiRmdW5jczptaW4oSkcARGpvYl9pZCktPkNvbHVtbiMxOOLlABze3d3dHT73QBnlQdcED2RB1whIYXMl6gwzMVoTRRYIMzY2OTgIMWLBYtMCDDEuMjMBKiEPWdEMdG90XwESBDogZRpV4AgyOTMy4AIEMDdBfAAs/uACLuACDDI5MiwBgFXgDDAwLjRB4ACvMvMBIQ4IrWz4Og4BAIT+8wG+8wE11z3jADWVWQQ2Ll2+XDFiyQJwYXJ0aWFsX3dvcmtlcjp7d2FsbIksIDM2Ni40Nzk2MCW4AGOdDBg1LCB0YXNrhWEAMCUbRF93YWl0OjEuODMwNzkzNzM5cwkXFGV4ZWM6MA0NRQcFJBA4OTQ1NAEkgcQBaBAyOTkwMgWaCHA5NTISABR9LCBmaW5ioQAUNjA0ODY5QS+eoQAYMTk1NjM1Nw2UBaEQNzkuNTOpRkFnFagYMjA2MzMyNmFwBGF4BZYUNDQwNTU0AW8RqBESXgkERRYESP5NFggAuUBlJCgWbm90KGlzbnVsbDWxCDUpKT2nADgBZQRsb8HEDDFw/ALduyQaAQEhRERERCRjPlYACDhnco1eUQUENSyNDRxmaXJzdHJvdx1umQJZHwQ3LiXtDXgEYshyHwIYNy40MjAxMAWqnn4BEDQwMjEzIVIhaSV9Qh4CGDQxMTMwODU1dhQ3LjE1ODguHgIZEnIeAhg3LjQ4MTk5sh4CGDQyNzM2NzEuHgIUNTIuNjIx5WQBtVUeFDQzNTI2MAHMUR4QOTMwNzYyxgIREl4eAsE5FG9BDUEprB6GCGgBQAFSPGlubmVyIGpvaW4sIGVxdWFsOltlcShizQUELCA18AQpXU1EEDQyMS4yXUQwYjlidWlsZF9oYXNoX8UsKDp7dG90YWw6MzY4FhMIEGZldGNoGQ8FMCw6MHN9IZkqIkvNGx46pgAAPUqQAKGiycMUOmRlc2MsTsgGyYEdpyUyTXMFbAR9Wj5sAE4vBwFIEG1ldGEsTmUAGYkRaQQzMDbcAgwNQ29uIt4IQDVwnF54////////////ARgB')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg order by processing desc, job_id;"] [2024/05/06 16:36:35.158 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572921580453888\n# Query_time: 0.507182284\n# Parse_time: 0\n# Compile_time: 0.002051162\n# Rewrite_time: 0.002939312\n# Optimize_time: 0.005210686\n# Wait_TS: 0.000080175\n# Prewrite_time: 0.000714727 Commit_time: 0.000816234 Get_commit_ts_time: 0.00002476 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 3688 Prewrite_region: 1\n# Is_internal: true\n# Digest: bb9a0484a27cea37dfc9b79800bc11ddc72f4ac11810a6eb126d600a567ce029\n# Num_cop_tasks: 0\n# Mem_max: 13207\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('ogPwTDAJMjhfMwkwCTAJTi9BCTAJdGltZToxLjQ3bXMsIGxvb3BzOjEsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo3MTQuN8K1cywgZ2V0X2NvCSQgczoyNC44wrVzETcUOjgxNi4yBREgc2xvd2VzdF9wDUPoX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwgY29tbWkBRRBpbWFyedZEAA1kCG51bQHgBdAQX2tleXMZDvA+Ynl0ZTozNjg4fQk0LjkwIEtCCU4vQQoxCTM2XzEJMAkxCXRhYmxlOnRpZGJfZGRsX2pvYiwgaGFuZGxlOjU3ASAhTBA0NzAuMwX9KU4oMiwgR2V0OntudW0FugwxLCB0Af8AXwUuRDE2Mi4ywrVzfQlOL0EJTi9BCg==')\n# Plan_digest: 3fea32741ba131a439f08d925bc0d60ce688c732cc613c6d3625da6592028edc\n# Binary_plan: tidb_decode_binary_plan('1AN4Cs8DCghVcGRhdGVfMxKUAQoLUG9pbnRfR2V0XzEpAAUB8HXwPzABOAFAAUoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSCWhhbmRsZTo1N1oWdGltZTo0NzAuM8K1cywgbG9vcHM6MmIkR2V0OntudW1fcnBjOjEsIHRvdGFsX3RpbWU6MTYyLjLCtXN9cP///////////wF4CQgI////BXwYUgNOL0FaFAkvGC40N21zLCAJW3wxYv4BY29tbWl0X3R4bjoge3ByZXdyaXRlOjcxNC43wgGFDGdldF8RJBRzOjI0LjgFFwkTFDo4MTYuMgURHHNsb3dlc3RfEUMYX3JwYzogewWrdDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0b3JlOgkHEDEsIH0sDVccX3ByaW1hcnnWRAANZBhudW06MSwgBdAQX2tleXMZDmRieXRlOjM2ODh9cJcneP///////////wEYAQ==')\nupdate mysql.tidb_ddl_job set processing = 1 where job_id = 57;"] [2024/05/06 16:36:35.164 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:33.924 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:35.282 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=2.415971ms] [phyTblIDs="[56]"] [actionTypes="[8]"] [2024/05/06 16:36:35.312 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:35.312 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=57] [version=42] [2024/05/06 16:36:35.320 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=42] ["take time"=50.833955ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:33.924 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:35.371 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:33.924 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:35.457 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=57] [2024/05/06 16:36:35.457 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:35.459 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.5703281\n# Parse_time: 0\n# Compile_time: 0.002125616\n# Rewrite_time: 0.000013116\n# Optimize_time: 0\n# Wait_TS: 0.00008985\n# DB: mysql\n# Is_internal: true\n# Digest: 3a5634ff31bd7d32849c5404b7ffc419c7a7074307b815e5369eb6ca363cbcd0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.column_stats_usage ( table_id BIGINT(64) NOT NULL, column_id BIGINT(64) NOT NULL, last_used_at TIMESTAMP, last_analyzed_at TIMESTAMP, PRIMARY KEY (table_id, column_id) CLUSTERED );"] [2024/05/06 16:36:35.466 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [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 16:36:35.521 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:35.478 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:35.521 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:35.478 +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 16:36:35.590 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:35.478 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:36.152 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572921842335744] ["min commit ts"=449572921845219329] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6NTj/AAAAAAAAAAD3] [2024/05/06 16:36:36.152 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572921826344960] [info="{StartTs:449572921826344960 AttemptedCommitTs:449572921842335744 Key:6d44423a3100000000fb00000000000000685461626c653a3538ff0000000000000000f7 MinCommitTs:449572921845219329}"] [2024/05/06 16:36:36.159 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572921845219328\n# Query_time: 0.501250904\n# Parse_time: 0\n# Compile_time: 0.005509623\n# Rewrite_time: 0.000917805\n# Optimize_time: 0.001913465\n# Wait_TS: 0.00008496\n# Cop_time: 0.493012767 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 175\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000011555\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2wP0tgEwCTMxXzcJMAkzMzIzLjMzCWRhdGE6U2VsZWN0aW9uXzYJMAl0aW1lOjQ5My43bXMsIGxvb3BzOjEsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuMjhtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMW1zLCBycGNfbnVtOiA0NjYsIHJwY190aW1lOiAyOTguM21zLCBjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzo0NjUsIHRvdGFsX3RpbWU6OTAuOW1zfQkxNzUgQnl0ZXMJTi9BCjEJMV82CTFfMAkzMzIzLjMzCWxlKG15c3FsLnRpZGJfbWRsX2luZm8udmVyc2lvbiwgNDIpCTAJdGlrdl90YXNrOnt0aW1lOjEuMDltcywgbG9vcHM6MH0JTi9BCU4vQQoyCTQzXzUJMV8wCTEwMDAwCXRhYmxlOnRpZGJfbWRsX2luZm8sIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkbwkwCXRpa3ZfJXgEe3QhmQQxLlpwAA==')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('wwSYCr4ECg1UYWJsZVJlYWRlcl83EpwCCgtTZWxlY3Rpb25fNhKZAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBpAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6MS4wOW1zLCBsb29wczowfXD//////wEEBAF4AQYFAQABBYgsgE8iQSmrqqqqqvapBYgQUiNsZSgFhwAuMoYAOC52ZXJzaW9uLCA0MilqINpzAByrqqqq6nPmQBlzJAFAAVIQZGF0YTo9NwhaFXQByBQ0OTMuN20VySAxYsABY29wX3QB6kgge251bTogMSwgbWF4OiAxLjI4ASpEcHJvY19rZXlzOiAwLCB0b3RfARIIOiAxAR0McnBjXwU2EDQ2NiwgAQ4FZxQgMjk4LjMBIfBxY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6e251bV9ycGM6NDY1LCB0b3RhbF90aW1lOjkwLjltc31wrwF4////////////ARgB')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 42;"] [2024/05/06 16:36:36.164 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=2.167191ms] [phyTblIDs="[58]"] [actionTypes="[8]"] [2024/05/06 16:36:36.216 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:36.216 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=59] [version=43] [2024/05/06 16:36:36.216 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=43] ["take time"=61.577175ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:35.478 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:36.280 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=28.146454ms] [2024/05/06 16:36:36.288 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:35.478 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:36.380 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=22.061146ms] [2024/05/06 16:36:36.382 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=59] [2024/05/06 16:36:36.383 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:36.385 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.921575175\n# Parse_time: 0\n# Compile_time: 0.002790553\n# Rewrite_time: 0.000012359\n# Optimize_time: 0\n# Wait_TS: 0.000082094\n# DB: mysql\n# Is_internal: true\n# Digest: d5bebde055ca14bff3e131e086a86c4095b9d04ea6fc326b4c2f16ffd61fbd2d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.table_cache_meta ( tid bigint(11) NOT NULL DEFAULT 0, lock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE', lease bigint(20) NOT NULL DEFAULT 0, oldReadLease bigint(20) NOT NULL DEFAULT 0, PRIMARY KEY (tid) );"] [2024/05/06 16:36:36.400 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [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 16:36:36.402 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [2024/05/06 16:36:36.497 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:36.424 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:36.497 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:36.424 +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 16:36:36.577 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:36.424 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:36.735 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=4.085027ms] [phyTblIDs="[60]"] [actionTypes="[8]"] [2024/05/06 16:36:36.762 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:36.762 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=61] [version=44] [2024/05/06 16:36:36.763 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=44] ["take time"=34.181633ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:36.424 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:36.817 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:36.424 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:36.904 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=61] [2024/05/06 16:36:36.905 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:36.909 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.518660168\n# Parse_time: 0\n# Compile_time: 0.009931885\n# Rewrite_time: 0.000010119\n# Optimize_time: 0\n# Wait_TS: 0.000093948\n# DB: mysql\n# Is_internal: true\n# Digest: 987fcd9b9a604209ec1101d918419b993c42f84fe228e20aee2fcca2931ff93e\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.analyze_options ( table_id BIGINT(64) NOT NULL, sample_num BIGINT(64) NOT NULL DEFAULT 0, sample_rate DOUBLE NOT NULL DEFAULT -1, buckets BIGINT(64) NOT NULL DEFAULT 0, topn BIGINT(64) NOT NULL DEFAULT -1, column_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT', column_ids TEXT(19372), PRIMARY KEY (table_id) CLUSTERED );"] [2024/05/06 16:36:36.935 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [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\t);"] [user=] [2024/05/06 16:36:37.059 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:36.95 +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\t);"] [2024/05/06 16:36:37.092 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:36.95 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:37.180 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:36.95 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:37.320 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=2.836516ms] [phyTblIDs="[62]"] [actionTypes="[8]"] [2024/05/06 16:36:37.362 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:37.362 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=63] [version=45] [2024/05/06 16:36:37.363 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=45] ["take time"=56.210842ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:36.95 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:40.386 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572922298728448\n# Query_time: 3.019259996\n# Parse_time: 0\n# Compile_time: 0.026673307\n# Rewrite_time: 0.021677031\n# Optimize_time: 0.002652325\n# Wait_TS: 0.000144302\n# Cop_time: 2.98947681 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 187\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000013834\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2gPweTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkxCXRpbWU6Mi45OXMsIGxvb3BzOjIsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuNTZtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMW1zLCBycGNfBTYUMjc1MCwgAQ8AdAFlFCAxLjg4cwVd8HlyX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzoyNzQ5LCB0b3RhbF90aW1lOjUzOS4xbXN9CTE4NyBCeXRlcwlOL0EKMQkxXzYJMV8wCTEKiGxlKG15c3FsLnRpZGJfbWRsX2luZm8udmVyc2lvbiwgNDUpJR0Ia3ZfJQkEe3QBwwwxLjM0AeMAbCUpFDB9CU4vQQEEHAoyCTQzXzUJAWIsMTAwMDAJdGFibGU6Ml0AfCwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvrnAA')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('yASYCsMECg1UYWJsZVJlYWRlcl83EqACCgtTZWxlY3Rpb25fNhKbAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBxAIjDQDABOAJAAkoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUh5rZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG9qIHRpa3ZfdGFzazp7dGltZToxLjM0bXMsIGxvb3BzOjB9cP///////////wF4CQgM////AQWKLIBPIkEpq6qqqqr2qQ2KEFIjbGUoBYkALjKIADAudmVyc2lvbiwgNDUp4nUAAWwM6nPmQC51ACQBQAFSEGRhdGE6PT0sWhN0aW1lOjIuOTlzEcsYMmLBAWNvcAnsoCB7bnVtOiAxLCBtYXg6IDEuNTZtcywgcHJvY19rZXlzOiAwLCB0b3RfARIIOiAxAR0McnBjXwU2EDI3NTAsBQ8FZvBJIDEuODhzLCBjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazoBlSBfcnBjOjI3NDkFgAxhbF90AcpcNTM5LjFtc31wuwF4////////////ARgB')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 45;"] [2024/05/06 16:36:40.395 +08:00] [ERROR] [mvcc.go:1021] ["commit failed, no correspond lock found"] [key="dIAA///////7X3KAAAAAAAAAPw=="] ["start ts"=449572922291912704] [lock="{{0 0 0 0 0 false 0 false 0} [] [] []}"] [error="retryable: lock not found"] [stack="github.com/pingcap/tidb/store/mockstore/unistore/tikv.(*MVCCStore).Commit\n\tstore/mockstore/unistore/tikv/mvcc.go:1021\ngithub.com/pingcap/tidb/store/mockstore/unistore/tikv.(*Server).KvCommit\n\tstore/mockstore/unistore/tikv/server.go:366\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:183\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).sendReqToRegion\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1421\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReqCtx\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1177\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReq\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:234\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionCommit.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:98\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1036\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:969\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:788\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:222\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitTxn\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1701\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1692\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/session.autoCommitAfterStmt\n\tsession/tidb.go:282\ngithub.com/pingcap/tidb/session.finishStmt\n\tsession/tidb.go:248\ngithub.com/pingcap/tidb/session.runStmt\n\tsession/session.go:2441\ngithub.com/pingcap/tidb/session.(*session).ExecuteStmt\n\tsession/session.go:2278\ngithub.com/pingcap/tidb/session.(*session).ExecuteInternal\n\tsession/session.go:1730\ngithub.com/pingcap/tidb/ddl.(*session).execute\n\tddl/ddl.go:1812\ngithub.com/pingcap/tidb/ddl.cleanMDLInfo\n\tddl/ddl_worker.go:537\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:275\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:36:40.396 +08:00] [WARN] [session.go:1015] [sql] [label=internal] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/session.autoCommitAfterStmt\n\tsession/tidb.go:282\ngithub.com/pingcap/tidb/session.finishStmt\n\tsession/tidb.go:248\ngithub.com/pingcap/tidb/session.runStmt\n\tsession/session.go:2441\ngithub.com/pingcap/tidb/session.(*session).ExecuteStmt\n\tsession/session.go:2278\ngithub.com/pingcap/tidb/session.(*session).ExecuteInternal\n\tsession/session.go:1730\ngithub.com/pingcap/tidb/ddl.(*session).execute\n\tddl/ddl.go:1812\ngithub.com/pingcap/tidb/ddl.cleanMDLInfo\n\tddl/ddl_worker.go:537\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:275\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [txn="Txn{state=invalid}"] [2024/05/06 16:36:40.397 +08:00] [WARN] [session.go:1298] [retrying] [schemaVersion=45] [retryCnt=0] [queryNum=0] [sql="delete from mysql.tidb_mdl_info where job_id = 63"] [2024/05/06 16:36:40.400 +08:00] [WARN] [session.go:1321] ["transaction association"] ["retrying txnStartTS"=449572923086733312] ["original txnStartTS"=449572922291912704] [2024/05/06 16:36:40.404 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572922291912704\n# Query_time: 3.038440032\n# Parse_time: 0\n# Compile_time: 0.001724878\n# Rewrite_time: 0\n# Optimize_time: 0\n# Wait_TS: 0.000087773\n# Prewrite_time: 0.021971762 Commit_time: 0.001344591 Get_commit_ts_time: 0.0000353 Slowest_prewrite_rpc_detail: {total:0.022s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.022s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 19 Prewrite_region: 1 Txn_retry: 1\n# Is_internal: true\n# Digest: bdab55af0288282745b06ae511bf5258d90e46fca67dd2e2ef0faca225d2d599\n# Num_cop_tasks: 0\n# Mem_max: 8587\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('tgTwRjAJMjlfMgkwCTAJTi9BCTAJdGltZToxLjZtcywgbG9vcHM6MiwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjIybXMsIGdldF9jDSAkczozNS4zwrVzLA0zEDoxLjM0AUscc2xvd2VzdF8RPdBfcnBjOiB7dG90YWw6IDAuMDIycywgcmVnaW9uX2lkOiAyLCBzdG9yZTogc3RvcmUxLCB9LA1VHF9wcmltYXJ5QkQABDAxikQADWQcbnVtOjEsIHcByhBfa2V5cxkOUGJ5dGU6MTksIHR4bl9yZXRyeToxfSEOBGNrCSoEIHslJhA1MTkuNwXtCVQBQhFKEfAAcjrnAAQwMIqjAABsAWoBOhgzNzQuNjA2CWRQcGNfY291bnQ6MX0JMzk1IEJ5dGVzIbawCjEJMzZfMQkwCTEJdGFibGU6dGlkYl9tZGxfaW5mbywgaGFuZGxlOjYzCTIJBboQNzM4LjQFVinjKDQsIEdldDp7bnVtBXgIMiwgJZoAXwUuRDI3MC4zwrVzfQlOL0EJTi9BCg==')\n# Plan_digest: ca2b8c61a8ea82f17bacb18dbe38cd4b008fc18663d28963f5ced78ed80210d7\n# Binary_plan: tidb_decode_binary_plan('5gR4CuEECghEZWxldGVfMhKVAQoLUG9pbnRfR2V0XzEpAAUB8HnwPzACOAFAAUoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUgloYW5kbGU6NjNaFnRpbWU6NzM4LjTCtXMsIGxvb3BzOjRiJEdldDp7bnVtX3JwYzoyLCB0b3RhbF90aW1lOjI3MC4zwrVzfXD///////////8BeP///wkMAAEBfTxSA04vQVoTdGltZToxLjZtFVpsMmKQA2NvbW1pdF90eG46IHtwcmV3cml0ZToyMgEmDGdldF8RIBBzOjM1LgFpBCwgCRMQOjEuMzQBJhxzbG93ZXN0XxE9AF8BpZAge3RvdGFsOiAwLjAyMnMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6CQcMMSwgfRFVHF9wcmltYXJ5QkQABDAxikQADWQYbnVtOjEsIAXKEF9rZXlzGQ5oYnl0ZToxOSwgdHhuX3JldHJ5OjF9LCBsb2NrCSoEIHslJxA1MTkuNyWECVQBQhFKEfA+5wAEMDCKowAFagE6GDM3NC42MDYJZGhwY19jb3VudDoxfXCLA3j///////////8BGAE=')\ndelete from mysql.tidb_mdl_info where job_id = 63;"] [2024/05/06 16:36:40.559 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:36.95 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:41.260 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572923181105152] ["min commit ts"=449572923263156225] [key=bURETEpvYkhp/3N0b3J5AAAA/AAAAAAAAABoAAAAAAAAAD//AAAAAAAAAAD3] [2024/05/06 16:36:41.260 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572923125006336] [info="{StartTs:449572923125006336 AttemptedCommitTs:449572923181105152 Key:6d44444c4a6f624869ff73746f7279000000fc0000000000000068000000000000003fff0000000000000000f7 MinCommitTs:449572923263156225}"] [2024/05/06 16:36:41.274 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=63] [2024/05/06 16:36:41.279 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:41.284 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 4.361989503\n# Parse_time: 0\n# Compile_time: 0.015470217\n# Rewrite_time: 0.000013448\n# Optimize_time: 0\n# Wait_TS: 0.000076815\n# DB: mysql\n# Is_internal: true\n# Digest: 11757f6de6b3d2a64e92f14cd7b7f739729563ede3b0139d016148eba0b27ebf\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_history ( table_id bigint(64) NOT NULL, stats_data longblob NOT NULL, seq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice', version bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN', create_time datetime(6) NOT NULL, UNIQUE KEY table_version_seq (table_id, version, seq_no), KEY table_create_time (table_id, create_time, seq_no) );"] [2024/05/06 16:36:41.311 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [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\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\t);"] [user=] [2024/05/06 16:36:41.405 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:41.343 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:41.406 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:41.343 +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\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\t);"] [2024/05/06 16:36:41.508 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:41.343 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:41.751 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=2.942698ms] [phyTblIDs="[64]"] [actionTypes="[8]"] [2024/05/06 16:36:41.812 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:41.812 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=65] [version=46] [2024/05/06 16:36:41.813 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=46] ["take time"=76.307158ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:41.343 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:41.824 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=12.067285ms] [2024/05/06 16:36:42.319 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572923458977792] ["min commit ts"=449572923465531393] [key="dIAA///////7X3KAAAAAAAAAQQ=="] [2024/05/06 16:36:42.319 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572923458191360] [info="{StartTs:449572923458191360 AttemptedCommitTs:449572923458977792 Key:748000fffffffffffb5f728000000000000041 MinCommitTs:449572923465531393}"] [2024/05/06 16:36:42.322 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572923458191360\n# Query_time: 0.506820665\n# Parse_time: 0\n# Compile_time: 0.001372391\n# Rewrite_time: 0\n# Optimize_time: 0\n# Wait_TS: 0.00007909\n# Prewrite_time: 0.000543776 Commit_time: 0.001465569 Get_commit_ts_time: 0.00002226 Slowest_prewrite_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 19 Prewrite_region: 1\n# Is_internal: true\n# Digest: bdab55af0288282745b06ae511bf5258d90e46fca67dd2e2ef0faca225d2d599\n# Num_cop_tasks: 0\n# Mem_max: 8587\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('owPwQzAJMjlfMgkwCTAJTi9BCTAJdGltZTo4NDkuN8K1cywgbG9vcHM6MSwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjU0My44BSkMZ2V0XxEkFHM6MjIuMwUXCRNEOjEuNDdtcywgc2xvd2VzdF9wDUHQX3JwYzoge3RvdGFsOiAwLjAwMHMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwNVRxfcHJpbWFyeUZEAAAxikQADWQIbnVtAd4FzhBfa2V5cxkO8ENieXRlOjE5fQkzOTUgQnl0ZXMJTi9BCjEJMzZfMQkwCTEJdGFibGU6dGlkYl9tZGxfaW5mbywgaGFuZGxlOjY1CTEJdCFNCDQwNC0NKU0oMiwgR2V0OntudW0FuwwxLCB0IQAAXyV7RDE1NC43wrVzfQlOL0EJTi9BCg==')\n# Plan_digest: ca2b8c61a8ea82f17bacb18dbe38cd4b008fc18663d28963f5ced78ed80210d7\n# Binary_plan: tidb_decode_binary_plan('0wN4Cs4DCghEZWxldGVfMhKVAQoLUG9pbnRfR2V0XzEpAAUB8HnwPzABOAFAAUoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUgloYW5kbGU6NjVaFnRpbWU6NDA0LjPCtXMsIGxvb3BzOjJiJEdldDp7bnVtX3JwYzoxLCB0b3RhbF90aW1lOjE1NC43wrVzfXD///////////8BeP///wkMBX0QUgNOL0ENXQw4NDkuAS8ILCBsBV14MWL6AWNvbW1pdF90eG46IHtwcmV3cml0ZTo1NDMuOAWHDGdldF8RJAxzOjIyDZ4JE0A6MS40N21zLCBzbG93ZXN0XxFBAF8BrJAge3RvdGFsOiAwLjAwMHMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6CQcQMSwgfSwNVRxfcHJpbWFyeUZEAAAxikQADWQYbnVtOjEsIAXOEF9rZXlzGQ5cYnl0ZToxOX1wiwN4////////////ARgB')\ndelete from mysql.tidb_mdl_info where job_id = 65;"] [2024/05/06 16:36:42.324 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572923465531392\n# Query_time: 0.494580145\n# Parse_time: 0\n# Compile_time: 0.014390004\n# Rewrite_time: 0.005698258\n# Optimize_time: 0.006363285\n# Wait_TS: 0.000104956\n# Cop_time: 0.456224363 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 188\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000012174\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2APwlTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkxCXRpbWU6NDU2LjdtcywgbG9vcHM6MiwgY29wX3Rhc2s6IHtudW06IDEsIG1heDogMS41bXMsIHByb2Nfa2V5czogMCwgdG90X3Byb2M6IDFtcywgcnBjX251bTogNDQyLCBycGNfdGltZTogMzAwLjdtcwVd8HVyX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzo0NDEsIHRvdGFsX3RpbWU6ODcuNm1zfQkxODggQnl0ZXMJTi9BCjEJMV82CTFfOQqIbGUobXlzcWwudGlkYl9tZGxfaW5mby52ZXJzaW9uLCA0NiklHQhrdl8lBwR7dCEoCDEuMwH+AGwlJhQwfQlOL0EBBFwKMgk0M181CTFfMAkxMDAwMAl0YWJsZToyXAB8LCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG+qbwA=')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('xgSYCsEECg1UYWJsZVJlYWRlcl83Ep4CCgtTZWxlY3Rpb25fNhKaAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBpAIjDQDABOAJAAkoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUh5rZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG9qH3Rpa3ZfdGFzazp7dGltZToxLjNtcywgbG9vcHM6MH1w/////wUEBAF4BQcBAQABBYksgE8iQSmrqqqqqvapDYkQUiNsZSgFiAAuMocAMC52ZXJzaW9uLCA0NinedAABawzqc+ZALnQAJAFAAVIQZGF0YTo9OyxaFXRpbWU6NDU2LjcZzBgyYr8BY29wCexEIHtudW06IDEsIG1heDogMS41ASlEcHJvY19rZXlzOiAwLCB0b3RfARIIOiAxAR0McnBjXwU1DDQ0MiwFDgVmDCAzMDAJZ/BxY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6e251bV9ycGM6NDQxLCB0b3RhbF90aW1lOjg3LjZtc31wvAF4////////////ARgB')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 46;"] [2024/05/06 16:36:42.423 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:41.343 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:42.544 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=65] [2024/05/06 16:36:42.544 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:42.546 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.256982921\n# Parse_time: 0\n# Compile_time: 0.022947835\n# Rewrite_time: 0.000018274\n# Optimize_time: 0\n# Wait_TS: 0.000107154\n# DB: mysql\n# Is_internal: true\n# Digest: ebccd6f5d49fb0fcff4d7dc20bb3ae798d172a92ba5f6709445c980166f7e32f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_meta_history ( table_id bigint(64) NOT NULL, modify_count bigint(64) NOT NULL, count bigint(64) NOT NULL, version bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN', create_time datetime(6) NOT NULL, UNIQUE KEY table_version (table_id, version), KEY table_create_time (table_id, create_time) );"] [2024/05/06 16:36:42.566 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [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 16:36:42.695 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:42.581 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:42.695 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:42.581 +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 16:36:42.773 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:42.581 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:43.177 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=4.313976ms] [phyTblIDs="[66]"] [actionTypes="[8]"] [2024/05/06 16:36:43.212 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:43.212 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=67] [version=47] [2024/05/06 16:36:43.212 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=47] ["take time"=44.180193ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:42.581 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:43.286 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:42.581 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:43.412 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=67] [2024/05/06 16:36:43.414 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:43.416 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.85614744\n# Parse_time: 0\n# Compile_time: 0.006895959\n# Rewrite_time: 0.000013413\n# Optimize_time: 0\n# Wait_TS: 0.000082303\n# DB: mysql\n# Is_internal: true\n# Digest: bfb9a3ff60c3c60c054a207c0a0db06c87e29edbe94005d8d5c89fe484f4f90a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.analyze_jobs ( id BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT, update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, table_schema CHAR(64) NOT NULL DEFAULT '', table_name CHAR(64) NOT NULL DEFAULT '', partition_name CHAR(64) NOT NULL DEFAULT '', job_info TEXT NOT NULL, processed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, start_time TIMESTAMP, end_time TIMESTAMP, state ENUM('pending', 'running', 'finished', 'failed') NOT NULL, fail_reason TEXT, instance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job', process_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job', PRIMARY KEY (id), KEY (update_time) );"] [2024/05/06 16:36:43.420 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [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 16:36:43.472 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:43.436 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:43.472 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:43.436 +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 16:36:43.558 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:43.436 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:43.633 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=1.901849ms] [phyTblIDs="[68]"] [actionTypes="[8]"] [2024/05/06 16:36:43.662 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:43.663 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=69] [version=48] [2024/05/06 16:36:43.665 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=48] ["take time"=43.085291ms] [job="ID:69, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:43.436 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:43.713 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:69, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:43.436 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:43.773 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=69] [2024/05/06 16:36:43.773 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:43.775 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.356017706\n# Parse_time: 0\n# Compile_time: 0.001253792\n# Rewrite_time: 0.000012187\n# Optimize_time: 0\n# Wait_TS: 0.000069929\n# DB: mysql\n# Is_internal: true\n# Digest: 85d0480e8afeca7d94d07ca1a681df6c7f89f1fda753ceb6e02b51caf3714c1c\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.advisory_locks ( lock_name VARCHAR(64) NOT NULL PRIMARY KEY );"] [2024/05/06 16:36:43.875 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:43.803 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:43.875 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:36:43.803 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] [2024/05/06 16:36:43.960 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:43.803 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:44.086 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=2.854819ms] [phyTblIDs="[70]"] [actionTypes="[2097152]"] [2024/05/06 16:36:44.112 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:44.113 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=71] [version=49] [2024/05/06 16:36:44.113 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=49] ["take time"=30.239503ms] [job="ID:71, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:36:43.803 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:44.215 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:71, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:43.803 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:44.348 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=71] [2024/05/06 16:36:44.349 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:44.350 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.566889445\n# Parse_time: 0\n# Compile_time: 0.007282899\n# Rewrite_time: 0.00371513\n# Optimize_time: 0\n# Wait_TS: 0.000083515\n# DB: mysql\n# Is_internal: true\n# Digest: 812c81f344f5d0c8b8aedcb68ff1dca865b59104853273f7e66b8abff5429992\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE OR REPLACE VIEW mysql.tidb_mdl_view as ( select JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID );"] [2024/05/06 16:36:44.360 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [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 16:36:44.949 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572924147105792\n# Query_time: 0.529048904\n# Parse_time: 0\n# Compile_time: 0.024428132\n# Rewrite_time: 0.00027791\n# Optimize_time: 0.005519273\n# Wait_TS: 0.000066165\n# Prewrite_time: 0.000747269 Commit_time: 0.000759104 Get_commit_ts_time: 0.000020151 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 4910 Prewrite_region: 1\n# Is_internal: true\n# Digest: 1b73a00c73a03d7dc9dd08a1ea99474b2523e5f72366f740be5156fa244256c4\n# Num_cop_tasks: 0\n# Mem_max: 17658\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2ALYMAkyN18xCTAJMAlOL0EJMAl0aW1lOjk0Ni40wrVzLCBsb29wczoxLCBwcmVwYXJlOiA0NTYuOQUcLGluc2VydDo0ODkuNQURaGNvbW1pdF90eG46IHtwcmV3cml0ZTo3NDcuMwUgDGdldF8RJBRzOjIwLjIFFwkTFDo3NTkuMQURHHNsb3dlc3RfEUPQX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwNVxxfcHJpbWFyedZEAA1kCG51bSEEBdAQX2tleXMZDlhieXRlOjQ5MTB9CTUuMjQgS0IJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('4wLwPgreAgoISW5zZXJ0XzE4AUABUgNOL0FaFnRpbWU6OTQ2LjTCtXMsIGxvb3BzOjFiInByZXBhcmU6IDQ1Ni45wgEcBGluAT7AOjQ4OS41wrVzYv4BY29tbWl0X3R4bjoge3ByZXdyaXRlOjc0Ny4zwrVzLCBnZXRfYw0kFHM6MjAuMgUXCTcUOjc1OS4xBREcc2xvd2VzdF8RQ5hfcnBjOiB7dG90YWw6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG8BnwBzAQcQMSwgfSwNVxxfcHJpbWFyedZEAA1kGG51bToxLCAF0BBfa2V5cxkOZGJ5dGU6NDkxMH1w+il4////////////ARgB')\ninsert into mysql.tidb_ddl_job(job_id, reorg, schema_ids, table_ids, job_meta, type, processing) values(73, false, \"1\", \"72\", 0x7b226964223a37332c2274797065223a332c22736368656d615f6964223a312c227461626c655f6964223a37322c22736368656d615f6e616d65223a226d7973716c222c227461626c655f6e616d65223a22706c616e5f7265706c617965725f737461747573222c227374617465223a382c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b7b226964223a37322c226e616d65223a7b224f223a22706c616e5f7265706c617965725f737461747573222c224c223a22706c616e5f7265706c617965725f737461747573227d2c2263686172736574223a22757466386d6234222c22636f6c6c617465223a22757466386d62345f62696e222c22636f6c73223a5b7b226964223a312c226e616d65223a7b224f223a2273716c5f646967657374222c224c223a2273716c5f646967657374227d2c226f6666736574223a302c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a31352c22466c6167223a302c22466c656e223a3132382c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a322c226e616d65223a7b224f223a22706c616e5f646967657374222c224c223a22706c616e5f646967657374227d2c226f6666736574223a312c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a31352c22466c6167223a302c22466c656e223a3132382c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a332c226e616d65223a7b224f223a226f726967696e5f73716c222c224c223a226f726967696e5f73716c227d2c226f6666736574223a322c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235322c22466c6167223a302c22466c656e223a36353533352c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a342c226e616d65223a7b224f223a22746f6b656e222c224c223a22746f6b656e227d2c226f6666736574223a332c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a31352c22466c6167223a302c22466c656e223a3132382c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73(len:9865);"] [2024/05/06 16:36:44.950 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:44.384 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:44.950 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:44.384 +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 16:36:45.575 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572924311207936\n# Query_time: 0.507131714\n# Parse_time: 0\n# Compile_time: 0.001755231\n# Rewrite_time: 0.002999407\n# Optimize_time: 0.005189536\n# Wait_TS: 0.000080256\n# Prewrite_time: 0.000738369 Commit_time: 0.000665389 Get_commit_ts_time: 0.000025084 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 4910 Prewrite_region: 1\n# Is_internal: true\n# Digest: bb9a0484a27cea37dfc9b79800bc11ddc72f4ac11810a6eb126d600a567ce029\n# Num_cop_tasks: 0\n# Mem_max: 18071\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('ogPwTDAJMjhfMwkwCTAJTi9BCTAJdGltZToxLjUybXMsIGxvb3BzOjEsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo3MzguNMK1cywgZ2V0X2NvCSQgczoyNS4xwrVzETcQOjY2NS4JKCBzbG93ZXN0X3ANQ+hfcnBjOiB7dG90YWw6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG9yZTogc3RvcmUxLCB9LCBjb21taQFFEGltYXJ51kQADWQIbnVtAeAF0BBfa2V5cxkO8D5ieXRlOjQ5MTB9CTUuNjUgS0IJTi9BCjEJMzZfMQkwCTEJdGFibGU6dGlkYl9kZGxfam9iLCBoYW5kbGU6NzMBICFMEDQ4OC4yJQ4pTigyLCBHZXQ6e251bQW6DDEsIHQB/wBfBS5EMTYzLjfCtXN9CU4vQQlOL0EK')\n# Plan_digest: 3fea32741ba131a439f08d925bc0d60ce688c732cc613c6d3625da6592028edc\n# Binary_plan: tidb_decode_binary_plan('1AN4Cs8DCghVcGRhdGVfMxKUAQoLUG9pbnRfR2V0XzEpAAUB8HXwPzABOAFAAUoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSCWhhbmRsZTo3M1oWdGltZTo0ODguMsK1cywgbG9vcHM6MmIkR2V0OntudW1fcnBjOjEsIHRvdGFsX3RpbWU6MTYzLjfCtXN9cP///////////wF4CQgI////BXwYUgNOL0FaFAkvGC41Mm1zLCAJW3wxYv4BY29tbWl0X3R4bjoge3ByZXdyaXRlOjczOC40wgGFDGdldF8RJBRzOjI1LjEFFwkTDDo2NjUNKBxzbG93ZXN0XxFDGF9ycGM6IHsFq3Q6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG9yZToJBxAxLCB9LA1XHF9wcmltYXJ51kQADWQYbnVtOjEsIAXQEF9rZXlzGQ5kYnl0ZTo0OTEwfXCXLXj///////////8BGAE=')\nupdate mysql.tidb_ddl_job set processing = 1 where job_id = 73;"] [2024/05/06 16:36:45.576 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:44.384 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:45.797 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=2.703395ms] [phyTblIDs="[72]"] [actionTypes="[8]"] [2024/05/06 16:36:45.812 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:45.812 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=73] [version=50] [2024/05/06 16:36:45.813 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=50] ["take time"=30.410743ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:44.384 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:45.868 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:44.384 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:45.993 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=73] [2024/05/06 16:36:45.993 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:45.997 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.64043093\n# Parse_time: 0\n# Compile_time: 0.004429904\n# Rewrite_time: 0.00001205\n# Optimize_time: 0\n# Wait_TS: 0.000077116\n# DB: mysql\n# Is_internal: true\n# Digest: 3d2f349b1c68ee2b30e34bad8bb3838af6c40d7a26072b2d29d801d7fedbac48\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.plan_replayer_status ( sql_digest VARCHAR(128), plan_digest VARCHAR(128), origin_sql TEXT, token VARCHAR(128), update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fail_reason TEXT, instance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 16:36:46.006 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=50] [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 16:36:46.608 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572924583313408] ["min commit ts"=449572924629188608] [key="dIAA///////+X3KAAAAAAAAASw=="] [2024/05/06 16:36:46.609 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572924582526976] [info="{StartTs:449572924582526976 AttemptedCommitTs:449572924583313408 Key:748000fffffffffffe5f72800000000000004b MinCommitTs:449572924629188608}"] [2024/05/06 16:36:46.611 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572924582526976\n# Query_time: 0.560011633\n# Parse_time: 0\n# Compile_time: 0.053721077\n# Rewrite_time: 0.000366417\n# Optimize_time: 0.001913469\n# Wait_TS: 0.000071976\n# Prewrite_time: 0.001078398 Commit_time: 0.001710389 Get_commit_ts_time: 0.000051565 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 3310 Prewrite_region: 1\n# Is_internal: true\n# Digest: 1b73a00c73a03d7dc9dd08a1ea99474b2523e5f72366f740be5156fa244256c4\n# Num_cop_tasks: 0\n# Mem_max: 11962\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('0ALwdTAJMjdfMQkwCTAJTi9BCTAJdGltZToxLjY0bXMsIGxvb3BzOjEsIHByZXBhcmU6IDEuMTNtcywgaW5zZXJ0OjUxMS42wrVzLCBjb21taXRfdHhuOiB7cHJld3JpdGU6MS4wOG1zLCBnZXRfY29tbWl0X3RzOjU2NQAQOjEuNzEBbxxzbG93ZXN0XxE/2F9ycGM6IHt0b3RhbDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0b3JlOiBzdG9yZTEsIH0sIGMJihhwcmltYXJ51kQADWQIbnVtAf4FzBBfa2V5cxkOWGJ5dGU6MzMxMH0JMy42OCBLQglOL0EK')\n# Binary_plan: tidb_decode_binary_plan('2wLoCtYCCghJbnNlcnRfMTgBQAFSA04vQVoUdGltZToxLjY0bXMsIGxvb3BzOjFiIHByZXBhcmU6IDEuMTMBGgRpbgE6fDo1MTEuNsK1c2L6AWNvbW1pdF90eG46IHtwcmV3cml0AUoEMDgBMAxnZXRfESIMczo1MQU2BCwgCRMQOjEuNzEBJhxzbG93ZXN0XxE/mF9ycGM6IHt0b3RhbDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0bwGZAHMBBwwxLCB9EVUcX3ByaW1hcnnWRAANZBhudW06MSwgBcwQX2tleXMZDmRieXRlOjMzMTB9cLodeP///////////wEYAQ==')\ninsert into mysql.tidb_ddl_job(job_id, reorg, schema_ids, table_ids, job_meta, type, processing) values(75, false, \"1\", \"74\", 0x7b226964223a37352c2274797065223a332c22736368656d615f6964223a312c227461626c655f6964223a37342c22736368656d615f6e616d65223a226d7973716c222c227461626c655f6e616d65223a22706c616e5f7265706c617965725f7461736b222c227374617465223a382c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b7b226964223a37342c226e616d65223a7b224f223a22706c616e5f7265706c617965725f7461736b222c224c223a22706c616e5f7265706c617965725f7461736b227d2c2263686172736574223a22757466386d6234222c22636f6c6c617465223a22757466386d62345f62696e222c22636f6c73223a5b7b226964223a312c226e616d65223a7b224f223a2273716c5f646967657374222c224c223a2273716c5f646967657374227d2c226f6666736574223a302c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a31352c22466c6167223a343039392c22466c656e223a3132382c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a322c226e616d65223a7b224f223a22706c616e5f646967657374222c224c223a22706c616e5f646967657374227d2c226f6666736574223a312c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a31352c22466c6167223a343039392c22466c656e223a3132382c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a332c226e616d65223a7b224f223a227570646174655f74696d65222c224c223a227570646174655f74696d65227d2c226f6666736574223a322c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a2243555252454e545f54494d455354414d50222c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a372c22466c6167223a383332312c22466c656e223a31392c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d5d2c22696e6465785f696e666f223a5b7b226964223a312c226964785f6e616d65223a7b224f223a225052494d415259222c224c223a227072696d617279227d2c2274626c5f6e616d65223a7b224f223a22222c224c223a22227d2c226964785f636f6c73223a5b7b226e616d65223a7b224f223a2273716c5f646967657374222c224c223a2273716c5f646967657374227d2c226f6666736574223a302c226c656e677468223a2d317d2c7b226e616d65223a7b224f223a22706c616e5f646967657374222c224c223a22706c616e5f646967657374227d2c226f6666736574223a312c226c656e677468223a2d317d5d2c227374617465223a352c226261636b66696c6c5f7374617465223a302c22636f6d6d656e74223a22222c22696e6465785f74797065223a312c2269735f756e69717565223a747275652c2269735f7072696d617279223a7472(len:6665);"] [2024/05/06 16:36:46.612 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:46.025 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:46.613 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:46.025 +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 16:36:46.618 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572924628402176\n# Query_time: 0.348829653\n# Parse_time: 0\n# Compile_time: 0.014074238\n# Rewrite_time: 0.002406401\n# Optimize_time: 0.009307582\n# Wait_TS: 0.000091493\n# Cop_time: 0.615327306 Process_time: 0.002 Request_count: 2\n# Is_internal: true\n# Digest: 1a96197a635ab3d1c0fc027ce178d8aa751e4bd033c39db6163d3ba75b49fe3f\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.001 Cop_proc_p90: 0.002 Cop_proc_max: 0.002 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 1953\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('vBOgMAkzXzEzCTAJMTAJbXlzcWwudGlkYl9kZGxfam9iLmpvYl9tZXRhLCBKHQDwRnByb2Nlc3NpbmcJMAl0aW1lOjMxMC44bXMsIGxvb3BzOjEsIENvbmN1cnJlbmN5Ok9GRgkxLjM2IEtCCU4vQQoxCTE0XzE0Yn0AGWAYOmRlc2MsIEqEAAGhBGlkXoAAHAkwIEJ5dGVzEQgcCjIJMTdfMjgJc1Rpbm5lciBqb2luLCBlcXVhbDpbZXEoYmUAMCwgQ29sdW1uIzE1KV0ucgAANTLyAHBidWlsZF9oYXNoX3RhYmxlOnt0b3RhbDozMDguMwEqEGZldGNoGQ8FMAw6MHN9EaURCCQKMwkzMV80MShCAVIAKQm0QGRhdGE6U2VsZWN0aW9uXzQwFYkAMDZ5AWxjb3BfdGFzazoge251bTogMSwgbWF4OiAzLjE2AYYhXTRfa2V5czogMCwgdG90XwESCDogMgEdDHJwY18JNgg0NiwFDiXfECAyMjAuBSGYY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uNftEIDE1fSwgUmVzb2x2ZUxvY2s6AZYcX3JwYzoxNDUFgARhbAllIDUxbXN9CTE3Ny27GE4vQQo0CTEB6wQxX0WoUG5vdChpc3RydWVfd2l0aF9udWxsKEq3ARRyZW9yZykhOQx0aWt2KQ4AewXJDDIuOTQB6EmnBDB9AWUBBBwKNQk0M18zOQ1qDDAwMAkpxC4VA3wsIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkbyWSmnAALDMJNl8yOShQcm9iZQGpNDY0MDAJZ3JvdXAgYnk6VXBALCBmdW5jczpmaXJzdHJvdygVGggpLT4VDAV5YYYIMDkuHd9UMSwgcGFydGlhbF93b3JrZXI6e3dhbC1uASwUMTI5MTA5IRAAYz2zIZYMYXNrX0EITSJAd2FpdDoxLjU0MzU5NjA0M3MluRhfZXhlYzowDQ0lYAUkGDY4MDQ5MXNJeEH+FDc2MTA5NwFoCHA5NTISABR9LCBmaW5ioQAQMzIyNzIFOZ6hABA0NTU1Ng2SBZ8gMTAyLjgxN8K1DRUVpxg0Njk1NjA3FacYOS4wMzAyMSVACacZElkoQZEAM2F8JbFJkUWHNY1NeCWPBDguBb1JbgwxCTM4kZdB3BA1CTZfMyG8ADhBbzX8StACYaEAZaVwUgsFIHNjaGVtYV9pZAHMBHlzPssFRckJHklNCG1pbhWvADhWSAI2uQB2SAIYOC40NTA4OAXqnqcBGDA5NzUyMjktlCWpQkgCFDEwNzQ2MiHNCG1heEU2DDI0NTMJaCmhADgVEnJIAhg4LjcwMTg2pYSeoQAQMTc5Mjc26QIUNjIuODY3RkkCFDE4ODQ1MllJGDguNDE3MzepbU3wERJZSQA2oeQMMzYJMCn/OGRhdGE6SGFzaEFnZ18zMXnSCDguMWE5TUMALKGBidEAIKFJud8IMS4yBSlBLLnfBHJwrdAIMjQwLtAFCDE1NAlY/tAFvdAIMjM5hRex0AQ5NsEzodIAMb3SADdB9gAxpWj++ALO+AJKIAMWSgh9CA4mCD45BhA5NzIuMSX8KYrdOxg4CTQzXzM0BdMAMf47Btk7anIA')\n# Plan_digest: 03fa0f18132c15290435ccd6930c03fe7257c7017164897b1e5acdd3c92e1828\n# Binary_plan: tidb_decode_binary_plan('oxbwSQqeFgoNUHJvamVjdGlvbl8xMxKEFQoHU29ydF8xNBKMFAoLSGFzaEpvaW5fMjgSzAQKDlRhYmxlUmVhZGVyXzQxEqkCCgxTZWxlCUAYNDASmQEKEAUkUEZ1bGxTY2FuXzM5IQAAAADw7zBBKQEJ8HEAiMNAOAJAAkoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSHmtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkb2ogdGlrdl90YXNrOnt0aW1lOjIuOTRtcywgbG9vcHM6MH1w////////////AXj///8JDAABBYcIIGUxDYcEACQFh1hSL25vdChpc3RydWVfd2l0aF9udWxsKAWYAC4ulwAcLnJlb3JnKSnefwA0GgEBIVVVVVWVj/JAKQAFATQkQDgBQAFSEWRhdGE6Uz1HLFoTdGltZTozMDhtcxHXGDFivgFjb3AJ+Egge251bTogMSwgbWF4OiAzLjE2ASpEcHJvY19rZXlzOiAwLCB0b3RfARIIOiAyAR0McnBjXwk2CDQ2LAUOBWUQIDIyMC4FIfBVY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6e251bV9ycGM6MTQ1LCB0b3RhbF8FZRw1MW1zfXCxAT2PEBKHDgoKQV8gQWdnXzI5Eq0KLksCEDMwEskJGSAQMzUSpAU2fgIQMzYSkQMdIggxEptGfAIANCX1/nwCXXwEInQ6fAIcOTcyLjHCtXMxpwAwbn4CAChVfgRAv0l+LJQBZ3JvdXAgYnk6bWELAC4ycwIhvhxlc3NpbmcsIEofACRzY2hlbWFfaWRzUh8AEHRhYmxlCR4kZnVuY3M6bWluKEpHAERqb2JfaWQpLT5Db2x1bW4jMTjq5wAY3t3d3R0+903jAedB4wQPZEHjCEhhcyXuDDMxWhVFFxAzMDguMUGcIGxvb3BzOjFisWLjAggxLjIFKiETWeNV1AgyNDAu1AIIMTU0CVn+1AJd1AgyMzllVFHUBDk2YTcIfXCrLtYCJQAIrWz4OgABAIT+5wG+5wE1yz3XADU9dgA3LnYBVMkCcGFydGlhbF93b3JrZXI6e3dhbGyJHyGjEDQ1MDg4BTIAY33/YeIIYXNrhVQAMCUaRF93YWl0OjEuNTQwOTc1MjI5cwkXFGV4ZWM6MA0NJfkBJBgxMDc0NjI2QbwEYXgFaAwyNDUzCWgIcDk1MhIAFH0sIGZpbmKhABQ3MDE4NjMB056hABgxNzkyNzQzDZQFoRQ2Mi44Njdly6E6GagUODg0NTI3HagQNDE3MzepcQ2oERJe/QNhFgitSP5NFgQAuan5ABbJe8VxMbEINSkpWqcBCHD8Ar0/JBoBAiFEREREJGM+VgAEOGeRUhVUACyNARxmaXJzdHJvdx1uefZZHwQ5Lv1PCDFiyHIfAhw5LjEyOTEwOa5+ARAzNTk2MDZ+AUIfAhgzNjgwNDkxPXcQNzYxMDlFhzF3ERJyHwIYOS4zMjI3MgU5nh8CDDQ1NTVBmkEJRR0UMTAyLjgxSh4CFDQ2OTU2MFkeGDkuMDMwMjElQQmnGRJeHgIYFK5H4Qx7CCqZCGgBQAFSPGlubmVyIGpvaW4sIGVxdWFsOltlcShiwQUELCA18AQpXVFEDDEwLjUhmrFhLDlidWlsZF9oYXNoX8UgGDp7dG90YWxlbmVCEGZldGNoGQ8FMCw6MHN9IZ2rBTkqfgg6pgAAPUqQAKGkybcUOmRlc2MsTrwGyXUdpwA4HacFbADqQmwATiMHAUgQbWV0YSxOZQAZiVppABBiD0NvbiLRCEhPRkZw9Ap4////////////ARgB')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and not reorg order by processing desc, job_id;"] [2024/05/06 16:36:46.761 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:46.025 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:46.772 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=12.160639ms] [2024/05/06 16:36:46.841 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=2.049546ms] [phyTblIDs="[74]"] [actionTypes="[8]"] [2024/05/06 16:36:46.863 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:46.863 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=75] [version=51] [2024/05/06 16:36:46.864 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=51] ["take time"=29.013834ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:46.025 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:46.959 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:46.025 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:47.052 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=75] [2024/05/06 16:36:47.052 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:47.054 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.05041645\n# Parse_time: 0\n# Compile_time: 0.002208543\n# Rewrite_time: 0.000014577\n# Optimize_time: 0\n# Wait_TS: 0.000091621\n# DB: mysql\n# Is_internal: true\n# Digest: 8d9754df14c826803fed84f1ae3eb8fc9729e76a793b6be6bf25967f1929d039\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.plan_replayer_task ( sql_digest VARCHAR(128) NOT NULL, plan_digest VARCHAR(128) NOT NULL, update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 16:36:47.068 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=51] [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 16:36:47.678 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572924864069632] ["min commit ts"=449572924890284033] [key="dIAA///////+X3KAAAAAAAAATQ=="] [2024/05/06 16:36:47.679 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572924862758912] [info="{StartTs:449572924862758912 AttemptedCommitTs:449572924864069632 Key:748000fffffffffffe5f72800000000000004d MinCommitTs:449572924890284033}"] [2024/05/06 16:36:47.681 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572924862758912\n# Query_time: 0.543549379\n# Parse_time: 0\n# Compile_time: 0.035832153\n# Rewrite_time: 0.000264309\n# Optimize_time: 0.02643916\n# Wait_TS: 0.000066447\n# Prewrite_time: 0.002993075 Commit_time: 0.001030293 Get_commit_ts_time: 0.000020175 Slowest_prewrite_rpc_detail: {total:0.003s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.003s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 3325 Prewrite_region: 1\n# Is_internal: true\n# Digest: 1b73a00c73a03d7dc9dd08a1ea99474b2523e5f72366f740be5156fa244256c4\n# Num_cop_tasks: 0\n# Mem_max: 11977\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('1ALYMAkyN18xCTAJMAlOL0EJMAl0aW1lOjg3My42wrVzLCBsb29wczoxLCBwcmVwYXJlOiA0MzkuMgUcLGluc2VydDo0MzQuNAURiGNvbW1pdF90eG46IHtwcmV3cml0ZToyLjk5bXMsIGdldF9jDSIMczoyMA1GCTUQOjEuMDMBJhxzbG93ZXN0XxE/0F9ycGM6IHt0b3RhbDogMC4wMDNzLCByZWdpb25faWQ6IDIsIHN0b3JlOiBzdG9yZTEsIH0sDVUcX3ByaW1hcnlGRAAAMIpEAA1kGG51bToxLCAFzBBfa2V5cxkOWGJ5dGU6MzMyNX0JMy43MCBLQglOL0EK')\n# Binary_plan: tidb_decode_binary_plan('3wLwPgraAgoISW5zZXJ0XzE4AUABUgNOL0FaFnRpbWU6ODczLjbCtXMsIGxvb3BzOjFiInByZXBhcmU6IDQzOS4ywgEcBGluAT64OjQzNC40wrVzYvoBY29tbWl0X3R4bjoge3ByZXdyaXRlOjIuOTltcywgZ2V0X2MNIhBzOjIwLglHCTVAOjEuMDNtcywgc2xvd2VzdF8RP5hfcnBjOiB7dG90YWw6IDAuMDAzcywgcmVnaW9uX2lkOiAyLCBzdG8BmwBzAQcQMSwgfSwNVRxfcHJpbWFyeUZEAAAwikQADWQYbnVtOjEsIAXMEF9rZXlzGQ5kYnl0ZTozMzI1fXDJHXj///////////8BGAE=')\ninsert into mysql.tidb_ddl_job(job_id, reorg, schema_ids, table_ids, job_meta, type, processing) values(77, false, \"1\", \"76\", 0x7b226964223a37372c2274797065223a332c22736368656d615f6964223a312c227461626c655f6964223a37362c22736368656d615f6e616d65223a226d7973716c222c227461626c655f6e616d65223a2273746174735f7461626c655f6c6f636b6564222c227374617465223a382c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b7b226964223a37362c226e616d65223a7b224f223a2273746174735f7461626c655f6c6f636b6564222c224c223a2273746174735f7461626c655f6c6f636b6564227d2c2263686172736574223a22757466386d6234222c22636f6c6c617465223a22757466386d62345f62696e222c22636f6c73223a5b7b226964223a312c226e616d65223a7b224f223a227461626c655f6964222c224c223a227461626c655f6964227d2c226f6666736574223a302c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a382c22466c6167223a343039392c22466c656e223a36342c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a322c226e616d65223a7b224f223a226d6f646966795f636f756e74222c224c223a226d6f646966795f636f756e74227d2c226f6666736574223a312c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a2230222c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a382c22466c6167223a312c22466c656e223a36342c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a332c226e616d65223a7b224f223a22636f756e74222c224c223a22636f756e74227d2c226f6666736574223a322c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a2230222c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a382c22466c6167223a312c22466c656e223a36342c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a342c226e616d65223a7b224f223a2276657273696f6e222c224c223a2276657273696f6e227d2c226f6666736574223a332c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a2230222c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a382c22466c6167223a33332c22466c656e223a36342c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c226869646465(len:6695);"] [2024/05/06 16:36:47.682 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:47.105 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:47.682 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:47.105 +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 16:36:47.688 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572924890284032\n# Query_time: 0.419972957\n# Parse_time: 0\n# Compile_time: 0.013645945\n# Rewrite_time: 0.002260052\n# Optimize_time: 0.009011074\n# Wait_TS: 0.000097316\n# Cop_time: 0.762863084 Process_time: 0.031 Request_count: 2\n# Is_internal: true\n# Digest: 1a96197a635ab3d1c0fc027ce178d8aa751e4bd033c39db6163d3ba75b49fe3f\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0155 Cop_proc_p90: 0.03 Cop_proc_max: 0.03 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 1975\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('yxOgMAkzXzEzCTAJMTAJbXlzcWwudGlkYl9kZGxfam9iLmpvYl9tZXRhLCBKHQDwRnByb2Nlc3NpbmcJMAl0aW1lOjM4NS43bXMsIGxvb3BzOjEsIENvbmN1cnJlbmN5Ok9GRgkxLjM2IEtCCU4vQQoxCTE0XzE0Yn0AGWAYOmRlc2MsIEqEAAGhBGlkXoAAHAkwIEJ5dGVzEQgcCjIJMTdfMjgJc1Rpbm5lciBqb2luLCBlcXVhbDpbZXEoYmUAMCwgQ29sdW1uIzE1KV0ucgAANDLyAHBidWlsZF9oYXNoX3RhYmxlOnt0b3RhbDozODQuOQEqEGZldGNoGQ8FMAw6MHN9EaURCCQKMwkzMV80MShCAVIAKQm0QGRhdGE6U2VsZWN0aW9uXzQwGYkINC42AV81e2xjb3BfdGFzazoge251bTogMSwgbWF4OiAzMC41ASkhXzRfa2V5czogMCwgdG90XwESASABHgxycGNfCTcIMDksBQ4l4gwgMjMwKeOYY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uNf5EIDE1fSwgUmVzb2x2ZUxvY2s6AZccX3JwYzoxMDgFgQRhbAllLDEwOS44bXN9CTE3Ny3BGE4vQQo0CTEB8QQxX0WuUG5vdChpc3RydWVfd2l0aF9udWxsKEq9ARRyZW9yZykhPwx0aWt2KRIAewXMDDMwLjMB6ykyBDB9AWUBBBwKNQk0M18zOQ1qDDAwMAkpyi4bA3wsIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkbyWYmnAALDMJNl8yOShQcm9iZQGpNDY0MDAJZ3JvdXAgYnk6VXZALCBmdW5jczpmaXJzdHJvdygVGggpLT4VDAV5ZYwAMklwCd9UMSwgcGFydGlhbF93b3JrZXI6e3dhbC1xIDM4Mi42OTcxM0XLAGM9tgg1LCBBRABfQQtNJkB3YWl0OjEuOTEwOTk3NDQxcyW8GF9leGVjOjANDSVgASQYMTEwODc4c0l7AWcQNDE0OTFJgAQ5NTISABR9LCBmaW5ioAAQODMyMDYFOZ6gABgyNjIyNzc3DZMFoBw1Ny42NDbCtQ0UFacQMjcwNzIBymEiAacUNTg0NTkyQR4RpxESWSdBkAAzYYElsEmQRYY1jE13JY4AMWl2LY4ICTM4kZxB2xA1CTZfMyG7ADhBbjX7Ss8CYaQAZaV1UhAFIHNjaGVtYV9pZCFzRtAFRcgJHklMCG1pbhWvADhWRwIAMTrhBG5HAhgxLjI2MDA1JTmapwEYMDQ2MzMzMi2SJaY+RgIYMDQ3MjgwOTmgFDAuOTkzMi5HAhkSckcCGDEuNDI4MDOuRwIYMDUyNjk3NwF9oSQFoRQ1MS42NzFCRwIcMDUzNDY5NXNR7hgxLjA5NzI2pfZJRxkSWUcANqHnDDM2CTAp/QBkoeIkSGFzaEFnZ18zMXnPADA6zwNe4AUIMS4yBeBBKk7gBQAxQdYEcnCx3wQzOC7fBQgxOTYp7/7fBS7fBQQzN4Ujtd8EMzZhDKHfBDUg6aBhBAA3YQQAMaV1/gYDzgYDSi4DFl0IfRYOOQg+RgYIMS4w/XjdRgQ4CcFGgSXBsGHYZX7+RgZicAA=')\n# Plan_digest: 03fa0f18132c15290435ccd6930c03fe7257c7017164897b1e5acdd3c92e1828\n# Binary_plan: tidb_decode_binary_plan('shbwSQqtFgoNUHJvamVjdGlvbl8xMxKTFQoHU29ydF8xNBKbFAoLSGFzaEpvaW5fMjgS0gQKDlRhYmxlUmVhZGVyXzQxEqkCCgxTZWxlCUAYNDASmQEKEAUkUEZ1bGxTY2FuXzM5IQAAAADw7zBBKQEJ8HEAiMNAOAJAAkoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSHmtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkb2ogdGlrdl90YXNrOnt0aW1lOjMwLjNtcywgbG9vcHM6MH1w////////////AXj///8JDAABBYcIIGUxDYcEACQFh1hSL25vdChpc3RydWVfd2l0aF9udWxsKAWYAC4ulwAcLnJlb3JnKSnefwA0GgEBIVVVVVWVj/JAKQAFATQkQDgBQAFSEWRhdGE6Uz1HDFoVdGkB2BQ4NC42bXMR2RgxYsIBY29wCfpIIHtudW06IDEsIG1heDogMzAuNQEqRHByb2Nfa2V5czogMCwgdG90XwESASABHgxycGNfCTcIMDksBQ4FaBQgMjMwLjcBIfBVY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6e251bV9ycGM6MTA4LCB0b3RhbF8FZSgxMDkuOG1zfXCxAT2VEBKQDgoKQWUgQWdnXzI5ErcKLlECEDMwEtMJGSAQMzUSsAU2hAIQMzYSjQMdIgAxToICADQl+/6CAm6CAggxLjA9qQAwboICAChVggRAv0mCLJQBZ3JvdXAgYnk6bWEPNncCIcAcZXNzaW5nLCBKHwAkc2NoZW1hX2lkc1IfABB0YWJsZQkeJGZ1bmNzOm1pbihKRwBQam9iX2lkKS0+Q29sdW1uIzE4aiB0OmcDADGW5QAY3t3d3R0+903lAeVB5QQPZEHlCEhhcyXqBDMxVeMIMC45QXogbG9vcHM6MWLBYuMCCDEuMnLjAgAxAUdZ4gQzOC7iAhAxOTYuNAEh/uICLuICBDM3ZWNV4gQzNmGFCH1wry7iAiUQCK1s+DoQAQCE/vUBvvUBNdk95QA1NYYAMSkeMYZUxwJwYXJ0aWFsX3dvcmtlcjp7d2FsbIkuJDM4MS4yNjAwNTIpUABulQ4YNSwgdGFza4VjjX48d2FpdDoxLjkwNDYzMzMycyUxGF9leGVjOjANDYkeASMUNzI4MDkxQckMYXg6M0EaDDkzMjEp9QQ5NTISABR9LCBmaW5ioAAQNDI4MDMFOQBjmqAAFDUyNjk3NwF9oTUFoRw1MS42NzHCtT6oABg1MzQ2OTVzqXohDhAwOTcyNkXGCacAMRUSXgkEYSQIrUj+TRQEALnJCQAWyYvFgTGvCDUpKT2lBdMtpQhw/AK9SSQaAQIhRERERCRjPlYABDhnkV4VVAAsjQ0cZmlyc3Ryb3cdbpkCWR0AMjajA3YdAhgyLjY5NzEzbW2SHQIYMTA5OTc0NDJ9AT4eAhgxMTEwODc4NXYUMi40MTQ5Lh0CGRJyHQIYMi44MzIwNiVKmh0CHDEyNjIyNzc3TQlJHRA3LjY0NkIdAhQxMjcwNzIByknEGDIuNTg0NTllK0kdGRJeHQIYFK5H4Qx7CCqoCGgBQAFSPGlubmVyIGpvaW4sIGVxdWFsOltlcShizAUELCA17wQpXVVDADU26AMsOWJ1aWxkX2hhc2hfxSscOnt0b3RhbDoOewhF0hBmZXRjaBkPBTAsOjBzfSGdqwU5Kn4IOqYAAD1KkADZwhQ6ZGVzYyxOxwbJgB2nEo8ITeoFbADqQmwATi4HAUgQbWV0YSxOZQAZiVppAAxiD0NvWbJIT0ZGcPQKeP///////////wEYAQ==')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and not reorg order by processing desc, job_id;"] [2024/05/06 16:36:47.808 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:47.105 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:50.988 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000004d, primary: 6d44423a3100000000fb00000000000000685461626c653a3736ff0000000000000000f7, txnStartTS: 449572925029220352, lockForUpdateTS:0, minCommitTs:0, ttl: 3167, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:50.988 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000004d, primary: 6d44423a3100000000fb00000000000000685461626c653a3736ff0000000000000000f7, txnStartTS: 449572925029220352, lockForUpdateTS:0, minCommitTs:0, ttl: 3167, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:50.989 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000004d, primary: 6d44423a3100000000fb00000000000000685461626c653a3736ff0000000000000000f7, txnStartTS: 449572925029220352, lockForUpdateTS:0, minCommitTs:0, ttl: 3167, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:50.989 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000004d, primary: 6d44423a3100000000fb00000000000000685461626c653a3736ff0000000000000000f7, txnStartTS: 449572925029220352, lockForUpdateTS:0, minCommitTs:0, ttl: 3167, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:50.990 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000004d, primary: 6d44423a3100000000fb00000000000000685461626c653a3736ff0000000000000000f7, txnStartTS: 449572925029220352, lockForUpdateTS:0, minCommitTs:0, ttl: 3167, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:50.991 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000004d, primary: 6d44423a3100000000fb00000000000000685461626c653a3736ff0000000000000000f7, txnStartTS: 449572925029220352, lockForUpdateTS:0, minCommitTs:0, ttl: 3167, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:50.991 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000004d, primary: 6d44423a3100000000fb00000000000000685461626c653a3736ff0000000000000000f7, txnStartTS: 449572925029220352, lockForUpdateTS:0, minCommitTs:0, ttl: 3167, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:50.991 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000004d, primary: 6d44423a3100000000fb00000000000000685461626c653a3736ff0000000000000000f7, txnStartTS: 449572925029220352, lockForUpdateTS:0, minCommitTs:0, ttl: 3167, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:50.993 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000004d, primary: 6d44423a3100000000fb00000000000000685461626c653a3736ff0000000000000000f7, txnStartTS: 449572925029220352, lockForUpdateTS:0, minCommitTs:0, ttl: 3167, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:50.993 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000004d, primary: 6d44423a3100000000fb00000000000000685461626c653a3736ff0000000000000000f7, txnStartTS: 449572925029220352, lockForUpdateTS:0, minCommitTs:0, ttl: 3167, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:50.994 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000004d, primary: 6d44423a3100000000fb00000000000000685461626c653a3736ff0000000000000000f7, txnStartTS: 449572925029220352, lockForUpdateTS:0, minCommitTs:0, ttl: 3167, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:50.999 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572925071687680\n# Query_time: 3.04223861\n# Parse_time: 0\n# Compile_time: 0.014124064\n# Rewrite_time: 0.004214811\n# Optimize_time: 0.007552319\n# Wait_TS: 0.000087362\n# Cop_time: 3.019449367 Process_time: 0.005 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.005 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 177\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000013129\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2gPweTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6My4wMnMsIGxvb3BzOjEsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDUuNDdtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogNW1zLCBycGNfCTYQNzYxLCABDwB0AWUUIDEuODhzBV3weXJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjE3NjAsIHRvdGFsX3RpbWU6NjQzLjNtc30JMTc3IEJ5dGVzCU4vQQoxCTFfNgkxXzAJMQqobGUobXlzcWwudGlkYl9tZGxfaW5mby52ZXJzaW9uLCA1MSkJMAl0aWt2XyUJBHt0AcMMNS4yNwHjAGwlKRQwfQlOL0EBBBwKMgk0M181CQFiLDEwMDAwCXRhYmxlOjJdAHwsIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkb65wAA==')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('wgSYCr0ECg1UYWJsZVJlYWRlcl83EpwCCgtTZWxlY3Rpb25fNhKZAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBpAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6NS4yN21zLCBsb29wczowfXD//////wEEBAF4AQYFAQABBYgsgE8iQSmrqqqqqvapBYgQUiNsZSgFhwAuMoYAOC52ZXJzaW9uLCA1MSlqINpzAAFqDOpz5kAZcyQBQAFSEGRhdGE6PTcIWhN0AcgMMy4wMhXHIDFiwQFjb3BfdAHooCB7bnVtOiAxLCBtYXg6IDUuNDdtcywgcHJvY19rZXlzOiAwLCB0b3RfARIIOiA1AR0McnBjXwk2DDc2MSwFDwVm8EkgMS44OHMsIGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOgGVIF9ycGM6MTc2MAWADGFsX3QBylw2NDMuM21zfXCxAXj///////////8BGAE=')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 51;"] [2024/05/06 16:36:51.006 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572925157670912\n# Query_time: 2.733375672\n# Parse_time: 0\n# Compile_time: 0.032529926\n# Rewrite_time: 0.002981275\n# Optimize_time: 0.026533916\n# Wait_TS: 0.000090519\n# Cop_time: 2.68526117 Process_time: 0.002 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.001 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12631\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zxO4MAkzXzEzCTAJMjI3MC4xNQlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwQ3Byb2Nlc3NpbmcJMAl0aW1lOjIuNjlzLCBsb29wczoxLCBDb25jdXJyZW5jeTo1CTExLjggS0IJTi9BCjEJMTRfMTQJcn4AGWEUOmRlc2MsToUAFGpvYl9pZFaBABwJMCBCeXRlcxEIHAoyCTE3XzI4HfRUaW5uZXIgam9pbiwgZXF1YWw6W2VxKFoKAQRpZAHTIGx1bW4jMTUpXVZ1AJgsIGJ1aWxkX2hhc2hfdGFibGU6e3RvdGFsOjEuMzFtcywgZmV0Y2gVDgUuDDowc30RphEIJAozCTMxXzQxKEIBUAApHbVAZGF0YTpTZWxlY3Rpb25fNDARihg3ODcuMsK1LoMBaGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuNQGMIWM0X2tleXM6IDAsIHRvdF8BEgQ6IAWpDHJwY18RNQEMJeQQIDEuMzkBO5hjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25VARwgMTV9CTE3NS2UGE4vQQo0CTEBvggxXzBuhQIMcmVvckljBGt2CcwAewWKCDEuMgGISW4EMH0BUgEEHAo1CTQ0XzM5BVccNjY2Ni42NwkpiS7cAvA8LCByYW5nZTpbLWluZiw3NyksICg3NywraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCUHwlo0ALDMJNl8yOShQcm9iZSHEODY0MDAJZ3JvdXAgYnk6Q1FOQCwgZnVuY3M6Zmlyc3Ryb3coFRoIKS0+FQwx6D5oA0xwYXJ0aWFsX3dvcmtlcjp7d2FsbCmuODIuNjg4MjIxMzcycywgYz2PCDUsIEEYJeEt+0R3YWl0OjEzLjQzNjExMjM0M3NJExRleGVjOjANDSl7BSUYMjAyNzk4c0lSAWowNzI3OTUxMXMsIHA5NTISABR9LCBmaW5mowAQNDMyNTeBPKKjABQ3NTAxNjgBfkG2BaMYNTQuMjc3wmEAARQZqhg3NTc5ODk2HaoYODI0Mjc4NB2qERJZSEGeADNhXCW0FG5vdChlcTmYHCwgNzcpKSwgARgUaXNudWxsGRwAKSHqBX82qgEICTM4kZNB/xA1CTZfMyHVCDgwMF0VSn4EYZUAZaVrACxOBQUgc2NoZW1hX2lkAeJGqQVF/QkeSWYIbWluFa0AODJhAgAxSrcABDIsemECFDY0OTMxOSFNXr4BADFJSVVhFDI5MzIzNEGTIaklvRg0MDYuNjPCQr0BGDI5ODQ5NTQh6YG5QWcYNjE4Njg3NT29ERJ6ZwIAN0GyADJuZwI+qQAYMzMzNDcyMQF+FaoYMTc1LjY5NkarABgzMzU1NTMwAZkRqxQ3MTIwODQBcnUSDRJZaAA2oegMMzYJMEkIpd4kSGFzaEFnZ18zMV6TAV7ZBQwyLjEzoRdBM4raBQw2NTUsMt0FJWrO3AU0LCBSZXNvbHZlTG9jazrBbiBfcnBjOjE2NTQl/gBhjZMsNjczLjNtc30JMTkx3QwAN2ENADGltf4PA84PA0o3AxZbCH0fADgljD74BQA55SxChgYUOAk0M18zgUQMMAkxMGHhZYc6hAZ6aAZhj5pwAA==')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('pBbwSQqfFgoNUHJvamVjdGlvbl8xMxKJFQoHU29ydF8xNBKTFAoLSGFzaEpvaW5fMjgSowQKDlRhYmxlUmVhZGVyXzQxEq0CCgxTZWxlCUAYNDAStQEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wWzpbLWluZiw3NyksICg3NywraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvah90aWt2X3Rhc2s6e3RpbWU6MS4ybXMsIGxvb3BzOjB9cP//////AQMEAXgBBgUBAAEFoiyAMSdBKTMukVpKvKEFogRSGAWeBC50HZ0ULnJlb3Jn2mcALBoBASEyC9rRtWbrQBlqKAFAAVIRZGF0YTpTPUs8WhZ0aW1lOjc4Ny4ywrVzLA3CGDFijgFjb3AJ4kQge251bTogMSwgbWF4OiAxLjUB60Rwcm9jX2tleXM6IDAsIHRvdF8BEgg6IDEBHQxycGNfETUBDAVlECAxLjM5AR7YY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fXCvAT1KEBK7DgoKQTYgQWdnXzI5Et4KLiICEDMwEuQJGSAQMzUStAU2VQIQMzYSkQMdIhQxEpsBChBFUwxGdWxsSVIANCWwFPDvMEEpAAEBEIjDQDABdlQCAB56OAIIIHRpPjgCADklMQRsb4I5AggoZTENiQRAvw2JPFKUAWdyb3VwIGJ5Om15c3E6RQIhkRxlc3NpbmcsIEofACRzY2hlbWFfaWRzUh8AEHRhYmxlCR4kZnVuY3M6bWluKEpHAERqb2JfaWQpLT5Db2x1bW4jMTji5wAc3t3d3R0+90ApcAnnQbgED2RBuAhIYXMl8AwzMVoTRVEQMi42OXNRswgyYsFiswIMMi4xM0F5IRGKtAIMNjU1LDK3Agw0OHMs0rYCNCwgUmVzb2x2ZUxvY2s6YUggX3JwYzoxNjU0ZTQEYWxpGyQ2NzMuM21zfXC/MjAEIRAMrWz4QD4QAQCE/vcBvvcBNds95wA1VoYBUNQCcGFydGlhbF93b3JrZXI6e3dhbA3nKDIuNjg2NDkzMTk0JVEAbnXjGDUsIHRhc2uFNQAxJRtEX3dhaXQ6MTMuNDI5MzIzNDJzCRcoZXhlYzo0MDYuNjOFsYF6RQ4JKww4NDk1Ja+BrAVwLDE4Njg3NXMsIHA5NTISABR9LCBmaW5iqQAUNzIwMjcyQWEAY5qpABgzMzM0NzIxQS0BlgWqGDE3NS42OTZGqwAYMzM1NTUzMAGZEasUNzEyMDg0AXIRqxESAH1aUQZFIQRI/k0hCAC5QGUvGC5ub3QoZXE1tiA1LCA3NykpLCABGBRpc251bGwZHAQpKU7IAQwxcPwCvXAkGgECIUREREQkYz5sAAQ4Z5GBUSQINSwgiTAcZmlyc3Ryb3cdbJklUj4CCDFizXo+AhQ4MjIxMzdBDF6VAQAwSSdVPhwzNjExMjM0My4/AgAwDQ1VOAQzNiHtADkhujWNFDI3OTUxMV04ERJ6OAIUODQzMjU3IcaiowAUNzUwMTY4AX5VOBQ1NC4yNzdKNwIYNzU3OTg5NqG0BGF4RdAUODI0Mjc4YVJRNxESXjcCGBZPjO5FCwcqiAhoAUABUjxpbm5lciBqb2luLCBlcXVhbDpbZXEoYvMFBCwgNfMEKV1SRQIwYjdidWlsZF9oYXNoX8VQKDp7dG90YWw6MS4zxfgQZmV0Y2gVDgUuLDowc30hROmqfQYoEDqiAAA9SowAodTJ5RA6ZGVzY1LLBsmjUqMAGCFIZOTWlj0+agBOTwcBRhBtZXRhLE5NBxmHUmcADGINQ2+d7jxwnF54////////////ARgB')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (77) order by processing desc, job_id;"] [2024/05/06 16:36:51.007 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 6d446966663a353200fe0000000000000073, primary: 6d44423a3100000000fb00000000000000685461626c653a3736ff0000000000000000f7, txnStartTS: 449572925029220352, lockForUpdateTS:0, minCommitTs:449572925029220353, ttl: 3167, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:36:51.523 +08:00] [ERROR] [mvcc.go:1021] ["commit failed, no correspond lock found"] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6Nzb/AAAAAAAAAAD3] ["start ts"=449572925029220352] [lock="{{0 0 0 0 0 false 0 false 0} [] [] []}"] [error="retryable: lock not found"] [stack="github.com/pingcap/tidb/store/mockstore/unistore/tikv.(*MVCCStore).Commit\n\tstore/mockstore/unistore/tikv/mvcc.go:1021\ngithub.com/pingcap/tidb/store/mockstore/unistore/tikv.(*Server).KvCommit\n\tstore/mockstore/unistore/tikv/server.go:366\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:183\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).sendReqToRegion\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1421\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReqCtx\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1177\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReq\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:234\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionCommit.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:98\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1036\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:969\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:788\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:222\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitTxn\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1701\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1692\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:36:51.524 +08:00] [WARN] [session.go:1025] ["can not retry txn"] [label=internal] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 16:36:51.524 +08:00] [WARN] [session.go:1041] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [2024/05/06 16:36:51.525 +08:00] [INFO] [job_table.go:255] ["[ddl] handle ddl job failed"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:47.105 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:51.527 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=66.374896ms] [2024/05/06 16:36:51.573 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:47.105 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:51.720 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=338.325µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:51.733 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=322.068µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:51.764 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=297.261µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:51.786 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=291.971µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:51.803 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=282.215µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:51.816 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=292.562µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:51.830 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=253.493µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:36:51.890 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=53] ["start time"=4.567788ms] [phyTblIDs="[76]"] [actionTypes="[8]"] [2024/05/06 16:36:51.962 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:51.962 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=77] [version=53] [2024/05/06 16:36:51.963 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=53] ["take time"=124.975908ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:47.105 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:52.031 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:47.105 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:52.089 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=77] [2024/05/06 16:36:52.089 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:52.091 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 5.025386417\n# Parse_time: 0\n# Compile_time: 0.002319538\n# Rewrite_time: 0.000012245\n# Optimize_time: 0\n# Wait_TS: 0.000102989\n# DB: mysql\n# Is_internal: true\n# Digest: b57fdc4b14aba5f29d915d04e5e4557f60a758fd65ec571368527cd45c6ef82a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_table_locked( table_id bigint(64) NOT NULL, modify_count bigint(64) NOT NULL DEFAULT 0, count bigint(64) NOT NULL DEFAULT 0, version bigint(64) UNSIGNED NOT NULL DEFAULT 0, PRIMARY KEY (table_id));"] [2024/05/06 16:36:52.106 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=10.118755ms] [2024/05/06 16:36:52.166 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [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 16:36:52.842 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572926215946240\n# Query_time: 0.574379196\n# Parse_time: 0\n# Compile_time: 0.068839187\n# Rewrite_time: 0.000286435\n# Optimize_time: 0.001844489\n# Wait_TS: 0.0000893\n# Prewrite_time: 0.000817111 Commit_time: 0.000733522 Get_commit_ts_time: 0.000031216 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 10056 Prewrite_region: 1\n# Is_internal: true\n# Digest: 1b73a00c73a03d7dc9dd08a1ea99474b2523e5f72366f740be5156fa244256c4\n# Num_cop_tasks: 0\n# Mem_max: 30995\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('1wLwZTAJMjdfMQkwCTAJTi9BCTAJdGltZToxLjAybXMsIGxvb3BzOjEsIHByZXBhcmU6IDQ1Ny41wrVzLCBpbnNlcnQ6NTU3LjnCtXMsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo4MTcuMQUxFGdldF9jbwkkFHM6MzEuMgUXCRMUOjczMy41BREgc2xvd2VzdF9wDUPQX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwNVxxfcHJpbWFyedZEAA1kCG51bSEEAHcB0BBfa2V5cxkOXGJ5dGU6MTAwNTZ9CTEwLjMgS0IJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('4gLweQrdAgoISW5zZXJ0XzE4AUABUgNOL0FaFHRpbWU6MS4wMm1zLCBsb29wczoxYiJwcmVwYXJlOiA0NTcuNcK1cywgaW5zZXJ0OjU1Ny45wrVzYv8BY29tbWl0X3R4bjoge3ByZXdyaXRlOjgxNy4xwrVzLCBnZXRfY29tBSQUczozMS4yBRcJNxA6NzMzLglaJHNsb3dlc3RfcHIJQ5hfcnBjOiB7dG90YWw6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG8BnwBzAQcQMSwgfSwNVxxfcHJpbWFyedZEAA1kQG51bToxLCB3cml0ZV9rZXlzGQ5oYnl0ZToxMDA1Nn1wk1J4////////////ARgB')\ninsert into mysql.tidb_ddl_job(job_id, reorg, schema_ids, table_ids, job_meta, type, processing) values(79, false, \"1\", \"78\", 0x7b226964223a37392c2274797065223a332c22736368656d615f6964223a312c227461626c655f6964223a37382c22736368656d615f6e616d65223a226d7973716c222c227461626c655f6e616d65223a22746964625f74746c5f7461626c655f737461747573222c227374617465223a382c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b7b226964223a37382c226e616d65223a7b224f223a22746964625f74746c5f7461626c655f737461747573222c224c223a22746964625f74746c5f7461626c655f737461747573227d2c2263686172736574223a22757466386d6234222c22636f6c6c617465223a22757466386d62345f62696e222c22636f6c73223a5b7b226964223a312c226e616d65223a7b224f223a227461626c655f6964222c224c223a227461626c655f6964227d2c226f6666736574223a302c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a382c22466c6167223a343039392c22466c656e223a36342c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a322c226e616d65223a7b224f223a22706172656e745f7461626c655f6964222c224c223a22706172656e745f7461626c655f6964227d2c226f6666736574223a312c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a382c22466c6167223a302c22466c656e223a36342c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a332c226e616d65223a7b224f223a227461626c655f73746174697374696373222c224c223a227461626c655f73746174697374696373227d2c226f6666736574223a322c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235322c22466c6167223a302c22466c656e223a36353533352c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a342c226e616d65223a7b224f223a226c6173745f6a6f625f6964222c224c223a226c6173745f6a6f625f6964227d2c226f6666736574223a332c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a31352c22466c6167223a302c22466c656e223a36342c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c2245(len:20155);"] [2024/05/06 16:36:52.843 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:52.213 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:52.843 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:52.213 +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 16:36:52.863 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=34.220617ms] [2024/05/06 16:36:53.499 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572926387650560\n# Query_time: 0.509623513\n# Parse_time: 0\n# Compile_time: 0.001705387\n# Rewrite_time: 0.003945132\n# Optimize_time: 0.007368934\n# Wait_TS: 0.00008471\n# Prewrite_time: 0.000779513 Commit_time: 0.000608877 Get_commit_ts_time: 0.000023302 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 10056 Prewrite_region: 1\n# Is_internal: true\n# Digest: bb9a0484a27cea37dfc9b79800bc11ddc72f4ac11810a6eb126d600a567ce029\n# Num_cop_tasks: 0\n# Mem_max: 31639\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('owPwTDAJMjhfMwkwCTAJTi9BCTAJdGltZTo0LjU5bXMsIGxvb3BzOjEsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo3NzkuNcK1cywgZ2V0X2NvCSQgczoyMy4zwrVzETcYOjYwOC45wgERIHNsb3dlc3RfcA1D6F9ycGM6IHt0b3RhbDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0b3JlOiBzdG9yZTEsIH0sIGNvbW1pAUUQaW1hcnlGRAAAMIpEAA1kCG51bQHgBdAQX2tleXMZDvBDYnl0ZToxMDA1Nn0JMTAuOSBLQglOL0EKMQkzNl8xCTAJMQl0YWJsZTp0aWRiX2RkbF9qb2IsIGhhbmRsZTo3OQkxCXQhTRA1NzIuNwX+AGwlTygyLCBHZXQ6e251bQW7DDEsIHQhAABfJXtEMTg2LjbCtXN9CU4vQQlOL0EK')\n# Plan_digest: 3fea32741ba131a439f08d925bc0d60ce688c732cc613c6d3625da6592028edc\n# Binary_plan: tidb_decode_binary_plan('1QN4CtADCghVcGRhdGVfMxKUAQoLUG9pbnRfR2V0XzEpAAUB8HXwPzABOAFAAUoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSCWhhbmRsZTo3OVoWdGltZTo1NzIuN8K1cywgbG9vcHM6MmIkR2V0OntudW1fcnBjOjEsIHRvdGFsX3RpbWU6MTg2LjbCtXN9cP///////////wF4CQgI////BXwYUgNOL0FaFAUvHDQuNTltcywgCVt8MWL/AWNvbW1pdF90eG46IHtwcmV3cml0ZTo3NzkuNcIBhQxnZXRfESQUczoyMy4zBRcJExg6NjA4LjnCASgcc2xvd2VzdF8RQxhfcnBjOiB7Bat0OiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6CQcQMSwgfSwNVxxfcHJpbWFyeUZEAAAwikQADWQYbnVtOjEsIAXQEF9rZXlzGQ5oYnl0ZToxMDA1Nn1wl1d4////////////ARgB')\nupdate mysql.tidb_ddl_job set processing = 1 where job_id = 79;"] [2024/05/06 16:36:53.501 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 63, tp general"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:52.213 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:53.849 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=5.492377ms] [phyTblIDs="[78]"] [actionTypes="[8]"] [2024/05/06 16:36:53.912 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:53.912 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=79] [version=54] [2024/05/06 16:36:53.912 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=54] ["take time"=72.10583ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:52.213 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:53.988 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 63, tp general"] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:52.213 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:54.199 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=79] [2024/05/06 16:36:54.200 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:54.202 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 2.045804844\n# Parse_time: 0\n# Compile_time: 0.010461085\n# Rewrite_time: 0.000012362\n# Optimize_time: 0\n# Wait_TS: 0.000089835\n# DB: mysql\n# Is_internal: true\n# Digest: a30bd3c3a49070c554e65922e84c6b76e646842e3925a859fcde73941a7cb423\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status ( table_id bigint(64) PRIMARY KEY, parent_table_id bigint(64), table_statistics text DEFAULT NULL, last_job_id varchar(64) DEFAULT NULL, last_job_start_time timestamp NULL DEFAULT NULL, last_job_finish_time timestamp NULL DEFAULT NULL, last_job_ttl_expire timestamp NULL DEFAULT NULL, last_job_summary text DEFAULT NULL, current_job_id varchar(64) DEFAULT NULL, current_job_owner_id varchar(64) DEFAULT NULL, current_job_owner_addr varchar(256) DEFAULT NULL, current_job_owner_hb_time timestamp, current_job_start_time timestamp NULL DEFAULT NULL, current_job_ttl_expire timestamp NULL DEFAULT NULL, current_job_state text DEFAULT NULL, current_job_status varchar(64) DEFAULT NULL, current_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 16:36:54.501 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=10.104596ms] [2024/05/06 16:36:55.486 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572926711136256\n# Query_time: 0.81321484\n# Parse_time: 0\n# Compile_time: 0.473486279\n# Rewrite_time: 0.040438737\n# Optimize_time: 0\n# Wait_TS: 0.000084558\n# DB: mysql\n# Is_internal: true\n# Digest: ca2019e08a331284bd0c64be228a0537fcf9f5983e95d94b67ef42dcb8f54385\n# Num_cop_tasks: 0\n# Mem_max: 348497\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: true\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('pAPwPDAJMjdfMQkwCTAJTi9BCTAJdGltZTozMjUuNG1zLCBsb29wczoxLCBwcmVwYXJlOiB7dG90YWw6IDk4LjMBIkxhdXRvX2lkX2FsbG9jYXRvcjogewUMZF9jbnQ6IDEsIEdldDp7bnVtX3JwYzo0LCB0AUEAXwVouDUxMS45wrVzfSwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjU4OS40wrVzLCBnZXRfESQYczoyNC4ywgEXCRMUOjQ5NS42BREcc2xvd2VzdF8RQwV2BCB7BXVoOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvAdsFBwgxLCAZjhhwcmltYXJ5RkQAADCKRAANZBhudW06MSwgBdAMX2tleSVPCQ4IYnl0IWx8fX19LCBpbnNlcnQ6MjI3LjFtcwk5Mi4zIEtCCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('sAPwgQqrAwoISW5zZXJ0XzE4AUABUgNOL0FaFXRpbWU6MzI1LjRtcywgbG9vcHM6MWLvAnByZXBhcmU6IHt0b3RhbDogOTguM21zLCBhdXRvX2lkX2FsbG9jYXRvcjoge2FsbG9jX2NudDogMSwgR2V0OntudW1fcnBjOjQsIHRvdGFsX3QBabg1MTEuOcK1c30sIGNvbW1pdF90eG46IHtwcmV3cml0ZTo1ODkuNMK1cywgZ2V0XxEkGHM6MjQuMsIBFwkTFDo0OTUuNgURHHNsb3dlc3RfEUMMX3JwYxm2YDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG8B2wUHCDEsIBmOGHByaW1hcnlGRAAAMIpEAA1kGG51bToxLCAF0BBfa2V5cxkOCGJ5dCFtjH19fSwgaW5zZXJ0OjIyNy4xbXNw0eIFeP///////////wEYAQ==')\nINSERT HIGH_PRIORITY INTO mysql.GLOBAL_VARIABLES VALUES (\"show_compatibility_56\", \"\"), (\"tidb_index_serial_scan_concurrency\", \"1\"), (\"tidb_hash_join_concurrency\", \"-1\"), (\"tiflash_fine_grained_shuffle_batch_size\", \"8192\"), (\"tidb_skip_ascii_check\", \"OFF\"), (\"profiling\", \"OFF\"), (\"tidb_gogc_tuner_threshold\", \"0.6\"), (\"query_cache_limit\", \"1048576\"), (\"ndbinfo_show_hidden\", \"\"), (\"tidb_opt_memory_factor\", \"0.001\"), (\"tidb_server_memory_limit_sess_min_size\", \"134217728\"), (\"tidb_enable_strict_double_type_check\", \"ON\"), (\"log_syslog_tag\", \"\"), (\"default_tmp_storage_engine\", \"InnoDB\"), (\"sql_slave_skip_counter\", \"0\"), (\"innodb_disable_sort_file_cache\", \"0\"), (\"thread_cache_size\", \"9\"), (\"innodb_stats_auto_recalc\", \"1\"), (\"validate_password.enable\", \"OFF\"), (\"tidb_ddl_flashback_concurrency\", \"64\"), (\"tidb_enable_column_tracking\", \"OFF\"), (\"tidb_auto_analyze_partition_batch_size\", \"1\"), (\"tidb_mem_quota_query\", \"1073741824\"), (\"innodb_strict_mode\", \"ON\"), (\"binlog_max_flush_queue_time\", \"0\"), (\"optimizer_trace_features\", \"greedy_search=on,range_optimizer=on,dynamic_range=on,repeated_subselect=on\"), (\"tidb_ddl_disk_quota\", \"107374182400\"), (\"tidb_enable_rate_limit_action\", \"OFF\"), (\"tidb_ttl_delete_worker_count\", \"4\"), (\"sync_binlog\", \"0\"), (\"tidb_multi_statement_mode\", \"OFF\"), (\"tidb_opt_prefer_range_scan\", \"OFF\"), (\"query_cache_wlock_invalidate\", \"OFF\"), (\"tidb_enable_1pc\", \"OFF\"), (\"tidb_persist_analyze_options\", \"ON\"), (\"super_read_only\", \"OFF\"), (\"tidb_enable_noop_functions\", \"OFF\"), (\"tidb_opt_tiflash_concurrency_factor\", \"24\"), (\"tidb_max_tiflash_threads\", \"-1\"), (\"innodb_buffer_pool_dump_at_shutdown\", \"0\"), (\"lock_wait_timeout\", \"31536000\"), (\"validate_password.dictionary\", \"\"), (\"ndb_index_stat_option\", \"\"), (\"read_rnd_buffer_size\", \"262144\"), (\"offline_mode\", \"OFF\"), (\"tidb_enable_outer_join_reorder\", \"ON\"), (\"tidb_opt_disk_factor\", \"1.5\"), (\"transaction_write_set_extraction\", \"\"), (\"innodb_log_compressed_pages\", \"1\"), (\"innodb_rollback_segments\", \"128\"), (\"rpl_stop_slave_timeout\", \"31536000\"), (\"block_encryption_mode\", \"aes-128-ecb\"), (\"innodb_max_dirty_pages_pct\", \"75\"), (\"updatable_views_with_limit\", \"YES\"), (\"tidb_memory_usage_alarm_keep_record_num\", \"5\"), (\"log_bin_trust_function_creators\", \"OFF\"), (\"tidb_default_string_match_selectivity\", \"0.8\"), (\"innodb_flush_neighbors\", \"1\"), (\"automatic_sp_privileges\", \"1\"), (\"max_binlog_cache_size\", \"18446744073709547520\"), (\"binlog_format\", \"STATEMENT\"), (\"tidb_sysdate_is_now\", \"OFF\"), (\"tidb_ttl_scan_worker_count\", \"4\"), (\"information_schema_stats_expiry\", \"86400\"), (\"tidb_enable_list_partition\", \"ON\"), (\"tidb_index_lookup_concurrency\", \"-1\"), (\"tidb_batch_pending_tiflash_count\", \"4000\"), (\"query_prealloc_size\", \"8192\"), (\"tidb_opt_join_reorder_threshold\", \"0\"), (\"preload_buffer_size\", \"32768\"), (\"debug\", \"\"), (\"long_query_time\", \"10.000000\"), (\"tidb_mem_oom_action\", \"LOG\"), (\"tidb_opt_broadcast_cartesian_join\", \"1\"), (\"ndb_show_foreign_key_mock_tables\", \"\"), (\"tidb_opt_advanced_join_hint\", \"OFF\"), (\"ndb_optimization_delay\", \"\"), (\"tidb_broadcast_join_threshold_size\", \"104857600\"), (\"tidb_enable_new_only_full_group_by_check\", \"OFF\"), (\"master_info_repository\", \"FILE\"), (\"tidb_txn_commit_batch_size\", \"16384\"), (\"binlog_cache_size\", \"32768\"), (\"tidb_gc_scan_lock_mode\", \"LEGACY\"), (\"lc_messages\", \"en_US\"), (\"collation_database\", \"utf8mb4_bin\"), (\"tidb_opt_range_max_size\", \"67108864\"), (\"innodb_status_output\", \"OFF\"), (\"internal_tmp_disk_storage_engine\", \"\"), (\"tidb_enable_telemetry\", \"OFF\"), (\"init_slave\", \"\"), (\"end_markers_in_json\", \"OFF\"), (\"tidb_enable_concurrent_ddl\", \"ON\"), (\"unique_checks\", \"ON\"), (\"log_queries_not_using_indexes\", \"OFF\"), (\"innodb_change_buffer_max_size\", \"25\"), (\"innodb_adaptive_hash_index\", \"ON\"), (\"sql_buffer_result\", \"OFF\"), (\"tidb_opt_mpp_outer_join_fixed_build_side\", \"OFF\"), (\"general_log\", \"OFF\"), (\"innodb_flush_log_at_timeout\", \"1\"), (\"read_buffer_size\", \"131072\"), (\"ndb_distribution\", \"\"), (\"tidb_opt_correlation_threshold\", \"0.9\"), (\"tidb_distsql_scan_concurrency\", \"15\"), (\"myisam_repair_threads\", \"1\"), (\"tidb_enable_metadata_lock\", \"ON\"), (\"i(len:21519);"] [2024/05/06 16:36:55.943 +08:00] [INFO] [bootstrap.go:529] ["bootstrap successful"] ["take time"=2m4.680933522s] [2024/05/06 16:36:55.953 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:36:55.953 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 64, tp add index"] ["take time"=22.367µs] [2024/05/06 16:36:55.953 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 65, tp add index"] ["take time"=15.659µs] [2024/05/06 16:36:55.953 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 66, tp add index"] ["take time"=20.7µs] [2024/05/06 16:36:55.953 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 67, tp add index"] ["take time"=16.602µs] [2024/05/06 16:36:55.953 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 68, tp add index"] ["take time"=25.924µs] [2024/05/06 16:36:55.953 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 69, tp add index"] ["take time"=16.756µs] [2024/05/06 16:36:55.954 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 70, tp add index"] ["take time"=15.36µs] [2024/05/06 16:36:55.954 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 71, tp add index"] ["take time"=17.076µs] [2024/05/06 16:36:55.954 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 72, tp add index"] ["take time"=34.211µs] [2024/05/06 16:36:55.954 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 73, tp add index"] ["take time"=26.057µs] [2024/05/06 16:36:55.954 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:36:55.954 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 63, tp general"] ["take time"=23.66µs] [2024/05/06 16:36:55.954 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 61, tp general"] ["take time"=2.988µs] [2024/05/06 16:36:55.954 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 62, tp add index"] ["take time"=2.917µs] [2024/05/06 16:36:55.955 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:36:55.955 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:36:55.983 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=5e2d78fd-83db-4236-bd9f-125c04ff4df5] ["take time"=30.754693ms] [2024/05/06 16:36:55.984 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=5e2d78fd-83db-4236-bd9f-125c04ff4df5] [2024/05/06 16:36:55.997 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:36:55.997 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:36:55.998 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:36:55.998 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:36:55.999 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:36:56.034 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:36:56.034 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=81.728488ms] [2024/05/06 16:36:56.034 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=b0c76709-8f87-49a5-9702-095b6d6e789a] ["ddl lease"=20ms] ["stats lease"=3s] ["index usage sync lease"=0s] [2024/05/06 16:36:56.223 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=54] ["start time"=186.707976ms] [2024/05/06 16:36:56.229 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:36:56.229 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=194.188825ms] [2024/05/06 16:36:56.230 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=804bd9c9-05c9-441a-8aaf-569a4bef4256] [runWorker=true] [2024/05/06 16:36:56.232 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:36:56.232 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:36:56.233 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 74, tp general"] [2024/05/06 16:36:56.234 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 75, tp add index"] [2024/05/06 16:36:56.244 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:36:56.245 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:36:56.245 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:36:56.246 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:36:56.299 +08:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 16:36:56.790 +08:00] [INFO] [domain.go:1944] ["init stats info time"] ["take time"=122.87338ms] [2024/05/06 16:36:57.229 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572927365709824\n# Conn_ID: 5\n# Query_time: 0.521697993\n# Parse_time: 0.001043208\n# Compile_time: 0.013829108\n# Rewrite_time: 0\n# Optimize_time: 0\n# Wait_TS: 0.000086073\n# Prewrite_time: 0.000494373 Commit_time: 0.00077758 Get_commit_ts_time: 0.00002712 Slowest_prewrite_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.000s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 88 Prewrite_region: 1\n# Index_names: [tidb:PRIMARY]\n# Is_internal: false\n# Digest: 03cfdb54af8fa489f6720a515bd5a7f7a1a9b2a7410e045497c1df79b055a522\n# Num_cop_tasks: 0\n# Mem_max: 8788\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('rQPwTDAJMjhfMwkwCTAJTi9BCTAJdGltZToxLjc2bXMsIGxvb3BzOjEsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo0OTQuNMK1cywgZ2V0X2NvCSQgczoyNy4xwrVzETcUOjc3Ny42BREgc2xvd2VzdF9wDUPoX3JwYzoge3RvdGFsOiAwLjAwMHMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwgY29tbWkBRRBpbWFyeUZEAAAxikQADWQIbnVtAeAF0BBfa2V5cxkO8ElieXRlOjg4fQk1OTYgQnl0ZXMJTi9BCjEJMzZfMQkwCTEJdGFibGU6dGlkYiwgaW5kZXg6UFJJTUFSWShWQVJJQUJMRV9OQU1FKQErIVcQODAzLjglCClZODIsIEdldDp7bnVtX3JwYwEQAHQhCgBfBS5EMjczLjjCtXN9CU4vQQlOL0EK')\n# Plan_digest: 7cee07289863e5f61e4232bca41716bc770459d034fbfc8d76dbf75f905ed96b\n# Binary_plan: tidb_decode_binary_plan('2QN4CtQDCghVcGRhdGVfMxKbAQoLUG9pbnRfR2V0XzEpAAUB8HXwPzABOAFAAUopCicKBW15c3FsEgR0aWRiGhgKB1BSSU1BUlkSDVZBUklBQkxFX05BTUVaFnRpbWU6ODAzLjjCtXMsIGxvb3BzOjJiJEdldDp7bnVtX3JwYzoyLCB0b3RhbF90aW1lOjI3My44wrVzfXD/////BQQEAXgFBwEBAAEBgxhSA04vQVoUBV0QMS43Nm0VW3gxYvwBY29tbWl0X3R4bjoge3ByZXdyaXRlOjQ5NC40BYUMZ2V0XxEkFHM6MjcuMQUXCRMUOjc3Ny42BREcc2xvd2VzdF8RQ9BfcnBjOiB7dG90YWw6IDAuMDAwcywgcmVnaW9uX2lkOiAyLCBzdG9yZTogc3RvcmUxLCB9LA1XHF9wcmltYXJ5RkQAADGKRAANZBhudW06MSwgBdAQX2tleXMZDlxieXRlOjg4fXDUBHj///////////8BGAE=')\nupdate mysql.tidb set variable_value='72' where variable_name='tidb_server_version';"] [2024/05/06 16:36:57.748 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572927500976128\n# Query_time: 0.513235958\n# Parse_time: 0\n# Compile_time: 0.003892498\n# Rewrite_time: 0.000197648\n# Optimize_time: 0.015288288\n# Wait_TS: 0.000082587\n# Prewrite_time: 0.000749367 Commit_time: 0.00083879 Get_commit_ts_time: 0.000020216 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 3 Write_size: 197 Prewrite_region: 1\n# Is_internal: true\n# Digest: cb6af12c22ca5758a736700304e955eb250c87cb37872bcbe6823be2202420e6\n# Num_cop_tasks: 0\n# Mem_max: 8569\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000024631\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('wAXoMAkyN18xCTAJMAlOL0EJMAl0aW1lOjUuNDZtcywgbG9vcHM6MSwgYXV0b19pZF9hbGxvY2F0b3I6IHsFDHhfY250OiAxLCBHZXQ6e251bV9ycGM6NCwgdG90YWxfBU64NDIxLjXCtXN9LCBjb21taXRfdHhuOiB7cHJld3JpdGU6NDYwLjbCtXMsIGdldF8RJBhzOjI0LjjCARcJEww6NTA4DREcc2xvd2VzdF8RQwV2BCB7BXV0OiAwLjAwMHMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6CQcIMSwgGY4YcHJpbWFyedZEAA1kCG51bSEoBdAQX2tleXMZDmRieXRlOjMyfX0sIHByZWZldGNoOiA2ODQuMwXcITAYIHtCYXRjaDJEAQAyMkQBEDMzMC4xIUQZtzpFARA3NDkuNAVSOkUBCDAuMgUXLUUEODOmRQEAMe5FAS1FjkQAYkUBBDMsLVMlRUgxOTd9CTM3NyBCeXRlcwlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('ygXwyQrFBQoISW5zZXJ0XzE4AUABUgNOL0FaFHRpbWU6NS40Nm1zLCBsb29wczoxYosDYXV0b19pZF9hbGxvY2F0b3I6IHthbGxvY19jbnQ6IDEsIEdldDp7bnVtX3JwYzo0LCB0b3RhbF90aW1lOjQyMS41wrVzfSwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjQ2MC42wrVzLCBnZXRfY29tbWl0X3RzOjI0LjjCtXMsIGNvbW1pdDo1MDguOMK1cywgc2xvd2VzdF9wcmUFQwV2CCB7dAF1dDogMC4wMDBzLCByZWdpb25faWQ6IDIsIHN0b3JlOgkHEDEsIH0sEY4YcHJpbWFyedZEAA1kGG51bToxLCAJjQxrZXlzGQ5sYnl0ZTozMn19LCBwcmVmZXRjaDogNjg0LjPCtQGlLHBjOiB7QmF0Y2hHZT1EADIyRAEwMzMwLjHCtXN9fWL9ATEiCHhuOj1GEDc0OS40BVMMZ2V0XxEkFHM6MjAuMgUXCRMIOjgzpkYBADEBofpGAY5EAA1kRkYBADMxVCVGTDE5N31w+QJ4////////////ARgB')\nREPLACE INTO `mysql`.`GLOBAL_VARIABLES` (variable_name, variable_value) VALUES ('tidb_stmt_summary_max_stmt_count', '3001');"] [2024/05/06 16:36:57.869 +08:00] [INFO] [set.go:160] ["set global var"] [conn=5] [name=tidb_stmt_summary_max_stmt_count] [val=3001] [2024/05/06 16:36:57.869 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Conn_ID: 5\n# Query_time: 0.639591168\n# Parse_time: 0.000523072\n# Compile_time: 0.001774262\n# Rewrite_time: 0.000129992\n# Optimize_time: 0\n# Wait_TS: 0.000086073\n# Is_internal: false\n# Digest: aa4577d1b8ebff30b3580a3a439824a9e60a787454ebb8538d794c598451b929\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nset @@global.tidb_stmt_summary_max_stmt_count = 3001;"] [2024/05/06 16:36:57.875 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:36:57.875 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 77, tp add index"] ["take time"=9.846µs] [2024/05/06 16:36:57.876 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:36:57.876 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 76, tp general"] ["take time"=5.801µs] [2024/05/06 16:36:57.876 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 74, tp general"] ["take time"=2.431µs] [2024/05/06 16:36:57.876 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 75, tp add index"] ["take time"=2.321µs] [2024/05/06 16:36:57.876 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:36:57.876 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:36:57.876 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=804bd9c9-05c9-441a-8aaf-569a4bef4256] ["take time"=1.171537ms] [2024/05/06 16:36:57.877 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=804bd9c9-05c9-441a-8aaf-569a4bef4256] [2024/05/06 16:36:57.877 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:36:57.877 +08:00] [INFO] [domain.go:1959] ["loadStatsWorker exited."] [2024/05/06 16:36:57.879 +08:00] [INFO] [domain.go:2038] ["updateStatsWorker exited."] [2024/05/06 16:36:57.879 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:36:57.879 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:36:57.879 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:36:57.879 +08:00] [INFO] [domain.go:2124] ["gcAnalyzeHistory exited."] [2024/05/06 16:36:57.879 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:36:57.879 +08:00] [INFO] [domain.go:2103] ["autoAnalyzeWorker exited."] [2024/05/06 16:36:57.882 +08:00] [INFO] [domain.go:1569] ["handleEvolvePlanTasksLoop exited."] [2024/05/06 16:36:57.882 +08:00] [INFO] [domain.go:1748] ["dumpFileGcChecker exited."] [2024/05/06 16:36:57.882 +08:00] [INFO] [domain.go:1779] ["HistoricalStatsWorker exited."] [2024/05/06 16:36:57.882 +08:00] [INFO] [domain.go:1721] ["PlanReplayerTaskDumpHandle exited."] [2024/05/06 16:36:57.882 +08:00] [INFO] [domain.go:1703] ["PlanReplayerTaskCollectHandle exited."] [2024/05/06 16:36:57.882 +08:00] [INFO] [domain.go:1394] ["loadPrivilegeInLoop exited."] [2024/05/06 16:36:57.882 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:36:57.883 +08:00] [INFO] [domain.go:1444] ["LoadSysVarCacheLoop exited."] [2024/05/06 16:36:57.883 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:36:57.883 +08:00] [INFO] [domain.go:1525] ["globalBindHandleWorkerLoop exited."] [2024/05/06 16:36:57.883 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:36:57.883 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:36:57.877 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:36:57.923 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=47.351284ms] [2024/05/06 16:36:57.924 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=b0c76709-8f87-49a5-9702-095b6d6e789a] ["ddl lease"=20ms] ["stats lease"=3s] ["index usage sync lease"=0s] [2024/05/06 16:36:57.922 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:36:58.069 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=54] ["start time"=144.049788ms] [2024/05/06 16:36:58.075 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:36:58.075 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=150.65642ms] [2024/05/06 16:36:58.075 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=6d0b3335-df97-46ca-9dc3-68480ebcb14b] [runWorker=true] [2024/05/06 16:36:58.076 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:36:58.077 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:36:58.077 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 78, tp general"] [2024/05/06 16:36:58.078 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 79, tp add index"] [2024/05/06 16:36:58.080 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:36:58.080 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:36:58.080 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:36:58.081 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:36:58.086 +08:00] [INFO] [bootstrap.go:995] ["Waiting for the DDL owner to be elected in the cluster"] [2024/05/06 16:36:58.194 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=] [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 16:36:58.222 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=] [sql="ALTER TABLE mysql.user MODIFY COLUMN Host CHAR(255)"] [user=] [2024/05/06 16:36:58.263 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:80, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:5, start time: 2024-05-06 16:36:58.234 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.user MODIFY COLUMN Host CHAR(255)"] [2024/05/06 16:36:58.264 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:80, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:5, start time: 2024-05-06 16:36:58.234 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:36:58.489 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=17.111871ms] [2024/05/06 16:36:59.231 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 80, tp general"] [job="ID:80, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:58.234 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:36:59.655 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572928128286720] ["min commit ts"=449572928130121729] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6NAD+] [2024/05/06 16:36:59.656 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572928023691264] [info="{StartTs:449572928023691264 AttemptedCommitTs:449572928128286720 Key:6d44423a3100000000fb00000000000000685461626c653a3400fe MinCommitTs:449572928130121729}"] [2024/05/06 16:36:59.685 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=10.855855ms] [phyTblIDs="[4]"] [actionTypes="[4096]"] [2024/05/06 16:36:59.685 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=11.967741ms] [2024/05/06 16:36:59.731 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:59.731 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=80] [version=55] [2024/05/06 16:36:59.731 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=55] ["take time"=60.263122ms] [job="ID:80, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:58.234 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:36:59.828 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=80] [jobType="modify column"] [2024/05/06 16:36:59.834 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 80, tp general"] [job="ID:80, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:58.234 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:00.081 +08:00] [INFO] [info.go:1114] [SetTiFlashGroupConfig] [2024/05/06 16:37:00.305 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=80] [2024/05/06 16:37:00.305 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:00.307 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 2.085788551\n# Parse_time: 0\n# Compile_time: 0.001653343\n# Rewrite_time: 0.000017435\n# Optimize_time: 0\n# Wait_TS: 0.000078829\n# Is_internal: true\n# Digest: 3f37c020cccf830b235092d0307417f140e2b7ec6ce7fe342443460ccf02a37a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.user MODIFY COLUMN Host CHAR(255);"] [2024/05/06 16:37:00.310 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=55] [cur_db=] [sql="ALTER TABLE mysql.global_priv MODIFY COLUMN Host CHAR(255)"] [user=] [2024/05/06 16:37:00.367 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:81, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:5, start time: 2024-05-06 16:37:00.32 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:37:00.367 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:81, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:5, start time: 2024-05-06 16:37:00.32 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.global_priv MODIFY COLUMN Host CHAR(255)"] [2024/05/06 16:37:00.436 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 80, tp general"] [job="ID:81, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:00.32 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:00.522 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=2.145611ms] [phyTblIDs="[8]"] [actionTypes="[4096]"] [2024/05/06 16:37:00.582 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:00.582 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=81] [version=56] [2024/05/06 16:37:00.584 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=56] ["take time"=90.888785ms] [job="ID:81, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:00.32 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:00.656 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=81] [jobType="modify column"] [2024/05/06 16:37:00.662 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 80, tp general"] [job="ID:81, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:00.32 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:00.774 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=81] [2024/05/06 16:37:00.774 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:00.776 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.467215702\n# Parse_time: 0\n# Compile_time: 0.001195812\n# Rewrite_time: 0.000015103\n# Optimize_time: 0\n# Wait_TS: 0.000078712\n# Is_internal: true\n# Digest: 9875b36acdf88b4474057c6877f5d97327a5f07d123c3383c9bbe478a2fc5af5\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.global_priv MODIFY COLUMN Host CHAR(255);"] [2024/05/06 16:37:00.779 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=56] [cur_db=] [sql="ALTER TABLE mysql.db MODIFY COLUMN Host CHAR(255)"] [user=] [2024/05/06 16:37:00.816 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:82, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:5, start time: 2024-05-06 16:37:00.796 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:37:00.816 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:82, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:5, start time: 2024-05-06 16:37:00.796 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.db MODIFY COLUMN Host CHAR(255)"] [2024/05/06 16:37:00.943 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 80, tp general"] [job="ID:82, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:00.796 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:01.137 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=6.875427ms] [phyTblIDs="[10]"] [actionTypes="[4096]"] [2024/05/06 16:37:01.182 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:01.182 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=82] [version=57] [2024/05/06 16:37:01.184 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=57] ["take time"=56.970449ms] [job="ID:82, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:00.796 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:01.236 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=82] [jobType="modify column"] [2024/05/06 16:37:01.241 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 80, tp general"] [job="ID:82, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:00.796 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:01.446 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=82] [2024/05/06 16:37:01.446 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:01.448 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.670443885\n# Parse_time: 0\n# Compile_time: 0.001340198\n# Rewrite_time: 0.000016704\n# Optimize_time: 0\n# Wait_TS: 0.000072025\n# Is_internal: true\n# Digest: 9f9aa26bbaf129c11e3e7cff602c4ee83e66f5af093b1dfdf0738b491284920f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.db MODIFY COLUMN Host CHAR(255);"] [2024/05/06 16:37:01.452 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=57] [cur_db=] [sql="ALTER TABLE mysql.tables_priv MODIFY COLUMN Host CHAR(255)"] [user=] [2024/05/06 16:37:01.518 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:83, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:5, start time: 2024-05-06 16:37:01.489 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:37:01.519 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:83, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:5, start time: 2024-05-06 16:37:01.489 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.tables_priv MODIFY COLUMN Host CHAR(255)"] [2024/05/06 16:37:01.607 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 80, tp general"] [job="ID:83, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:01.489 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:01.728 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=5.647808ms] [phyTblIDs="[12]"] [actionTypes="[4096]"] [2024/05/06 16:37:01.781 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:01.781 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=83] [version=58] [2024/05/06 16:37:01.781 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=58] ["take time"=64.308082ms] [job="ID:83, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:01.489 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:01.848 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=83] [jobType="modify column"] [2024/05/06 16:37:01.866 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 80, tp general"] [job="ID:83, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:01.489 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:02.106 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=83] [2024/05/06 16:37:02.106 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:02.109 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.657876849\n# Parse_time: 0\n# Compile_time: 0.001163864\n# Rewrite_time: 0.000015793\n# Optimize_time: 0\n# Wait_TS: 0.000091003\n# Is_internal: true\n# Digest: fad5ee47628bd60f7066a2c4665e339b9295edffb82c41a3e064af0365d7c3e8\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.tables_priv MODIFY COLUMN Host CHAR(255);"] [2024/05/06 16:37:02.112 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=58] [cur_db=] [sql="ALTER TABLE mysql.columns_priv MODIFY COLUMN Host CHAR(255)"] [user=] [2024/05/06 16:37:02.149 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:84, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:5, start time: 2024-05-06 16:37:02.127 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:37:02.149 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:84, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:5, start time: 2024-05-06 16:37:02.127 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.columns_priv MODIFY COLUMN Host CHAR(255)"] [2024/05/06 16:37:02.295 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 80, tp general"] [job="ID:84, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:02.127 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:02.917 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572928858882048] ["min commit ts"=449572928861503489] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6MTT/AAAAAAAAAAD3] [2024/05/06 16:37:02.918 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572928826900480] [info="{StartTs:449572928826900480 AttemptedCommitTs:449572928858882048 Key:6d44423a3100000000fb00000000000000685461626c653a3134ff0000000000000000f7 MinCommitTs:449572928861503489}"] [2024/05/06 16:37:02.922 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572928861503488\n# Query_time: 0.498690517\n# Parse_time: 0\n# Compile_time: 0.004949798\n# Rewrite_time: 0.000838427\n# Optimize_time: 0.00183695\n# Wait_TS: 0.000089869\n# Cop_time: 0.491552437 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 171\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000012789\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zQPwbTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6NDkxLjltcywgbG9vcHM6MSwgY29wX3Rhc2s6IHtudW06IDEsIG1heDogMS4xMW1zLCBwcm9jX2tleXM6IDAsIHJwY19uASckMzc1LCBycGNfdAFXHCAyODkuNG1zBU/weXJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjM3NCwgdG90YWxfdGltZToxMDYuMW1zfQkxNzEgQnl0ZXMJTi9BCjEJMV82CTFfMAkzDf2obGUobXlzcWwudGlkYl9tZGxfaW5mby52ZXJzaW9uLCA1OCkJMAl0aWt2XwX6BHt0AcQQOTUzwrU1GgQwfQFdAQRcCjIJNDNfNQkxXzAJMTAwMDAJdGFibGU6Ml0AfCwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvrnAA')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('tQSYCrAECg1UYWJsZVJlYWRlcl83EpwCCgtTZWxlY3Rpb25fNhKZAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBpAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6OTUzwrVzLCBsb29wczowfXD//////wEEBAF4AQYFAQABBYgsgE8iQSmrqqqqqvapBYgQUiNsZSgFhwAuMoYAOC52ZXJzaW9uLCA1OClqINpzAAFqDOpz5kAZcyQBQAFSEGRhdGE6PTcIWhV0AcgUNDkxLjltFckgMWKyAWNvcF90AepIIHtudW06IDEsIG1heDogMS4xMQEqRHByb2Nfa2V5czogMCwgcnBjXwUnCDM3NQkOBVgUIDI4OS40AS/wcmNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjM3NCwgdG90YWxfdGltZToxMDYuMW1zfXCrAXj///////////8BGAE=')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 58;"] [2024/05/06 16:37:02.928 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=3.17165ms] [phyTblIDs="[14]"] [actionTypes="[4096]"] [2024/05/06 16:37:02.984 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:02.984 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=84] [version=59] [2024/05/06 16:37:02.985 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=59] ["take time"=66.470071ms] [job="ID:84, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:02.127 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:03.031 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=84] [jobType="modify column"] [2024/05/06 16:37:03.042 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 80, tp general"] [job="ID:84, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:02.127 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:03.168 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=84] [2024/05/06 16:37:03.168 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:03.170 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.058945221\n# Parse_time: 0\n# Compile_time: 0.001205507\n# Rewrite_time: 0.000016212\n# Optimize_time: 0\n# Wait_TS: 0.000079134\n# Is_internal: true\n# Digest: 9c2066d29bd8561d31038360c5d4a41a39b61143307c144557699cc8e8bd5fbc\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.columns_priv MODIFY COLUMN Host CHAR(255);"] [2024/05/06 16:37:03.173 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=59] [cur_db=] [sql="ALTER TABLE mysql.columns_priv MODIFY COLUMN Column_priv SET('Select','Insert','Update','References')"] [user=] [2024/05/06 16:37:03.207 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:85, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:5, start time: 2024-05-06 16:37:03.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.columns_priv MODIFY COLUMN Column_priv SET('Select','Insert','Update','References')"] [2024/05/06 16:37:03.207 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:85, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:5, start time: 2024-05-06 16:37:03.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:37:03.284 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 80, tp general"] [job="ID:85, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:03.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:03.478 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=16.263393ms] [phyTblIDs="[14]"] [actionTypes="[4096]"] [2024/05/06 16:37:03.479 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=21.988081ms] [2024/05/06 16:37:03.531 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:03.531 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=60] [2024/05/06 16:37:03.534 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=60] ["take time"=104.623514ms] [job="ID:85, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:03.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:03.597 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=85] [jobType="modify column"] [2024/05/06 16:37:03.602 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 80, tp general"] [job="ID:85, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:03.184 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:03.799 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=85] [2024/05/06 16:37:03.800 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:03.801 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.629931912\n# Parse_time: 0\n# Compile_time: 0.001461882\n# Rewrite_time: 0.000017764\n# Optimize_time: 0\n# Wait_TS: 0.000079863\n# Is_internal: true\n# Digest: 1a3d990987abecfdebaae89ece4893655ba5d1417ec215b622bc68c40815dd37\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.columns_priv MODIFY COLUMN Column_priv SET('Select','Insert','Update','References');"] [2024/05/06 16:37:03.807 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=60] [cur_db=] [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 16:37:03.813 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=60] [cur_db=] [sql="ALTER TABLE mysql.stats_buckets MODIFY upper_bound LONGBLOB NOT NULL"] [user=] [2024/05/06 16:37:03.860 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:86, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:5, start time: 2024-05-06 16:37:03.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:37:03.860 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:86, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:5, start time: 2024-05-06 16:37:03.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.stats_buckets MODIFY upper_bound LONGBLOB NOT NULL"] [2024/05/06 16:37:04.433 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572929254719488\n# Query_time: 0.506805118\n# Parse_time: 0\n# Compile_time: 0.001703968\n# Rewrite_time: 0.003219228\n# Optimize_time: 0.005208976\n# Wait_TS: 0.000079309\n# Prewrite_time: 0.000828297 Commit_time: 0.000659523 Get_commit_ts_time: 0.000023261 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 1252 Prewrite_region: 1\n# Is_internal: true\n# Digest: bb9a0484a27cea37dfc9b79800bc11ddc72f4ac11810a6eb126d600a567ce029\n# Num_cop_tasks: 0\n# Mem_max: 10391\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('ogPwTDAJMjhfMwkwCTAJTi9BCTAJdGltZToxLjQ4bXMsIGxvb3BzOjEsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo4MjguM8K1cywgZ2V0X2NvCSQQczoyMy4JFwk3TDo2NTkuNcK1cywgc2xvd2VzdF9wDUPQX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwNVxxfcHJpbWFyedZEAA1kCG51bQHgBdAQX2tleXMZDvA+Ynl0ZToxMjUyfQkyLjE1IEtCCU4vQQoxCTM2XzEJMAkxCXRhYmxlOnRpZGJfZGRsX2pvYiwgaGFuZGxlOjg2ASAhTBA0NzQuNAX9KU4oMiwgR2V0OntudW0FugwxLCB0Af8AXwUuRDE4My45wrVzfQlOL0EJTi9BCg==')\n# Plan_digest: 3fea32741ba131a439f08d925bc0d60ce688c732cc613c6d3625da6592028edc\n# Binary_plan: tidb_decode_binary_plan('1AN4Cs8DCghVcGRhdGVfMxKUAQoLUG9pbnRfR2V0XzEpAAUB8HXwPzABOAFAAUoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSCWhhbmRsZTo4NloWdGltZTo0NzQuNMK1cywgbG9vcHM6MmIkR2V0OntudW1fcnBjOjEsIHRvdGFsX3RpbWU6MTgzLjnCtXN9cP///////////wF4CQgI////BXwYUgNOL0FaFAkvGC40OG1zLCAJW3wxYv4BY29tbWl0X3R4bjoge3ByZXdyaXRlOjgyOC4zwgGFDGdldF8RJAxzOjIzDRcJExQ6NjU5LjUFKBxzbG93ZXN0XxFDGF9ycGM6IHsFq3Q6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG9yZToJBxAxLCB9LA1XHF9wcmltYXJ51kQADWQYbnVtOjEsIAXQEF9rZXlzGQ5kYnl0ZToxMjUyfXCXEXj///////////8BGAE=')\nupdate mysql.tidb_ddl_job set processing = 1 where job_id = 86;"] [2024/05/06 16:37:04.438 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 80, tp general"] [job="ID:86, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:03.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:07.603 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000056, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572929388412928, lockForUpdateTS:0, minCommitTs:0, ttl: 3151, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:07.604 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000056, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572929388412928, lockForUpdateTS:0, minCommitTs:0, ttl: 3151, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:07.604 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000056, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572929388412928, lockForUpdateTS:0, minCommitTs:0, ttl: 3151, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:07.604 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000056, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572929388412928, lockForUpdateTS:0, minCommitTs:0, ttl: 3151, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:07.605 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000056, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572929388412928, lockForUpdateTS:0, minCommitTs:0, ttl: 3151, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:07.605 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000056, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572929388412928, lockForUpdateTS:0, minCommitTs:0, ttl: 3151, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:07.605 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000056, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572929388412928, lockForUpdateTS:0, minCommitTs:0, ttl: 3151, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:07.606 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000056, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572929388412928, lockForUpdateTS:0, minCommitTs:0, ttl: 3151, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:07.606 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000056, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572929388412928, lockForUpdateTS:0, minCommitTs:0, ttl: 3151, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:07.606 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000056, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572929388412928, lockForUpdateTS:0, minCommitTs:0, ttl: 3151, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:07.607 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000056, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572929388412928, lockForUpdateTS:0, minCommitTs:0, ttl: 3151, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:07.607 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000056, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572929388412928, lockForUpdateTS:0, minCommitTs:0, ttl: 3151, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:07.612 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572929431928832\n# Query_time: 3.057324686\n# Parse_time: 0\n# Compile_time: 0.051363403\n# Rewrite_time: 0.003114207\n# Optimize_time: 0.045872559\n# Wait_TS: 0.000085808\n# Cop_time: 2.983749176 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 175\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.00001204\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2gPweTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6Mi45OHMsIGxvb3BzOjEsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDIuMzFtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMW1zLCBycGNfCTYQNzI5LCABDyh0aW1lOiAxLjgxcwVd8ExyX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzoxNzI4LAGADGFsX3QBZHg3NDIuMm1zfQkxNzUgQnl0ZXMJTi9BCjEJMV82CTFfOQqobGUobXlzcWwudGlkYl9tZGxfaW5mby52ZXJzaW9uLCA2MCkJMAl0aWt2XyUJBHt0AV8MMS40MgHjAGwlKQQwfQFdAQQYCjIJNDNfNQViLDEwMDAwCXRhYmxlOjJdAHwsIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkb65wAA==')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('wgSYCr0ECg1UYWJsZVJlYWRlcl83EpwCCgtTZWxlY3Rpb25fNhKZAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBpAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6MS40Mm1zLCBsb29wczowfXD//////wEEBAF4AQYFAQABBYgsgE8iQSmrqqqqqvapBYgQUiNsZSgFhwAuMoYAOC52ZXJzaW9uLCA2MClqINpzAAFqDOpz5kAZcyQBQAFSEGRhdGE6PTcIWhN0AcgMMi45OBXHIDFiwQFjb3BfdAHooCB7bnVtOiAxLCBtYXg6IDIuMzFtcywgcHJvY19rZXlzOiAwLCB0b3RfARIEOiAFHQxycGNfCTYMNzI5LAUPBWbwSSAxLjgxcywgY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6AZUgX3JwYzoxNzI4BYAMYWxfdAHKXDc0Mi4ybXN9cK8BeP///////////wEYAQ==')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 60;"] [2024/05/06 16:37:07.615 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 6d446966663a363100fe0000000000000073, primary: 6d44423a3100000000fb00000000000000685461626c653a3236ff0000000000000000f7, txnStartTS: 449572929388412928, lockForUpdateTS:0, minCommitTs:449572929388412929, ttl: 3151, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:07.619 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572929428783104\n# Query_time: 3.061546263\n# Parse_time: 0\n# Compile_time: 0.04039264\n# Rewrite_time: 0.003061249\n# Optimize_time: 0.011093047\n# Wait_TS: 0.000077378\n# Cop_time: 3.009919428 Process_time: 0.001 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0005 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12631\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('yhO4MAkzXzEzCTAJMjI3Ni4xNAlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwQ3Byb2Nlc3NpbmcJMAl0aW1lOjMuMDFzLCBsb29wczoxLCBDb25jdXJyZW5jeTo1CTExLjggS0IJTi9BCjEJMTRfMTQJcn4AGWEUOmRlc2MsToUAFGpvYl9pZFaBABwJMCBCeXRlcxEIHAoyCTE3XzI4HfRUaW5uZXIgam9pbiwgZXF1YWw6W2VxKFoKAQRpZAHTIGx1bW4jMTUpXVZ1AKAsIGJ1aWxkX2hhc2hfdGFibGU6e3RvdGFsOjgxMy41wrVzLCBmZXRjaB0QBTIMOjBzfRGqEQgkCjMJMzFfNDEoQgFUACkduUBkYXRhOlNlbGVjdGlvbl80MBGOEDUzNi44BWY1h3xjb3BfdGFzazoge251bTogMSwgbWF4OiAxLjI0bXMsICFoNF9rZXlzOiAwLCBycGNfEScBDCXaECAxLjE1ASyYY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uNfccIDE1fQkxNzEtihhOL0EKNAkxAbAEMV9y/QEMcmVvcklZBGt2Cb4AewWKCDk3Mi1GCeAEMH0BVQEEHAo1CTQ0XzM5BVocNjY2Ni42Nwkpgi7VAvA8LCByYW5nZTpbLWluZiw4NiksICg4NiwraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCUHpopAALDMJNl8yOShQcm9iZSG8ODY0MDAJZ3JvdXAgYnk6Q1FKQCwgZnVuY3M6Zmlyc3Ryb3coFRoIKS0+FQwx4D5kA0xwYXJ0aWFsX3dvcmtlcjp7d2FsbCm0ASokMjQwODQ1cywgYz2UCDUsIEEPJeZgMCwgdG90X3dhaXQ6MTUuMDU4NzM4MjIycwkYFGV4ZWM6MA0NJYAJJRg4MTUxNTNzSUkFaRQwNzk3NzRBTgQ5NTISABR9LCBmaW5mogAQNTEyOTABOaajABQ4MzYyNzYNlgWjGDY2Ljk5McJhXQHPAHSBjgmqFDkyOTIxOR2qFDE4MTk3NQFxEaoREllKQaMAM2FTJbMUbm90KGVxOZccLCA4NikpLCABGBRpc251bGwZHAApIekFfyEWAHO1DQgJMziRjmEEEDUJNl8zIdQIODAwXRRKeQRhnQBlpWZSAAUgc2NoZW1hX2lkAeJGpAVF/wkeSWUIbWluFa0AODJgAgAxSrcABDIsemACFDEwODU2OSGLXr4BADFJSVlhFDM1ODE1NUE8IaolvhAyNTAuMqkbARQlPyW+FDM5NDkyOAHbBGF4JVEUMDgzMTQ0QdExvRESemcCFDE1OTc0NAFLoqkAEDQ1MTY0RZoBlQWpHDE1Ni44MDLCRmgCGDQ3MDIxNTcuqwAQOTcyMjgB6BWrDRJZaAA2od8MMzYJMEkIOGRhdGE6SGFzaEFnZ18zMV6TAWbQBQA0paRBM7nQAb0BEhA6IDFtcy7fBQQ4Na3uAHRhLgwgMS42QbDO4QU0LCBSZXNvbHZlTG9jazrBZSBfcnBjOjE4NDkl/gBhjZIoNzk2LjZtc30JMTkuEQYAN2ENADGlt/4PA84PA0o3AxZWCH0fADgljDb6BQwxLjI5IVJCiAYUOAk0M18zgUQMMAkxMGHhZYc6hgZ6agZhj5pwAA==')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('nxbwSQqaFgoNUHJvamVjdGlvbl8xMxKEFQoHU29ydF8xNBKOFAoLSGFzaEpvaW5fMjgSmwQKDlRhYmxlUmVhZGVyXzQxErMCCgxTZWxlCUAYNDASuAEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wXjpbLWluZiw4NiksICg4NiwraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiJ0aWt2X3Rhc2s6e3RpbWU6OTcyLjXCtXMsIGxvb3BzOjB9cP//////AQMEAXgBBgUBAAEFpSyAMSdBKd5K675FyKEFpQRSGAWhBC50HaAULnJlb3Jn5moALBoBASFMXLTtgWjrQBltKAFAAVIRZGF0YTpTPVEwWhZ0aW1lOjUzNi44whnFGDFigAFjb3AJ6KAge251bTogMSwgbWF4OiAxLjI0bXMsIHByb2Nfa2V5czogMCwgcnBjXxEnAQwFVxAgMS4xNQEs2GNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX1wqwE9P0QSug4KCkhhc2hBZ2dfMjkS3gouGgIQMzAS5AkZIBAzNRK0BTZNAhAzNhKRAx0iFDESmwEKEEVLDEZ1bGxJSgA0JaUU8O8wQSkAAQEQiMNAMAF2TAIAHnowAgggdGk2MAIMMS4yOSETBGxvgi4CCChlMQ2JBEC/DYk8UpQBZ3JvdXAgYnk6bXlzcTo6AiGUHGVzc2luZywgSh8AJHNjaGVtYV9pZHNSHwAQdGFibGUJHiRmdW5jczptaW4oSkcARGpvYl9pZCktPkNvbHVtbiMxOOLnABze3d3dHT73QClwCedBqgQPZEGqAEgt8AwzMVoTRVEUMy4wMXMsLTwIMmLBaqUCADRFeSERWaUMdG90XwESCDogMSGDQahJtAg4NTBJwwVmDCAxLjYBZ862AjQsIFJlc29sdmVMb2NrOmE6JF9ycGM6MTg0OSwBgARhbAlkJDc5Ni42bXN9cL8yJQQhEAytbPhAPhABAIT+9wG+9wE12z3nADVWhgFQ1AJwYXJ0aWFsX3dvcmtlcjp7d2FsDechsSgxMDg1Njk2cywgY33jGDUsIHRhc2slgQAxJRtIX3dhaXQ6MTUuMDUzNTgxNTUzcwkYKGV4ZWM6MjUwLjI1haQhxyWpCSwQOTQ5MjhB0gRheAVwGDA4MzE0NDWBowQ5NTISABR9LCBmaW5mqQAQNTk3NDQBS6KpABg0NTE2NDA0LqkAGDE1Ni44MDJKqgAYNDcwMjE1Ny6rABA5NzIyOAHoFasNEgR9cMU3AQFGIQIESP5NIQgAuUBlLxgubm90KGVxNbYgNSwgODYpKSwgARgUaXNudWxsGRwEKSlOyAEMMXD8Ar1wJBoBAiFEREREJGM+bAAEOGeRgVEkBDUsjTAcZmlyc3Ryb3cdbJklUj4CCDFizHo+AgwyNDA4Jc1elAEAMEklWT0YODczODIyMi6UAQAwDQ1ZNhA4ODE1MUViUTcUMjA3OTc3IcsxjBESejcCEDI1MTI5RQSmowAQODM2MjdhE0HMReAUNjYuOTkxSjYCGDg5MjkyMTldNhQxODE5NzUuqgAREl42AhgvxDmMZQwHKnwIaAFAAVI8aW5uZXIgam9pbiwgZXF1YWw6W2VxKGLyBQQsIDXyBCldUkQCMGI7YnVpbGRfaGFzaF/FTyg6e3RvdGFsOjgxMxonCRBmZXRjaB0QBTIsOjBzfSHnB7OrHywQOqYAAD1KkAChxcnoEDpkZXNjUs4GyaZSpwAYIXRVy2W+QT5qAE5SBwFGEG1ldGEsTlAHGYdSZwAQYg1Db24i1AhANXCcXnj///////////8BGAE=')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (86) order by processing desc, job_id;"] [2024/05/06 16:37:07.662 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=15.57182ms] [2024/05/06 16:37:08.097 +08:00] [ERROR] [mvcc.go:1021] ["commit failed, no correspond lock found"] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6Mjb/AAAAAAAAAAD3] ["start ts"=449572929388412928] [lock="{{0 0 0 0 0 false 0 false 0} [] [] []}"] [error="retryable: lock not found"] [stack="github.com/pingcap/tidb/store/mockstore/unistore/tikv.(*MVCCStore).Commit\n\tstore/mockstore/unistore/tikv/mvcc.go:1021\ngithub.com/pingcap/tidb/store/mockstore/unistore/tikv.(*Server).KvCommit\n\tstore/mockstore/unistore/tikv/server.go:366\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:183\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).sendReqToRegion\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1421\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReqCtx\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1177\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReq\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:234\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionCommit.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:98\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1036\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:969\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:788\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:222\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitTxn\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1701\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1692\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:37:08.098 +08:00] [WARN] [session.go:1025] ["can not retry txn"] [label=internal] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 16:37:08.098 +08:00] [WARN] [session.go:1041] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [2024/05/06 16:37:08.099 +08:00] [INFO] [job_table.go:255] ["[ddl] handle ddl job failed"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [job="ID:86, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:03.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:08.166 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 80, tp general"] [job="ID:86, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:03.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:08.214 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=374.797µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:37:08.231 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=252.646µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:37:08.246 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=387.78µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:37:08.266 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=62] ["start time"=3.386797ms] [phyTblIDs="[26]"] [actionTypes="[4096]"] [2024/05/06 16:37:08.331 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:08.331 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=86] [version=62] [2024/05/06 16:37:08.331 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=62] ["take time"=72.098233ms] [job="ID:86, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:03.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:08.376 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=86] [jobType="modify column"] [2024/05/06 16:37:08.381 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 80, tp general"] [job="ID:86, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:03.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:08.503 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=86] [2024/05/06 16:37:08.503 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:08.504 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=27.579662ms] [2024/05/06 16:37:08.510 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 4.698059422\n# Parse_time: 0\n# Compile_time: 0.001238848\n# Rewrite_time: 0.000018575\n# Optimize_time: 0\n# Wait_TS: 0.000095923\n# Is_internal: true\n# Digest: ce0e3f5812fac6beec45b7562e44ce095457ea53b5578610214f6b9eae54c542\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.stats_buckets MODIFY upper_bound LONGBLOB NOT NULL;"] [2024/05/06 16:37:08.515 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=62] [cur_db=] [sql="ALTER TABLE mysql.stats_buckets MODIFY lower_bound LONGBLOB"] [user=] [2024/05/06 16:37:08.556 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:87, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:5, start time: 2024-05-06 16:37:08.536 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:37:08.556 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:87, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:5, start time: 2024-05-06 16:37:08.536 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.stats_buckets MODIFY lower_bound LONGBLOB"] [2024/05/06 16:37:08.655 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 80, tp general"] [job="ID:87, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:08.536 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:08.781 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=62] [neededSchemaVersion=63] ["start time"=2.771328ms] [phyTblIDs="[26]"] [actionTypes="[4096]"] [2024/05/06 16:37:08.832 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:08.832 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=87] [version=63] [2024/05/06 16:37:08.834 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=63] ["take time"=66.821815ms] [job="ID:87, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:08.536 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:08.889 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=87] [jobType="modify column"] [2024/05/06 16:37:08.895 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 80, tp general"] [job="ID:87, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:08.536 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:09.328 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=12.372663ms] [2024/05/06 16:37:09.470 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572930576449536] ["min commit ts"=449572930678685698] [key=bURETEpvYkhp/3N0b3J5AAAA/AAAAAAAAABoAAAAAAAAAFf/AAAAAAAAAAD3] [2024/05/06 16:37:09.470 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572930555215872] [info="{StartTs:449572930555215872 AttemptedCommitTs:449572930576449536 Key:6d44444c4a6f624869ff73746f7279000000fc00000000000000680000000000000057ff0000000000000000f7 MinCommitTs:449572930678685698}"] [2024/05/06 16:37:09.489 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572930611052544\n# Query_time: 0.39997178\n# Parse_time: 0\n# Compile_time: 0.02010098\n# Rewrite_time: 0.002807923\n# Optimize_time: 0.014636824\n# Wait_TS: 0.000081786\n# Cop_time: 0.36884443 Process_time: 0.001 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0005 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12631\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('yxO4MAkzXzEzCTAJMjI3Ni44MAlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwRnByb2Nlc3NpbmcJMAl0aW1lOjM3NC4xbXMsIGxvb3BzOjEsIENvbmN1cnJlbmN5OjUJMTEuOCBLQglOL0EKMQkxNF8xNAkwboAAGWMUOmRlc2MsTocAFGpvYl9pZBmDCDMuNh2DHAkwIEJ5dGVzEQgcCjIJMTdfMjgd+FRpbm5lciBqb2luLCBlcXVhbDpbZXEoWg4BOGlkLCBDb2x1bW4jMTUpXS53AAA0HXd0LCBidWlsZF9oYXNoX3RhYmxlOnt0b3RhbDoxLjI4ASkQZmV0Y2gVDgUuDDowc30RqBEIJAozCTMxXzQxKEIBUAApHbdAZGF0YTpTZWxlY3Rpb25fNDARjBg4ODUuNcK1LocBaGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuMgW2IWg0X2tleXM6IDAsIHJwY18RJwEMJdwQIDEuMTUBuZhjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb2419xwgMTV9CTE3MS2IGE4vQQo0CTEBsAQxX3J9AgxyZW9ySVsEa3YJvgB7BYoQOTYxLjkd4AQwfQFVAQQcCjUJNDRfMzkFWhw2NjY2LjY3CSl+LtcC8DwsIHJhbmdlOlstaW5mLDg3KSwgKDg3LCtpbmZdLCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG8JQeuikAAsMwk2XzI5KFByb2JlIbw0NjQwMAlncm91cCBieTpVSEAsIGZ1bmNzOmZpcnN0cm93KBUaCCktPhUMMeAIMzcyIYh1ZExwYXJ0aWFsX3dvcmtlcjp7d2FsbCm0IDM3MS43NjAwMGUSAGM9lQg1LCBBECXnXDAsIHRvdF93YWl0OjEuODU2NjQ4Njk2cwkXFGV4ZWM6MA0NJYAFJBg3MjQ4MjJzSUgBaBAzODA4NUUhCHA5NTISABR9LCBmaW5ioQAQODk1MjayoQAYNzM1NDM5OQ2UBaEYNzQuNTQ2wkH1AcwVqBg3NDU2NDg0HagQNTE5OTFlghGoERJZR0GgADNhUCWwFG5vdChlcTmUHCwgODcpKSwgARgUaXNudWxsGRwAKSHmBX4hFGVcLagICTM4kYthAxA1CTZfMyHTCDgwMF0TSnYEYZwAZaVnUv8EIHNjaGVtYV9pZAHkRqUFRf4JHklkCG1pbhWvADgyXwIAMRG5CDAuOVlhBDIsbmECHDY5Ljk0ODA5csABADFJSlFhGDQ2MTc1NjEuvwEUMjEzLjk2adUuwAEcNDY1NzI1ODMB3AhheDoBbxA0Mjc5N1loBDY5FRJ+aAIMODI4OQXZXgkDOqgAFDUwMjY2NDKoABwxOTEuMDIzwkJoAhAwNDk3N0WTBagcNzAuODc4OTIFb0loGRJZaAA2odwMMzYJMEkGpdIkSGFzaEFnZ18zMTWRCDY5Ln3yBDIsoYMEX3RSzwUAOUnaBHJvvc8hUQESCDogMSHXodKl3ggzMTep7EWwECAyMDcuJVjO4QU0LCBSZXNvbHZlTG9jazrBZRxfcnBjOjMxNiX8AGGNkSgxMDAuOG1zfQkxOS4QBgA3YQ0AMaW2/g8Dzg8DSjcDFlUIfR8AOCWONvkFBDEuSYlp4t2HFDgJNDNfM4FGDDAJMTBh4WWHOoUGemkGYY+acAA=')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('oBbwSQqbFgoNUHJvamVjdGlvbl8xMxKDFQoHU29ydF8xNBKLFAoLSGFzaEpvaW5fMjgSmwQKDlRhYmxlUmVhZGVyXzQxErMCCgxTZWxlCUAYNDASuAEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wXjpbLWluZiw4NyksICg4NywraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiJ0aWt2X3Rhc2s6e3RpbWU6OTYxLjnCtXMsIGxvb3BzOjB9cP//////AQMEAXgBBgUBAAEFpSyAMSdBKZ0xLpGayaEFpSBSGG15c3FsLnQdoBQucmVvcmfmagAsGgEBIU9lPg21aOtAGW0oAUABUhFkYXRhOlM9UTBaFnRpbWU6ODg1LjXCGcUYMWKAAWNvcAnooCB7bnVtOiAxLCBtYXg6IDEuMjRtcywgcHJvY19rZXlzOiAwLCBycGNfEScBDAVXECAxLjE1ASzYY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fXCrAT0/EBK5DgoKQS4gQWdnXzI5EuAKLhoCEDMwEuQJGSAQMzUStgU2TQIQMzYSkQMdIhQxEpsBChBFSwxGdWxsSUoANCWlFPDvMEEpAAEBEIjDQDABdkwCAB56MAIIIHRpNjACCDEuNyUTBGxvgi4CCChlMQ2JBEC/DYkwUpQBZ3JvdXAgYnk6bUY6AiGUHGVzc2luZywgSh8AJHNjaGVtYV9pZHNSHwAQdGFibGUJHiRmdW5jczptaW4oSkcARGpvYl9pZCktPkNvbHVtbiMxOOLnABze3d3dHT73QClwCedBqgQPZEGqCEhhcyXwDDMxWhVFURAzNjkuMkFRKT4IMmLBaqcCBDk4ASohE1mnDHRvdF8BEgg6IDEBHUGqRbYIMzE3ScQFZxAgMjA3LiWmzrkCNCwgUmVzb2x2ZUxvY2s6YT0gX3JwYzozMTYsAYAEYWwJZSQxMDAuOG1zfXC/MicEIRIMrWz4QD4SAQCE/vkBvvkBNd096QA1MYgMNzAuOSFBMYhQ0AJwYXJ0aWFsX3dvcmtlcjp7d2FsDekhtRQ5NDgwOTYBMgBjfecYNSwgdGFzayWDADElHUBfd2FpdDoxLjg0NjE3NTYxcwkWLGV4ZWM6MjEzLjk2OYWnIcglqwUrFDU3MjU4M0HVBGF4BW8MNDI3OWlnCHA5NTISABR9LCBmaW5WqAAcNzEuODgyODkF2pqoABQ1MDI2NjQyqAAYMTkxLjAyM0KoABw1MDQ5Nzc5ORGoHDcwLjg3ODkyBW8FqB0SBH1wxTcBAUYfAgRI/k0fCAC5QGUvGC5ub3QoZXE1tCA1LCA4NykpLCABGBRpc251bGwZHAQpKTXGBDEupcspxgwxcPwCvXIkGgECIUREREQkYz5uAAQ4Z5GDUSQENSyNMhxmaXJzdHJvdx1umScINVoTJbQEMzd9xAgxYsluPAIcNzEuNzYwMDByPAIAMEkmUTwcNTY2NDg2OTYuPQIAMA0NBYEoMS44NTY3MjQ4MjI1jRgxLjM4MDg1ZfYpjRkSfjUCDDk1MjayoQAQNzM1NDNFCkHJRd4UNzQuNTQ2RjUCGDc0NTY0ODQdqBA1MTk5MYncQd0ENzEVEl41AhgWCk2BhQwHKnsIaAFAAVI8aW5uZXIgam9pbiwgZXF1YWw6W2VxKGLxBQQsIDXvBCldVUMAMzJDAjBiN2J1aWxkX2hhc2hfxVAoOnt0b3RhbDoxLjIFtBBmZXRjaBUOBS4wOjBzfSHtg1pDlCwQQTayCAA9So4AocDJ5RA6ZGVzY1LLBsmjHaUln03oGCHCIW+WNEI+bAAAOkpsAAFIEG1ldGEsTk8HGYkVaQg0LjGB5Q1pEGINQ29uItUIQDVwnF54////////////ARgB')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (87) order by processing desc, job_id;"] [2024/05/06 16:37:09.570 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=87] [2024/05/06 16:37:09.571 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:09.573 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.061857954\n# Parse_time: 0\n# Compile_time: 0.003796418\n# Rewrite_time: 0.00001786\n# Optimize_time: 0\n# Wait_TS: 0.000084616\n# Is_internal: true\n# Digest: 2d58d9b5c297b9f81ef2fbfc7d824d65c3715a0bbea4504df3340fd39607fc4c\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.stats_buckets MODIFY lower_bound LONGBLOB;"] [2024/05/06 16:37:09.582 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=63] [cur_db=] [sql="ALTER TABLE mysql.stats_histograms MODIFY last_analyze_pos LONGBLOB DEFAULT NULL"] [user=] [2024/05/06 16:37:10.118 +08:00] [INFO] [mvcc.go:1026] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449572930746318848] ["min commit ts"=449572930871361537] [key="dIAA///////+X3KAAAAAAAAAWA=="] [2024/05/06 16:37:10.119 +08:00] [INFO] [commit.go:150] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449572930745532416] [info="{StartTs:449572930745532416 AttemptedCommitTs:449572930746318848 Key:748000fffffffffffe5f728000000000000058 MinCommitTs:449572930871361537}"] [2024/05/06 16:37:10.121 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572930745532416\n# Query_time: 0.512197629\n# Parse_time: 0\n# Compile_time: 0.00685245\n# Rewrite_time: 0.000281462\n# Optimize_time: 0.002409632\n# Wait_TS: 0.000071058\n# Prewrite_time: 0.000647792 Commit_time: 0.001131311 Get_commit_ts_time: 0.000019554 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 1288 Prewrite_region: 1\n# Is_internal: true\n# Digest: 1b73a00c73a03d7dc9dd08a1ea99474b2523e5f72366f740be5156fa244256c4\n# Num_cop_tasks: 0\n# Mem_max: 9940\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('1gLYMAkyN18xCTAJMAlOL0EJMAl0aW1lOjkyNi42wrVzLCBsb29wczoxLCBwcmVwYXJlOiA0NTkuMwUcJGluc2VydDo0NjcNEWhjb21taXRfdHhuOiB7cHJld3JpdGU6NjQ3LjgFMRBnZXRfYw0kDHM6MTkNZAkTQDoxLjEzbXMsIHNsb3dlc3RfEUHQX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwNVRxfcHJpbWFyeUZEAAAwikQADWQIbnVtIQIFzhBfa2V5cxkOWGJ5dGU6MTI4OH0JMS43MSBLQglOL0EK')\n# Binary_plan: tidb_decode_binary_plan('4QLwPgrcAgoISW5zZXJ0XzE4AUABUgNOL0FaFnRpbWU6OTI2LjbCtXMsIGxvb3BzOjFiInByZXBhcmU6IDQ1OS4zwgEcBGluAT4QOjQ2Ny4BEXhi/AFjb21taXRfdHhuOiB7cHJld3JpdGU6NjQ3LjjCATIQZ2V0X2MNJAxzOjE5DWUJE0A6MS4xM21zLCBzbG93ZXN0XxFBmF9ycGM6IHt0b3RhbDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0bwGdAHMBBxAxLCB9LA1VHF9wcmltYXJ5RkQAADCKRAANZBhudW06MSwgBc4QX2tleXMZDmRieXRlOjEyODh9cNQNeP///////////wEYAQ==')\ninsert into mysql.tidb_ddl_job(job_id, reorg, schema_ids, table_ids, job_meta, type, processing) values(88, false, \"1\", \"24\", 0x7b226964223a38382c2274797065223a31322c22736368656d615f6964223a312c227461626c655f6964223a32342c22736368656d615f6e616d65223a226d7973716c222c227461626c655f6e616d65223a2273746174735f686973746f6772616d73222c227374617465223a382c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b7b226964223a31332c226e616d65223a7b224f223a226c6173745f616e616c797a655f706f73222c224c223a226c6173745f616e616c797a655f706f73227d2c226f6666736574223a31322c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235312c22466c6167223a3132382c22466c656e223a343239343936373239352c22446563696d616c223a302c2243686172736574223a2262696e617279222c22436f6c6c617465223a2262696e617279222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b224f223a226c6173745f616e616c797a655f706f73222c224c223a226c6173745f616e616c797a655f706f73227d2c7b225470223a302c2252656c6174697665436f6c756d6e223a6e756c6c7d2c302c305d2c22736368656d615f7374617465223a302c22736e617073686f745f766572223a302c227265616c5f73746172745f7473223a302c2273746172745f7473223a3434393537323933303734303831333832342c22646570656e64656e63795f6964223a302c227175657279223a22414c544552205441424c45206d7973716c2e73746174735f686973746f6772616d73204d4f44494659206c6173745f616e616c797a655f706f73204c4f4e47424c4f422044454641554c54204e554c4c222c2262696e6c6f67223a7b22536368656d6156657273696f6e223a302c224442496e666f223a6e756c6c2c225461626c65496e666f223a6e756c6c2c2246696e69736865645453223a302c224d756c7469706c655461626c65496e666f73223a6e756c6c7d2c2276657273696f6e223a312c2272656f72675f6d657461223a7b22656e645f68616e646c65223a302c2273716c5f6d6f6465223a302c227761726e696e6773223a7b7d2c227761726e696e67735f636f756e74223a7b7d2c226c6f636174696f6e223a7b226e616d65223a22417369612f5368616e67686169222c226f6666736574223a307d2c2272656f72675f7470223a307d2c226d756c74695f736368656d615f696e666f223a6e756c6c2c227072696f72697479223a302c227365715f6e756d223a302c2263686172736574223a22222c22636f6c6c617465223a22227d, 12, false);"] [2024/05/06 16:37:10.121 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:88, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:5, start time: 2024-05-06 16:37:09.596 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:37:10.122 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:88, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:5, start time: 2024-05-06 16:37:09.596 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.stats_histograms MODIFY last_analyze_pos LONGBLOB DEFAULT NULL"] [2024/05/06 16:37:10.238 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=11.548526ms] [2024/05/06 16:37:10.757 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572930910158848\n# Query_time: 0.524633292\n# Parse_time: 0\n# Compile_time: 0.010979362\n# Rewrite_time: 0.003150703\n# Optimize_time: 0.01010212\n# Wait_TS: 0.000078179\n# Prewrite_time: 0.009755259 Commit_time: 0.000540798 Get_commit_ts_time: 0.000026226 Slowest_prewrite_rpc_detail: {total:0.010s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.010s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 1288 Prewrite_region: 1\n# Is_internal: true\n# Digest: bb9a0484a27cea37dfc9b79800bc11ddc72f4ac11810a6eb126d600a567ce029\n# Num_cop_tasks: 0\n# Mem_max: 10391\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('oAPwQDAJMjhfMwkwCTAJTi9BCTAJdGltZToxLjM3bXMsIGxvb3BzOjEsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo5Ljc2AScMZ2V0XxEiIHM6MjYuMsK1cxE1FDo1NDAuOAURIHNsb3dlc3RfcA1B6F9ycGM6IHt0b3RhbDogMC4wMTBzLCByZWdpb25faWQ6IDIsIHN0b3JlOiBzdG9yZTEsIH0sIGNvbW1pAUUQaW1hcnlCRAAEMDCKRAANZAhudW0B3gXOEF9rZXlzGQ5EYnl0ZToxMjg4fQkyLjE1IEtCISGgCjEJMzZfMQkwCTEJdGFibGU6dGlkYl9kZGxfam9iLCBoYW5kbGU6ODgBICFKEDQxOC41Bf0EbG8hTCgyLCBHZXQ6e251bQW6DDEsIHQB/wBfBS5EMTUwLjLCtXN9CU4vQQlOL0EK')\n# Plan_digest: 3fea32741ba131a439f08d925bc0d60ce688c732cc613c6d3625da6592028edc\n# Binary_plan: tidb_decode_binary_plan('0gN4Cs0DCghVcGRhdGVfMxKUAQoLUG9pbnRfR2V0XzEpAAUB8HXwPzABOAFAAUoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSCWhhbmRsZTo4OFoWdGltZTo0MTguNcK1cywgbG9vcHM6MmIkR2V0OntudW1fcnBjOjEsIHRvdGFsX3RpbWU6MTUwLjLCtXN9cP///////////wF4CQgI////BXwYUgNOL0FaFAkvGC4zN21zLCAJW3QxYvwBY29tbWl0X3R4bjoge3ByZXdyaXRlOjkuNzYBKAxnZXRfESIYczoyNi4ywgGaCRMUOjU0MC44BREcc2xvd2VzdF8RQRhfcnBjOiB7Bal0OiAwLjAxMHMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6CQcQMSwgfSwNVxxfcHJpbWFyeUJEAAQwMIpEAA1kGG51bToxLCAFzhBfa2V5cxkOZGJ5dGU6MTI4OH1wlxF4////////////ARgB')\nupdate mysql.tidb_ddl_job set processing = 1 where job_id = 88;"] [2024/05/06 16:37:10.762 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 80, tp general"] [job="ID:88, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:09.596 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:14.039 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000058, primary: 6d44423a3100000000fb00000000000000685461626c653a3234ff0000000000000000f7, txnStartTS: 449572931046211584, lockForUpdateTS:0, minCommitTs:0, ttl: 3262, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:14.040 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f728000000000000058, primary: 6d44423a3100000000fb00000000000000685461626c653a3234ff0000000000000000f7, txnStartTS: 449572931046211584, lockForUpdateTS:0, minCommitTs:0, ttl: 3262, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:14.045 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572931116466176\n# Query_time: 3.021834119\n# Parse_time: 0\n# Compile_time: 0.008314907\n# Rewrite_time: 0.001554738\n# Optimize_time: 0.002087809\n# Wait_TS: 0.000091442\n# Cop_time: 3.005274032 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 175\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000012183\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2gPweTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6My4wMXMsIGxvb3BzOjEsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuNTJtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMW1zLCBycGNfCTYQNTE1LCABDwB0AWUUIDEuODdzBV3wTHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjE1MTQsAYAMYWxfdAFkeDczMS42bXN9CTE3NSBCeXRlcwlOL0EKMQkxXzYJMV85CqhsZShteXNxbC50aWRiX21kbF9pbmZvLnZlcnNpb24sIDYzKQkwCXRpa3ZfJQkEe3QBXwwxLjMyAeMAbCUpBDB9AV0BBBgKMgk0M181BWIsMTAwMDAJdGFibGU6Ml0AfCwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvrnAA')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('wgSYCr0ECg1UYWJsZVJlYWRlcl83EpwCCgtTZWxlY3Rpb25fNhKZAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBpAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6MS4zMm1zLCBsb29wczowfXD//////wEEBAF4AQYFAQABBYgsgE8iQSmrqqqqqvapBYgQUiNsZSgFhwAuMoYAOC52ZXJzaW9uLCA2MylqINpzAAFqDOpz5kAZcyQBQAFSEGRhdGE6PTcIWhN0AcgMMy4wMRXHIDFiwQFjb3BfdAHooCB7bnVtOiAxLCBtYXg6IDEuNTJtcywgcHJvY19rZXlzOiAwLCB0b3RfARIIOiAxAR0McnBjXwk2DDUxNSwFDwVm8EkgMS44N3MsIGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOgGVIF9ycGM6MTUxNAWADGFsX3QBylw3MzEuNm1zfXCvAXj///////////8BGAE=')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 63;"] [2024/05/06 16:37:14.045 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000058, primary: 6d44423a3100000000fb00000000000000685461626c653a3234ff0000000000000000f7, txnStartTS: 449572931046211584, lockForUpdateTS:0, minCommitTs:0, ttl: 3262, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:14.046 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000058, primary: 6d44423a3100000000fb00000000000000685461626c653a3234ff0000000000000000f7, txnStartTS: 449572931046211584, lockForUpdateTS:0, minCommitTs:0, ttl: 3262, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:14.046 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000058, primary: 6d44423a3100000000fb00000000000000685461626c653a3234ff0000000000000000f7, txnStartTS: 449572931046211584, lockForUpdateTS:0, minCommitTs:0, ttl: 3262, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:14.047 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 6d446966663a363400fe0000000000000073, primary: 6d44423a3100000000fb00000000000000685461626c653a3234ff0000000000000000f7, txnStartTS: 449572931046211584, lockForUpdateTS:0, minCommitTs:449572931046211585, ttl: 3262, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:14.047 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000058, primary: 6d44423a3100000000fb00000000000000685461626c653a3234ff0000000000000000f7, txnStartTS: 449572931046211584, lockForUpdateTS:0, minCommitTs:0, ttl: 3262, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:14.047 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000058, primary: 6d44423a3100000000fb00000000000000685461626c653a3234ff0000000000000000f7, txnStartTS: 449572931046211584, lockForUpdateTS:0, minCommitTs:0, ttl: 3262, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:14.047 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000058, primary: 6d44423a3100000000fb00000000000000685461626c653a3234ff0000000000000000f7, txnStartTS: 449572931046211584, lockForUpdateTS:0, minCommitTs:0, ttl: 3262, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:14.047 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f728000000000000058, primary: 6d44423a3100000000fb00000000000000685461626c653a3234ff0000000000000000f7, txnStartTS: 449572931046211584, lockForUpdateTS:0, minCommitTs:0, ttl: 3262, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:14.058 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572931139534848\n# Query_time: 2.972435267\n# Parse_time: 0\n# Compile_time: 0.035746412\n# Rewrite_time: 0.002885679\n# Optimize_time: 0.029759353\n# Wait_TS: 0.000084933\n# Cop_time: 2.881272578 Process_time: 0.002 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.001 Cop_proc_p90: 0.002 Cop_proc_max: 0.002 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12633\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('xhO4MAkzXzEzCTAJMjI3Ny40NwlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwQ3Byb2Nlc3NpbmcJMAl0aW1lOjIuODlzLCBsb29wczoxLCBDb25jdXJyZW5jeTo1CTExLjggS0IJTi9BCjEJMTRfMTQJcn4AGWEUOmRlc2MsToUAFGpvYl9pZFaBABwJMCBCeXRlcxEIHAoyCTE3XzI4HfRUaW5uZXIgam9pbiwgZXF1YWw6W2VxKFoKAQRpZAHTIGx1bW4jMTUpXVZ1AJgsIGJ1aWxkX2hhc2hfdGFibGU6e3RvdGFsOjEuMjltcywgZmV0Y2gVDgUuDDowc30RphEIJAozCTMxXzQxKEIBUAApHbVAZGF0YTpTZWxlY3Rpb25fNDARihg5OTIuMcK1LoMBbGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuMjIBjSFkNF9rZXlzOiAwLCBycGNfEScBDCXWDCAxLjEBK5hjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb2418hwgMTV9CTE3MS2FGE4vQQo0CTEBrwQxX3L4AQxyZW9ySVQEa3YJvQB7BYkQOTQxLjUd3wQwfQFVAQQcCjUJNDRfMzkFWhw2NjY2LjY3CSl9LtAC8DwsIHJhbmdlOlstaW5mLDg4KSwgKDg4LCtpbmZdLCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG8JQeSikAAsMwk2XzI5KFByb2JlIbs4NjQwMAlncm91cCBieTpDUUVALCBmdW5jczpmaXJzdHJvdygVGggpLT4VDDHfPl8DTHBhcnRpYWxfd29ya2VyOnt3YWxsKbMkMi44ODQ4MTg0NGGQAGM9lQg1LCBBDyXmYDAsIHRvdF93YWl0OjE0LjQxNzcxOTIxOHMJGBRleGVjOjANDSWBBSUcODAyMjc2NHNJSQFqFDM4MjAxMQFqCHA5NTISABR9LCBmaW5mowAQOTc4MjgBcJ6jABgyMDUzNDI2ATMBuwWjGDU2LjU1OcJB9wEUFaoUMjA2MTg4BSxB8wGqFDQ4NjIxMAG8EaoREllLQaQAM2FTJbQUbm90KGVxOZgcLCA4OCkpLCABGBRpc251bGwZHAApIeoFfwFsAHO1CQgJMziRimEFEDUJNl8zIdUIODAwXRVKdQRhnQBlpWJS/AQkc2NoZW1hX2lkc1IfAGUACR5JZghtaW4VrQA4MmECADFKtwAEMix6YQIgMjczNjE4MXMsYr4BADFJSVlhGDA2ODE4NTZNVCW+HDI1OS41NTbCQr8BFDExMDk2MgUtMb8gMjMxNTM5MnMsNb8REnppAhQzNDUwNDeyqwAUMjYzODY2ATNBVQWrGDE5MC45MDNKqwAUMjg2NDMxAZkVqww2MzM4ARFRaQ0RWWgANqHfDDM2CTBJCKXVJEhhc2hBZ2dfMzFekwFe0AUMMi40M6GlQTO50AG7ARIEOiCl7aHTqd8AN6G1AQ9FrwwgMS41AazO4gU0LCBSZXNvbHZlTG9jazrBZSBfcnBjOjE2OTkl/gBhjZMsODQ4LjNtc30JMTkz3RIAN2ENADGluP4PA84PA0p1AxZSCH0fADgljDb7BQgyLjHlzBbrCN2JFDgJNDNfM4FEDDAJMTBh4WWHOocGemsGYY+acAA=')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('mhbwSQqVFgoNUHJvamVjdGlvbl8xMxL/FAoHU29ydF8xNBKJFAoLSGFzaEpvaW5fMjgSmQQKDlRhYmxlUmVhZGVyXzQxErMCCgxTZWxlCUAYNDASuAEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wXjpbLWluZiw4OCksICg4OCwraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiJ0aWt2X3Rhc2s6e3RpbWU6OTQxLjXCtXMsIGxvb3BzOjB9cP//////AQMEAXgBBgUBAAEFpSyAMSdBKVoYcWPvyqEFpQRSGAWhBC50HaAULnJlb3Jn5moALBoBASFSbsgs6GjrQBltKAFAAVIRZGF0YTpTPVEMWhZ0aQHFEDkyLjHCGcUUMWJ/Y29wCeegIHtudW06IDEsIG1heDogMS4yMm1zLCBwcm9jX2tleXM6IDAsIHJwY18RJwEMBVYMIDEuMQEr2GNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX1wqwE9PRASuw4KCkEsIEFnZ18yORLeCi4YAhAzMBLkCRkgEDM1ErQFNksCEDM2EpEDHSIUMRKbAQoQRUkMRnVsbElIADQloxTw7zBBKQABARCIw0AwAXZKAgAeei4CCCB0aTYuAgwyLjE5IRMEbG+CLAIIKGUxDYkEQL8NiTxSlAFncm91cCBieTpteXNxOjgCIZMcZXNzaW5nLCBKHwAkc2NoZW1hX2lkc1IfABB0YWJsZQkeJGZ1bmNzOm1pbihKRwBEam9iX2lkKS0+Q29sdW1uIzE44ucAHN7d3d0dPvdAKXAJ50GoBA9kQagISGFzJfAMMzFaE0VQFDIuODhzLC08DDJiwQFepAIMMi40MyFmIRFZpAx0b3RfARIEOiBFwUGnSbMAN0GJAQ8FZhggMS41MnMs0rYCNCwgUmVzb2x2ZUxvY2s6YTkkX3JwYzoxNjk5LAGABGFsCWQkODQ4LjNtc31wwTIjBCEQDK1s+EA+EAEAhP73Ab73ATXbPecANVaGAVDUAnBhcnRpYWxfd29ya2VyOnt3YWwN5ygyLjg4MjczNjE4MSVRAG514xg1LCB0YXNrJYEAMSUbSF93YWl0OjE0LjQxMDY4MTg1NnMJGCxleGVjOjI1OS41NTaFoyHIJaoFLRAxMDk2MgUtgZ8FchAzMTUzOSHDCHA5NTISABR9LCBmaW5iqwAUMzQ1MDQ3sqsAFDI2Mzg2NgEzAZYFqxgxOTAuOTAzSqsAFDI4NjQzMQGZFasMNjMzOAERFaoJEQR9cMU1AQFGIQIESP5NIQgAuUBlLxgubm90KGVxNbYgNSwgODgpKSwgARgUaXNudWxsGRwEKSlOyAEMMXD8Ar1wJBoBAiFEREREJGM+bAAEOGeRgVEkBDUsjTAcZmlyc3Ryb3cdbJklXT4AOXXECDFizXo+AhQ0ODE4NDQBMgBjWj4CADBJJlk+FDc3MTkyMYEpNZMAME1LWTYYODAyMjc2NKEKBGF4RSQUMzgyMDExAWoxjBESejYCEDQ5NzgyhZmeowAYMjA1MzQyNjKjABQ1Ni41NTlGNQIUMjA2MTg4BSwRqhQ0ODYyMTABvBGqERJeNwIY+09gdqUMByp7CGgBQAFSPGlubmVyIGpvaW4sIGVxdWFsOltlcShi8wUELCA18wQpXVlFITPJzzQxYjdidWlsZF9oYXNoX8VQKDp7dG90YWw6MS4yxfgQZmV0Y2gVDgUuLDowc30hAdDe2wgtEDqiAAA9SowAocLJ5RA6ZGVzY1LLBsmjUqMAGCEevu/HqkI+agBOTwcBRhBtZXRhLE5NBxmHUmcADGINQ2+d7jxwnF54////////////ARgB')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (88) order by processing desc, job_id;"] [2024/05/06 16:37:14.504 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=10.784666ms] [2024/05/06 16:37:14.550 +08:00] [ERROR] [mvcc.go:1021] ["commit failed, no correspond lock found"] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6MjT/AAAAAAAAAAD3] ["start ts"=449572931046211584] [lock="{{0 0 0 0 0 false 0 false 0} [] [] []}"] [error="retryable: lock not found"] [stack="github.com/pingcap/tidb/store/mockstore/unistore/tikv.(*MVCCStore).Commit\n\tstore/mockstore/unistore/tikv/mvcc.go:1021\ngithub.com/pingcap/tidb/store/mockstore/unistore/tikv.(*Server).KvCommit\n\tstore/mockstore/unistore/tikv/server.go:366\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:183\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).sendReqToRegion\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1421\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReqCtx\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1177\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReq\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:234\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionCommit.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:98\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1036\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:969\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:788\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:222\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitTxn\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1701\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1692\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:37:14.551 +08:00] [WARN] [session.go:1025] ["can not retry txn"] [label=internal] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 16:37:14.552 +08:00] [WARN] [session.go:1041] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [2024/05/06 16:37:14.552 +08:00] [INFO] [job_table.go:255] ["[ddl] handle ddl job failed"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [job="ID:88, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:09.596 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:14.666 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 80, tp general"] [job="ID:88, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:09.596 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:14.674 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=305.221µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:37:14.691 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=296.572µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:37:14.712 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=288.596µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:37:14.731 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=401.912µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:37:14.752 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=304.896µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:37:14.770 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=65] ["start time"=4.19007ms] [phyTblIDs="[24]"] [actionTypes="[4096]"] [2024/05/06 16:37:14.831 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:14.831 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=88] [version=65] [2024/05/06 16:37:14.832 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=65] ["take time"=66.719582ms] [job="ID:88, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:09.596 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:14.900 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=88] [jobType="modify column"] [2024/05/06 16:37:14.905 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 80, tp general"] [job="ID:88, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:09.596 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:15.149 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=88] [2024/05/06 16:37:15.150 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:15.151 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 5.5760642879999995\n# Parse_time: 0\n# Compile_time: 0.006666847\n# Rewrite_time: 0.000023857\n# Optimize_time: 0\n# Wait_TS: 0.000072901\n# Is_internal: true\n# Digest: 8cf940b8227b3940066b7fea5e4a92b5903ecb0732d73409b58db69a2a25d5e6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.stats_histograms MODIFY last_analyze_pos LONGBLOB DEFAULT NULL;"] [2024/05/06 16:37:15.158 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=65] [cur_db=] [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 16:37:15.218 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=65] [cur_db=] [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 16:37:15.230 +08:00] [INFO] [txn.go:55] ["Try to create a new txn inside a transaction auto commit"] [schemaVersion=65] [txnStartTS=449572932200169472] [txnScope=global] [2024/05/06 16:37:15.232 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [2024/05/06 16:37:15.242 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=65] [cur_db=] [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\t);"] [user=] [2024/05/06 16:37:15.251 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=65] [cur_db=] [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\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\t);"] [user=] [2024/05/06 16:37:15.271 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=65] [cur_db=] [sql="ALTER TABLE mysql.tables_priv MODIFY COLUMN Column_priv SET('Select','Insert','Update','References')"] [user=] [2024/05/06 16:37:15.475 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:89, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:5, start time: 2024-05-06 16:37:15.314 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.tables_priv MODIFY COLUMN Column_priv SET('Select','Insert','Update','References')"] [2024/05/06 16:37:15.476 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:89, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:5, start time: 2024-05-06 16:37:15.314 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:37:15.576 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 80, tp general"] [job="ID:89, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:15.314 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:15.679 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=65] [neededSchemaVersion=66] ["start time"=3.453282ms] [phyTblIDs="[12]"] [actionTypes="[4096]"] [2024/05/06 16:37:15.731 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:15.732 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=89] [version=66] [2024/05/06 16:37:15.732 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=66] ["take time"=62.22953ms] [job="ID:89, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:15.314 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:15.802 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=89] [jobType="modify column"] [2024/05/06 16:37:15.824 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 80, tp general"] [job="ID:89, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:15.314 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:15.952 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=89] [2024/05/06 16:37:15.952 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:15.954 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.684478128\n# Parse_time: 0\n# Compile_time: 0.001471795\n# Rewrite_time: 0.000017595\n# Optimize_time: 0\n# Wait_TS: 0.000093039\n# Is_internal: true\n# Digest: 14950ce634ff75bc56add1463f872b77428f3c8a7f8e2613c88838ecff9b91d9\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.tables_priv MODIFY COLUMN Column_priv SET('Select','Insert','Update','References');"] [2024/05/06 16:37:15.986 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=66] [cur_db=] [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 16:37:15.992 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=66] [cur_db=] [sql="ALTER TABLE mysql.user CHANGE `Repl_slave_priv` `Repl_slave_priv` ENUM('N','Y') NOT NULL DEFAULT 'N' AFTER `Execute_priv`"] [user=] [2024/05/06 16:37:16.059 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:90, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:5, start time: 2024-05-06 16:37:16.005 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.user CHANGE `Repl_slave_priv` `Repl_slave_priv` ENUM('N','Y') NOT NULL DEFAULT 'N' AFTER `Execute_priv`"] [2024/05/06 16:37:16.060 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:90, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:5, start time: 2024-05-06 16:37:16.005 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:37:16.126 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 80, tp general"] [job="ID:90, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:16.005 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:19.644 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000005a, primary: 6d44423a3100000000fb00000000000000685461626c653a3400fe, txnStartTS: 449572932452614144, lockForUpdateTS:0, minCommitTs:0, ttl: 3501, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:19.645 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000005a, primary: 6d44423a3100000000fb00000000000000685461626c653a3400fe, txnStartTS: 449572932452614144, lockForUpdateTS:0, minCommitTs:0, ttl: 3501, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:19.645 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000005a, primary: 6d44423a3100000000fb00000000000000685461626c653a3400fe, txnStartTS: 449572932452614144, lockForUpdateTS:0, minCommitTs:0, ttl: 3501, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:19.646 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000005a, primary: 6d44423a3100000000fb00000000000000685461626c653a3400fe, txnStartTS: 449572932452614144, lockForUpdateTS:0, minCommitTs:0, ttl: 3501, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:19.646 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000005a, primary: 6d44423a3100000000fb00000000000000685461626c653a3400fe, txnStartTS: 449572932452614144, lockForUpdateTS:0, minCommitTs:0, ttl: 3501, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:19.648 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000005a, primary: 6d44423a3100000000fb00000000000000685461626c653a3400fe, txnStartTS: 449572932452614144, lockForUpdateTS:0, minCommitTs:0, ttl: 3501, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:19.649 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000005a, primary: 6d44423a3100000000fb00000000000000685461626c653a3400fe, txnStartTS: 449572932452614144, lockForUpdateTS:0, minCommitTs:0, ttl: 3501, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:19.649 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000005a, primary: 6d44423a3100000000fb00000000000000685461626c653a3400fe, txnStartTS: 449572932452614144, lockForUpdateTS:0, minCommitTs:0, ttl: 3501, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:19.649 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000005a, primary: 6d44423a3100000000fb00000000000000685461626c653a3400fe, txnStartTS: 449572932452614144, lockForUpdateTS:0, minCommitTs:0, ttl: 3501, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:19.649 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000005a, primary: 6d44423a3100000000fb00000000000000685461626c653a3400fe, txnStartTS: 449572932452614144, lockForUpdateTS:0, minCommitTs:0, ttl: 3501, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:19.649 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffb5f72800000000000005a, primary: 6d44423a3100000000fb00000000000000685461626c653a3400fe, txnStartTS: 449572932452614144, lockForUpdateTS:0, minCommitTs:0, ttl: 3501, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:19.650 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000005a, primary: 6d44423a3100000000fb00000000000000685461626c653a3400fe, txnStartTS: 449572932452614144, lockForUpdateTS:0, minCommitTs:0, ttl: 3501, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:19.650 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000005a, primary: 6d44423a3100000000fb00000000000000685461626c653a3400fe, txnStartTS: 449572932452614144, lockForUpdateTS:0, minCommitTs:0, ttl: 3501, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:19.651 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 748000fffffffffffe5f72800000000000005a, primary: 6d44423a3100000000fb00000000000000685461626c653a3400fe, txnStartTS: 449572932452614144, lockForUpdateTS:0, minCommitTs:0, ttl: 3501, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:19.653 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572932583686144\n# Query_time: 3.042920923\n# Parse_time: 0\n# Compile_time: 0.017414826\n# Rewrite_time: 0.000979157\n# Optimize_time: 0.010566787\n# Wait_TS: 0.000097221\n# Cop_time: 3.006784929 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 175\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000013037\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('2gPweTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkwCXRpbWU6My4wMXMsIGxvb3BzOjEsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDIuMTZtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMW1zLCBycGNfCTYQNDI4LCABDwB0AWUUIDEuNzRzBV3wTHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOntudW1fcnBjOjE0MjcsAYAMYWxfdAFkeDg5MC4zbXN9CTE3NSBCeXRlcwlOL0EKMQkxXzYJMV85CuhsZShteXNxbC50aWRiX21kbF9pbmZvLnZlcnNpb24sIDY2KQkwCXRpa3ZfdGFzazp7dGltZToxLjk1bTUpBDB9AV0BBBgKMgk0M181BWIsMTAwMDAJdGFibGU6Ml0AfCwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvrnAA')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('wgSYCr0ECg1UYWJsZVJlYWRlcl83EpwCCgtTZWxlY3Rpb25fNhKZAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBpAIjDQDgCQAJKGAoWCgVteXNxbBINdGlkYl9tZGxfaW5mb1Iea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6MS45NW1zLCBsb29wczowfXD//////wEEBAF4AQYFAQABBYgsgE8iQSmrqqqqqvapBYgQUiNsZSgFhwAuMoYAOC52ZXJzaW9uLCA2NilqINpzAAFqDOpz5kAZcyQBQAFSEGRhdGE6PTcIWhN0AcgMMy4wMRXHIDFiwQFjb3BfdAHooCB7bnVtOiAxLCBtYXg6IDIuMTZtcywgcHJvY19rZXlzOiAwLCB0b3RfARIIOiAxAR0McnBjXwk2DDQyOCwFDwVm8EkgMS43NHMsIGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX0sIFJlc29sdmVMb2NrOgGVIF9ycGM6MTQyNwWADGFsX3QBylw4OTAuM21zfXCvAXj///////////8BGAE=')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 66;"] [2024/05/06 16:37:19.664 +08:00] [INFO] [lock_resolver.go:1115] ["resolveLock rollback"] [lock="key: 6d446966663a363700fe0000000000000073, primary: 6d44423a3100000000fb00000000000000685461626c653a3400fe, txnStartTS: 449572932452614144, lockForUpdateTS:0, minCommitTs:449572932452614145, ttl: 3501, type: Put, UseAsyncCommit: false, txnSize: 0"] [2024/05/06 16:37:19.666 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572932707680256\n# Query_time: 2.579355627\n# Parse_time: 0\n# Compile_time: 0.017621483\n# Rewrite_time: 0.003151054\n# Optimize_time: 0.011567316\n# Wait_TS: 0.000101981\n# Cop_time: 2.528468516 Process_time: 0.002 Request_count: 2\n# Is_internal: true\n# Digest: a5ae371f91ff344239c371574cfd61b79aa3a5899858f81f0a16e0e20d2730bc\n# Stats: tidb_ddl_job:pseudo\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.001 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 12630\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('1BO4MAkzXzEzCTAJMjI3OC44MAlteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIG1GHQDwQ3Byb2Nlc3NpbmcJMAl0aW1lOjIuNTRzLCBsb29wczoxLCBDb25jdXJyZW5jeTo1CTExLjggS0IJTi9BCjEJMTRfMTQJcn4AGWEUOmRlc2MsToUAFGpvYl9pZFaBABwJMCBCeXRlcxEIHAoyCTE3XzI4HfRUaW5uZXIgam9pbiwgZXF1YWw6W2VxKFoKAQRpZAHTIGx1bW4jMTUpXVZ1AJgsIGJ1aWxkX2hhc2hfdGFibGU6e3RvdGFsOjEuMThtcywgZmV0Y2gVDgUuDDowc30RphEIJAozCTMxXzQxKEIBUAApHbVAZGF0YTpTZWxlY3Rpb25fNDARihg5MDguOMK1LoMBbGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuMzkBjSFkNF9rZXlzOiAwLCB0b3RfARIIOiAxAR0McnBjXxE2AQwl5RAgMS4yNgEemGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvblUCHCAxNX0JMTc1LZUYTi9BCjQJMQG/BDFfcggCDHJlb3JJZARrdgnNAHsFigwxLjA3AYlJcAQwfQFTAQQcCjUJNDRfMzkFWBw2NjY2LjY3CSmLLt4C8DwsIHJhbmdlOlstaW5mLDkwKSwgKDkwLCtpbmZdLCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG8JQfKajgAsMwk2XzI5KFByb2JlIcc4NjQwMAlncm91cCBieTpDUVFALCBmdW5jczpmaXJzdHJvdygVGggpLT4VDDHrADI6awNMcGFydGlhbF93b3JrZXI6e3dhbGwpsDgyLjUzNTQwNDcyOXMsIGM9kQg1LCBBGyXjLf1Ed2FpdDoxMi42NzIyODEwOTZzSRUUZXhlYzowDQ0pfQUlGDM3NjkzMnNJVQFqMDQ1ODE3MTNzLCBwOTUyEgAUfSwgZmluZqMAEDk0NzM0AUuiowAYMzY4NjEyNQ2WBaMYNjAuMjIxwmEDQcwZqhQzNzc5NzQBmEH/AaoUNTQ0MDAxIRQRqhESWUlBoAAzYV8ltBRub3QoZXE5mBwsIDkwKSksIAEYFGlzbnVsbBkcACkh6gV/AWwAc7UVCAkzOJGWYQEQNQk2XzMh1Qg4MDBdFUqBBGGXAGWlblIIBSBzY2hlbWFfaWQhjEasBUX+CR5JZghtaW4VrQA4MmECADFKtwAEMix2YQIYMjk3NzA2N6H9Xr4BADFJSVVhGDQ2MTQ0MDUh8SGqJb4cMjEwLjA3MsJCvwEENDZFHQEtLb8UMjkzNzY2JdEtvxUSemkCFDAyNjQ5NCH4oqsAGDc5OTIxNTEuaQIYMTg2LjA3N0qrABQ4MjA5MTMhCxWrDDcyNzMFvRWrDRJZagA2oe0MMzYJMEkKpeMkSGFzaEFnZ18zMV6VAWbeBQg5NG1hhAhyb2OK3gUMMjY5LDLhBQA0Ab/O4AU0LCBSZXNvbHZlTG9jazrBcyRfcnBjOjEyNjgsIegAYY2VKDc0My45bXN9CTE5Lg8DADdhDwAxpbj+EQPOEQNKOQMWYAh9IQA4JYw++wUAN+USQokGFDgJNDNfM4FGDDAJMTBh42WJOocGemsGYZGacAA=')\n# Plan_digest: ae1f28c9bec84b2f3ff25dddc3b860cc6fff8524d66eb8eb50996995f37bdd0c\n# Binary_plan: tidb_decode_binary_plan('qRbwSQqkFgoNUHJvamVjdGlvbl8xMxKOFQoHU29ydF8xNBKYFAoLSGFzaEpvaW5fMjgSpgQKDlRhYmxlUmVhZGVyXzQxEq8CCgxTZWxlCUAYNDAStgEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjpyAT3wWzpbLWluZiw5MCksICg5MCwraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvaiB0aWt2X3Rhc2s6e3RpbWU6MS4wN21zLCBsb29wczowfXD/////BQMEAXgFBwEBAAEFoyyAMSdBKdXl9geZzaEFowRSGAWfBC50HZ4ULnJlb3Jn3mgALBoBASFXgNxrTmnrQBlrKAFAAVIRZGF0YTpTPU04WhZ0aW1lOjkwOC44wrVzEcMYMWKPAWNvcAnkoCB7bnVtOiAxLCBtYXg6IDEuMzltcywgcHJvY19rZXlzOiAwLCB0b3RfARIIOiAxAR0McnBjXxE2AQwFZhAgMS4yNgEe2GNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxNX1wrwE9TBASvQ4KCkE5IEFnZ18yORLgCi4lAhAzMBLmCRkgEDM1ErQFNlgCEDM2EpEDHSIUMRKbAQoQRVYMRnVsbElVADQlshTw7zBBKQABARCIw0AwAXZXAgAexjsCADclEwBshjsCCChlMQ2JBEC/DYk8UpQBZ3JvdXAgYnk6bXlzcTpHAiGRHGVzc2luZywgSh8AJHNjaGVtYV9pZHNSHwAQdGFibGUJHiRmdW5jczptaW4oSkcARGpvYl9pZCktPkNvbHVtbiMxOE66ApLnABze3d3dHT73QClwCedBuQQPZEG5CEhhcyXwDDMxWhNFUQwyLjUzVbQIMmLBarQCBDk0QXkhEYq0AgwyNjksMrcCDDQ0cyzStgI0LCBSZXNvbHZlTG9jazphSSBfcnBjOjEyNjhlNARhbGkbJDc0My45bXN9cL4yMgQhEAytbPhAPhABAIT+9wG+9wE12z3nADVWhgFQ1gJwYXJ0aWFsX3dvcmtlcjp7d2FsDeckMi41Mjk3NzA2NylRAG514xg1LCB0YXNrhTUAMSUbSF93YWl0OjEyLjY0NjE0NDA1MnMJGCxleGVjOjIxMC4wNzKFtIF8RRAJLRA0NzM0MgEtga8FchAzNzY2NEEqCHA5NTISABR9LCBmaW5eqwAcMzAyNjQ5NDkl/JqrABg3OTkyMTUxLqsAGDE4Ni4wNzdKqwAUODIwOTEzIQsVqww3MjczBb0Vqw0SXlUGRSMESP5NIwgAuUBlMRgubm90KGVxNbggNSwgOTApKSwgARgUaXNudWxsGRwEKSlOygEQMXD8AnjBuQUBKAEaAQIhRERERCRjPmwABDhnkYNRJgQ1LI0yHGZpcnN0cm93HWyZJ11AIQOpAggxYs12QAIYMzU0MDQ3Mm6VAQQwLEUTVUAcNzIyODEwOTYulQEAMA0NVTgYNzIzNzY5M104GDM0NTgxNzFdOBUSejgCBDU5RYRqOAIAMD6jABgzNjg2MTI1DZZF4xQ2MC4yMjFGNwIUNzM3Nzk3RdBNNxgzNTQ0MDAxIRRNNxUSXjcCGMjbhmDlDAcqjAhoAUABUjxpbm5lciBqb2luLCBlcXVhbDpbZXEoYvUFBCwgNfMEKV1ZRS7PASw3YnVpbGRfaGFzaF/FUlA6e3RvdGFsOjEuMThtcywgZmV0Y2gVDgUuLDowc30hQpZ9D/ItEDqiAAA9SowAodbJ5xA6ZGVzY1LNBsmlUqMAGCHvJIctl0M+agBOUQcBRhBtZXRhLE5PBxmHUmcADGINQ2+dRTxwnF54////////////ARgB')\nselect job_meta, processing from mysql.tidb_ddl_job where job_id in (select min(job_id) from mysql.tidb_ddl_job group by schema_ids, table_ids, processing) and reorg and job_id not in (90) order by processing desc, job_id;"] [2024/05/06 16:37:20.137 +08:00] [ERROR] [mvcc.go:1021] ["commit failed, no correspond lock found"] [key=bURCOjEAAAAA+wAAAAAAAABoVGFibGU6NAD+] ["start ts"=449572932452614144] [lock="{{0 0 0 0 0 false 0 false 0} [] [] []}"] [error="retryable: lock not found"] [stack="github.com/pingcap/tidb/store/mockstore/unistore/tikv.(*MVCCStore).Commit\n\tstore/mockstore/unistore/tikv/mvcc.go:1021\ngithub.com/pingcap/tidb/store/mockstore/unistore/tikv.(*Server).KvCommit\n\tstore/mockstore/unistore/tikv/server.go:366\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:183\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).sendReqToRegion\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1421\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReqCtx\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1177\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReq\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:234\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionCommit.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:98\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1036\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:969\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:788\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:222\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitTxn\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1701\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1692\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:37:20.138 +08:00] [WARN] [session.go:1025] ["can not retry txn"] [label=internal] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 16:37:20.139 +08:00] [WARN] [session.go:1041] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [2024/05/06 16:37:20.139 +08:00] [INFO] [job_table.go:255] ["[ddl] handle ddl job failed"] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/ddl.(*session).commit\n\tddl/ddl.go:1786\ngithub.com/pingcap/tidb/ddl.(*worker).HandleDDLJobTable\n\tddl/ddl_worker.go:893\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:252\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [job="ID:90, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:16.005 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:20.178 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 80, tp general"] [job="ID:90, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:16.005 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:20.205 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=273.85µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:37:20.233 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=368.814µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:37:20.255 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=254.892µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:37:20.271 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=350.858µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:37:20.311 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=345.613µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:37:20.354 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=397.393µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:37:20.377 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=322.354µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:37:20.407 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=258.359µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:37:20.435 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=346.03µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:37:20.449 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=15.640046ms] [2024/05/06 16:37:20.485 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=381.58µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:37:20.505 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=288.715µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:37:20.637 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=362.737µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:37:20.656 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=284.925µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:37:20.672 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572933514821632\n# Query_time: 0.315357802\n# Parse_time: 0\n# Compile_time: 0.312235244\n# Rewrite_time: 0.000233235\n# Optimize_time: 0\n# Wait_TS: 0.000084018\n# Is_internal: true\n# Digest: 97fee0577cfae72ca71097e77c429509f8ce51c8c933f491cff959296248fc4a\n# Num_cop_tasks: 0\n# Mem_max: 108823\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: true\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('ogGwMAkyOF8zCTAJMAlOL0EJMAl0aW1lOjEuOTZtcywgbG9vcHM6MQkyLjI3IEtCASOgCjEJMzZfMQkwCTEJdGFibGU6dGlkYl9kZGxfam9iLCBoYW5kbGU6OTABIAFMGDUzMS42wrUVTmAyLCBHZXQ6e251bV9ycGM6MSwgdG90YWxfBS5EMTc2LjTCtXN9CU4vQQlOL0EK')\n# Plan_digest: 3fea32741ba131a439f08d925bc0d60ce688c732cc613c6d3625da6592028edc\n# Binary_plan: tidb_decode_binary_plan('0wF4Cs4BCghVcGRhdGVfMxKUAQoLUG9pbnRfR2V0XzEpAAUB8HXwPzABOAFAAUoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSCWhhbmRsZTo5MFoWdGltZTo1MzEuNsK1cywgbG9vcHM6MmIkR2V0OntudW1fcnBjOjEsIHRvdGFsX3RpbWU6MTc2LjTCtXN9cP///////////wF4CQgI////BXwYUgNOL0FaFAkvGC45Nm1zLCAJW0AxcJcSeP///////////wEYAQ==')\nupdate mysql.tidb_ddl_job set job_meta = 0x7b226964223a39302c2274797065223a31322c22736368656d615f6964223a312c227461626c655f6964223a342c22736368656d615f6e616d65223a226d7973716c222c227461626c655f6e616d65223a2275736572222c227374617465223a342c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b5b5d2c5b5d5d2c22736368656d615f7374617465223a352c22736e617073686f745f766572223a302c227265616c5f73746172745f7473223a3434393537323933333531343832313633322c2273746172745f7473223a3434393537323933323432303839343732302c22646570656e64656e63795f6964223a302c227175657279223a22414c544552205441424c45206d7973716c2e75736572204348414e474520605265706c5f736c6176655f707269766020605265706c5f736c6176655f707269766020454e554d28274e272c27592729204e4f54204e554c4c2044454641554c5420274e272041465445522060457865637574655f7072697660222c2262696e6c6f67223a7b22536368656d6156657273696f6e223a36382c224442496e666f223a6e756c6c2c225461626c65496e666f223a7b226964223a342c226e616d65223a7b224f223a2275736572222c224c223a2275736572227d2c2263686172736574223a22757466386d6234222c22636f6c6c617465223a22757466386d62345f62696e222c22636f6c73223a5b7b226964223a312c226e616d65223a7b224f223a22486f7374222c224c223a22686f7374227d2c226f6666736574223a302c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235342c22466c6167223a343039392c22466c656e223a3235352c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a322c226e616d65223a7b224f223a2255736572222c224c223a2275736572227d2c226f6666736574223a312c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235342c22466c6167223a343039392c22466c656e223a33322c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a332c226e616d65223a7b224f223a2261757468656e7469636174696f6e5f737472696e67222c224c223a2261757468656e7469636174696f6e5f737472696e67227d2c226f6666736574223a322c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235322c22466c6167223a302c22466c656e223a36353533352c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a342c226e616d65223a7b224f223a22706c7567696e222c224c223a22706c7567696e227d2c226f6666736574223a332c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2(len:43867);"] [2024/05/06 16:37:20.675 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=318.088µs] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 16:37:20.710 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=68] ["start time"=13.72902ms] [phyTblIDs="[4]"] [actionTypes="[4096]"] [2024/05/06 16:37:20.711 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=14.994918ms] [2024/05/06 16:37:20.783 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:20.783 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=90] [version=68] [2024/05/06 16:37:20.783 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=68] ["take time"=102.484362ms] [job="ID:90, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:16.005 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:20.867 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=90] [jobType="modify column"] [2024/05/06 16:37:20.872 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 80, tp general"] [job="ID:90, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:16.005 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:21.374 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=90] [2024/05/06 16:37:21.374 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:21.376 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 5.3856857399999996\n# Parse_time: 0\n# Compile_time: 0.002233458\n# Rewrite_time: 0.000029165\n# Optimize_time: 0\n# Wait_TS: 0.000083691\n# Is_internal: true\n# Digest: 9277d5b9e5785a289b450aea98e4ed497a393620211123b26ad941a29e356a32\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.user CHANGE `Repl_slave_priv` `Repl_slave_priv` ENUM('N','Y') NOT NULL DEFAULT 'N' AFTER `Execute_priv`;"] [2024/05/06 16:37:21.380 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=68] [cur_db=] [sql="ALTER TABLE mysql.user CHANGE `Repl_client_priv` `Repl_client_priv` ENUM('N','Y') NOT NULL DEFAULT 'N' AFTER `Repl_slave_priv`"] [user=] [2024/05/06 16:37:21.921 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572933838569472\n# Query_time: 0.517253954\n# Parse_time: 0\n# Compile_time: 0.01051883\n# Rewrite_time: 0.000289048\n# Optimize_time: 0.001831265\n# Wait_TS: 0.000084229\n# Prewrite_time: 0.000750442 Commit_time: 0.000610901 Get_commit_ts_time: 0.000018254 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 1418 Prewrite_region: 1\n# Is_internal: true\n# Digest: 1b73a00c73a03d7dc9dd08a1ea99474b2523e5f72366f740be5156fa244256c4\n# Num_cop_tasks: 0\n# Mem_max: 10070\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('1ALwbTAJMjdfMQkwCTAJTi9BCTAJdGltZTozLjY5bXMsIGxvb3BzOjEsIHByZXBhcmU6IDMuMjNtcywgaW5zZXJ0OjQ2MS40wrVzLCBjb21taXRfdHhuOiB7cHJld3JpdGU6NzUwLjTCtXMsIGdldF9jDSQUczoxOC4zHTcUOjYxMC45BREcc2xvd2VzdF8RQ9hfcnBjOiB7dG90YWw6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG9yZTogc3RvcmUxLCB9LCBjCWoYcHJpbWFyeUZEAAAwikQADWQIbnVtIQIF0BBfa2V5cxkOWGJ5dGU6MTQxOH0JMS44MyBLQglOL0EK')\n# Binary_plan: tidb_decode_binary_plan('3wLoCtoCCghJbnNlcnRfMTgBQAFSA04vQVoUdGltZTozLjY5bXMsIGxvb3BzOjFiIHByZXBhcmU6IDMuMjMBGgRpbgE6kDo0NjEuNMK1c2L+AWNvbW1pdF90eG46IHtwcmV3cml0ZTo3NTAFIRQsIGdldF8RJChzOjE4LjPCtXMsIAkTFDo2MTAuOQURHHNsb3dlc3RfEUOYX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvAZ0AcwEHDDEsIH0RVxxfcHJpbWFyeUZEAAAwikQADWQYbnVtOjEsIAXQEF9rZXlzGQ5kYnl0ZToxNDE4fXDWDnj///////////8BGAE=')\ninsert into mysql.tidb_ddl_job(job_id, reorg, schema_ids, table_ids, job_meta, type, processing) values(91, false, \"1\", \"4\", 0x7b226964223a39312c2274797065223a31322c22736368656d615f6964223a312c227461626c655f6964223a342c22736368656d615f6e616d65223a226d7973716c222c227461626c655f6e616d65223a2275736572222c227374617465223a382c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b7b226964223a32382c226e616d65223a7b224f223a225265706c5f636c69656e745f70726976222c224c223a227265706c5f636c69656e745f70726976227d2c226f6666736574223a32372c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a224e222c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3234372c22466c6167223a312c22466c656e223a312c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a5b224e222c2259225d2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b224f223a225265706c5f636c69656e745f70726976222c224c223a227265706c5f636c69656e745f70726976227d2c7b225470223a322c2252656c6174697665436f6c756d6e223a7b22536368656d61223a7b224f223a22222c224c223a22227d2c225461626c65223a7b224f223a22222c224c223a22227d2c224e616d65223a7b224f223a225265706c5f736c6176655f70726976222c224c223a227265706c5f736c6176655f70726976227d7d7d2c302c305d2c22736368656d615f7374617465223a302c22736e617073686f745f766572223a302c227265616c5f73746172745f7473223a302c2273746172745f7473223a3434393537323933333833333332363539322c22646570656e64656e63795f6964223a302c227175657279223a22414c544552205441424c45206d7973716c2e75736572204348414e474520605265706c5f636c69656e745f707269766020605265706c5f636c69656e745f707269766020454e554d28274e272c27592729204e4f54204e554c4c2044454641554c5420274e2720414654455220605265706c5f736c6176655f7072697660222c2262696e6c6f67223a7b22536368656d6156657273696f6e223a302c224442496e666f223a6e756c6c2c225461626c65496e666f223a6e756c6c2c2246696e69736865645453223a302c224d756c7469706c655461626c65496e666f73223a6e756c6c7d2c2276657273696f6e223a312c2272656f72675f6d657461223a7b22656e645f68616e646c65223a302c2273716c5f6d6f6465223a302c227761726e696e6773223a7b7d2c227761726e696e67735f636f756e74223a7b7d2c226c6f636174696f6e223a7b226e616d65223a22417369612f5368616e67686169222c226f6666736574223a307d2c2272656f72675f7470223a307d2c226d756c74695f736368656d615f696e666f223a6e756c6c2c227072696f72697479223a302c227365715f6e756d223a302c2263686172736574223a22222c22636f6c6c617465223a22227d, 12, false);"] [2024/05/06 16:37:21.922 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:91, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:5, start time: 2024-05-06 16:37:21.393 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 16:37:21.922 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:91, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:5, start time: 2024-05-06 16:37:21.393 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="ALTER TABLE mysql.user CHANGE `Repl_client_priv` `Repl_client_priv` ENUM('N','Y') NOT NULL DEFAULT 'N' AFTER `Repl_slave_priv`"] [2024/05/06 16:37:22.171 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=14.59971ms] [2024/05/06 16:37:22.512 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572933993496576\n# Query_time: 0.508285643\n# Parse_time: 0\n# Compile_time: 0.001716549\n# Rewrite_time: 0.003273752\n# Optimize_time: 0.005465162\n# Wait_TS: 0.000094707\n# Prewrite_time: 0.000763091 Commit_time: 0.000803984 Get_commit_ts_time: 0.000025955 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 1418 Prewrite_region: 1\n# Is_internal: true\n# Digest: bb9a0484a27cea37dfc9b79800bc11ddc72f4ac11810a6eb126d600a567ce029\n# Num_cop_tasks: 0\n# Mem_max: 10519\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('ngPwTDAJMjhfMwkwCTAJTi9BCTAJdGltZToxLjQ0bXMsIGxvb3BzOjEsIGNvbW1pdF90eG46IHtwcmV3cml0ZTo3NjMuMcK1cywgZ2V0X2NvCSQYczoyNsK1cxE1DDo4MDQFDyBzbG93ZXN0X3ANP+hfcnBjOiB7dG90YWw6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG9yZTogc3RvcmUxLCB9LCBjb21taQFFEGltYXJ51kQADWQIbnVtAdwFzBBfa2V5cxkO8D5ieXRlOjE0MTh9CTIuMjcgS0IJTi9BCjEJMzZfMQkwCTEJdGFibGU6dGlkYl9kZGxfam9iLCBoYW5kbGU6OTEBICFIEDQ2OS44Bf0pSigyLCBHZXQ6e251bQW6DDEsIHQB/wBfBS5EMTY2LjHCtXN9CU4vQQlOL0EK')\n# Plan_digest: 3fea32741ba131a439f08d925bc0d60ce688c732cc613c6d3625da6592028edc\n# Binary_plan: tidb_decode_binary_plan('0AN4CssDCghVcGRhdGVfMxKUAQoLUG9pbnRfR2V0XzEpAAUB8HXwPzABOAFAAUoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSCWhhbmRsZTo5MVoWdGltZTo0NjkuOMK1cywgbG9vcHM6MmIkR2V0OntudW1fcnBjOjEsIHRvdGFsX3RpbWU6MTY2LjHCtXN9cP///////////wF4CQgI////BXwYUgNOL0FaFAkvGC40NG1zLCAJW3wxYvoBY29tbWl0X3R4bjoge3ByZXdyaXRlOjc2My4xwgGFDGdldF8RJAxzOjI2BRUJEQw6ODA0BQ8cc2xvd2VzdF8RPxhfcnBjOiB7Bad0OiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6CQcQMSwgfSwNVRxfcHJpbWFyedZEAA1kGG51bToxLCAFzBBfa2V5cxkOZGJ5dGU6MTQxOH1wlxJ4////////////ARgB')\nupdate mysql.tidb_ddl_job set processing = 1 where job_id = 91;"] [2024/05/06 16:37:22.517 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 80, tp general"] [job="ID:91, Type:modify column, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:21.393 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:23.018 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=14.096716ms] [2024/05/06 16:37:23.544 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572934127714304\n# Query_time: 0.341039515\n# Parse_time: 0\n# Compile_time: 0.336734197\n# Rewrite_time: 0.000218218\n# Optimize_time: 0\n# Wait_TS: 0.000080956\n# Is_internal: true\n# Digest: 97fee0577cfae72ca71097e77c429509f8ce51c8c933f491cff959296248fc4a\n# Num_cop_tasks: 0\n# Mem_max: 108823\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: true\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('oAGwMAkyOF8zCTAJMAlOL0EJMAl0aW1lOjMuMjltcywgbG9vcHM6MQkyLjI3IEtCASOgCjEJMzZfMQkwCTEJdGFibGU6dGlkYl9kZGxfam9iLCBoYW5kbGU6OTEBIAFMCDIuMB1MYDIsIEdldDp7bnVtX3JwYzoxLCB0b3RhbF8FLEQxNjYuN8K1c30JTi9BCU4vQQo=')\n# Plan_digest: 3fea32741ba131a439f08d925bc0d60ce688c732cc613c6d3625da6592028edc\n# Binary_plan: tidb_decode_binary_plan('0QF4CswBCghVcGRhdGVfMxKSAQoLUG9pbnRfR2V0XzEpAAUB8G3wPzABOAFAAUoXChUKBW15c3FsEgx0aWRiX2RkbF9qb2JSCWhhbmRsZTo5MVoUdGltZToyLjA5bXMsIGxvb3BzOjJiJEdldDp7bnVtX3JwYzoxLCB0b3RhbF90aW1lOjE2Ni43wrVzfXD//////wEEBAF4AQYFAQV6FFIDTi9BWglbDDMuMjkZW0AxcJcSeP///////////wEYAQ==')\nupdate mysql.tidb_ddl_job set job_meta = 0x7b226964223a39312c2274797065223a31322c22736368656d615f6964223a312c227461626c655f6964223a342c22736368656d615f6e616d65223a226d7973716c222c227461626c655f6e616d65223a2275736572222c227374617465223a342c227761726e696e67223a6e756c6c2c22657272223a6e756c6c2c226572725f636f756e74223a302c22726f775f636f756e74223a302c227261775f61726773223a5b5b5d2c5b5d5d2c22736368656d615f7374617465223a352c22736e617073686f745f766572223a302c227265616c5f73746172745f7473223a3434393537323933343132373731343330342c2273746172745f7473223a3434393537323933333833333332363539322c22646570656e64656e63795f6964223a302c227175657279223a22414c544552205441424c45206d7973716c2e75736572204348414e474520605265706c5f636c69656e745f707269766020605265706c5f636c69656e745f707269766020454e554d28274e272c27592729204e4f54204e554c4c2044454641554c5420274e2720414654455220605265706c5f736c6176655f7072697660222c2262696e6c6f67223a7b22536368656d6156657273696f6e223a36392c224442496e666f223a6e756c6c2c225461626c65496e666f223a7b226964223a342c226e616d65223a7b224f223a2275736572222c224c223a2275736572227d2c2263686172736574223a22757466386d6234222c22636f6c6c617465223a22757466386d62345f62696e222c22636f6c73223a5b7b226964223a312c226e616d65223a7b224f223a22486f7374222c224c223a22686f7374227d2c226f6666736574223a302c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235342c22466c6167223a343039392c22466c656e223a3235352c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a322c226e616d65223a7b224f223a2255736572222c224c223a2275736572227d2c226f6666736574223a312c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235342c22466c6167223a343039392c22466c656e223a33322c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a332c226e616d65223a7b224f223a2261757468656e7469636174696f6e5f737472696e67222c224c223a2261757468656e7469636174696f6e5f737472696e67227d2c226f6666736574223a322c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6e756c6c2c2264656661756c745f626974223a6e756c6c2c2264656661756c745f69735f65787072223a66616c73652c2267656e6572617465645f657870725f737472696e67223a22222c2267656e6572617465645f73746f726564223a66616c73652c22646570656e64656e636573223a6e756c6c2c2274797065223a7b225470223a3235322c22466c6167223a302c22466c656e223a36353533352c22446563696d616c223a302c2243686172736574223a22757466386d6234222c22436f6c6c617465223a22757466386d62345f62696e222c22456c656d73223a6e756c6c2c22456c656d73497342696e6172794c6974223a6e756c6c7d2c227374617465223a352c22636f6d6d656e74223a22222c2268696464656e223a66616c73652c226368616e67655f73746174655f696e666f223a6e756c6c2c2276657273696f6e223a327d2c7b226964223a342c226e616d65223a7b224f223a22706c7567696e222c224c223a22706c7567696e227d2c226f6666736574223a332c226f726967696e5f64656661756c74223a6e756c6c2c226f726967696e5f64656661756c745f626974223a6e756c6c2c2264656661756c74223a6(len:43877);"] [2024/05/06 16:37:23.574 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=68] [neededSchemaVersion=69] ["start time"=10.439978ms] [phyTblIDs="[4]"] [actionTypes="[4096]"] [2024/05/06 16:37:23.575 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=12.139328ms] [2024/05/06 16:37:23.631 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:23.631 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=91] [version=69] [2024/05/06 16:37:23.632 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=69] ["take time"=79.87079ms] [job="ID:91, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:21.393 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:26.644 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572934423150592\n# Query_time: 3.035248781\n# Parse_time: 0\n# Compile_time: 0.03397133\n# Rewrite_time: 0.003294328\n# Optimize_time: 0.004436106\n# Wait_TS: 0.000112274\n# Cop_time: 2.996294637 Process_time: 0.002 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.002 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 190\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000012785\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('1QPwhjAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkxCXRpbWU6M3MsIGxvb3BzOjIsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDIuNzNtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMm1zLCBycGNfbnVtOiAxODc2LCBycGNfdAFiGCAxLjk2cywBXfB5cl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6e251bV9ycGM6MTg3NSwgdG90YWxfdGltZTo1ODMuOW1zfQkxOTAgQnl0ZXMJTi9BCjEJMV82CTFfMAkxB4hsZShteXNxbC50aWRiX21kbF9pbmZvLnZlcnNpb24sIDY5KSUaBGt2KQkEe3QBwxAyLjVtczEoFDB9CU4vQQEEHAoyCTQzXzUJAWEsMTAwMDAJdGFibGU6MlwAfCwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvqm8A')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('wwSYCr4ECg1UYWJsZVJlYWRlcl83Ep4CCgtTZWxlY3Rpb25fNhKaAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBpAIjDQDABOAJAAkoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUh5rZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG9qH3Rpa3ZfdGFzazp7dGltZToyLjVtcywgbG9vcHM6MH1w/////wUEBAF4BQcBAQABBYksgE8iQSmrqqqqqvapDYkQUiNsZSgFiAAuMocAMC52ZXJzaW9uLCA2OSnedAABawzqc+ZALnQAJAFAAVIQZGF0YTo9OyRaEHRpbWU6M3MsDccYMmLBAWNvcAnnSCB7bnVtOiAxLCBtYXg6IDIuNzMB8URwcm9jX2tleXM6IDAsIHRvdF8BEgg6IDIBHQxycGNfCTYMODc2LAUPBWPwSSAxLjk2cywgY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6AZUgX3JwYzoxODc1BYAMYWxfdAHHXDU4My45bXN9cL4BeP///////////wEYAQ==')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 69;"] [2024/05/06 16:37:27.146 +08:00] [ERROR] [mvcc.go:1021] ["commit failed, no correspond lock found"] [key="dIAA///////7X3KAAAAAAAAAWw=="] ["start ts"=449572934421053440] [lock="{{0 0 0 0 0 false 0 false 0} [] [] []}"] [error="retryable: lock not found"] [stack="github.com/pingcap/tidb/store/mockstore/unistore/tikv.(*MVCCStore).Commit\n\tstore/mockstore/unistore/tikv/mvcc.go:1021\ngithub.com/pingcap/tidb/store/mockstore/unistore/tikv.(*Server).KvCommit\n\tstore/mockstore/unistore/tikv/server.go:366\ngithub.com/pingcap/tidb/store/mockstore/unistore.(*RPCClient).SendRequest\n\tstore/mockstore/unistore/rpc.go:183\ngithub.com/pingcap/tidb/store/mockstore.(*clientRedirector).SendRequest\n\tstore/mockstore/redirector.go:72\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest.func1\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:39\ngithub.com/pingcap/tidb/util/topsql/stmtstats.(*KvExecCounter).RPCInterceptor.func1.1\n\tutil/topsql/stmtstats/kv_exec_count.go:57\ngithub.com/tikv/client-go/v2/internal/client.interceptedClient.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_interceptor.go:40\ngithub.com/tikv/client-go/v2/internal/client.reqCollapse.SendRequest\n\texternal/com_github_tikv_client_go_v2/internal/client/client_collapse.go:74\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).sendReqToRegion\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1421\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReqCtx\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:1177\ngithub.com/tikv/client-go/v2/internal/locate.(*RegionRequestSender).SendReq\n\texternal/com_github_tikv_client_go_v2/internal/locate/region_request.go:234\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionCommit.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:98\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1036\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:969\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:788\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/commit.go:222\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitTxn\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1701\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1692\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/session.autoCommitAfterStmt\n\tsession/tidb.go:282\ngithub.com/pingcap/tidb/session.finishStmt\n\tsession/tidb.go:248\ngithub.com/pingcap/tidb/session.runStmt\n\tsession/session.go:2441\ngithub.com/pingcap/tidb/session.(*session).ExecuteStmt\n\tsession/session.go:2278\ngithub.com/pingcap/tidb/session.(*session).ExecuteInternal\n\tsession/session.go:1730\ngithub.com/pingcap/tidb/ddl.(*session).execute\n\tddl/ddl.go:1812\ngithub.com/pingcap/tidb/ddl.cleanMDLInfo\n\tddl/ddl_worker.go:537\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:275\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33"] [2024/05/06 16:37:27.147 +08:00] [WARN] [session.go:1015] [sql] [label=internal] [error="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]"] [errorVerbose="[kv:8022]Error: KV error safe to retry retryable: lock not found [try again later]\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/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:160\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:999\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/session.autoCommitAfterStmt\n\tsession/tidb.go:282\ngithub.com/pingcap/tidb/session.finishStmt\n\tsession/tidb.go:248\ngithub.com/pingcap/tidb/session.runStmt\n\tsession/session.go:2441\ngithub.com/pingcap/tidb/session.(*session).ExecuteStmt\n\tsession/session.go:2278\ngithub.com/pingcap/tidb/session.(*session).ExecuteInternal\n\tsession/session.go:1730\ngithub.com/pingcap/tidb/ddl.(*session).execute\n\tddl/ddl.go:1812\ngithub.com/pingcap/tidb/ddl.cleanMDLInfo\n\tddl/ddl_worker.go:537\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:275\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [txn="Txn{state=invalid}"] [2024/05/06 16:37:27.148 +08:00] [WARN] [session.go:1298] [retrying] [schemaVersion=69] [retryCnt=0] [queryNum=0] [sql="delete from mysql.tidb_mdl_info where job_id = 91"] [2024/05/06 16:37:27.150 +08:00] [WARN] [session.go:1321] ["transaction association"] ["retrying txnStartTS"=449572935341965312] ["original txnStartTS"=449572934421053440] [2024/05/06 16:37:32.189 +08:00] [WARN] [session.go:1337] [sql] [label=internal] [session="{\n \"currDBName\": \"\",\n \"id\": 0,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [error="[domain:8027]Information schema is out of date: schema failed to update in 1 lease, please make sure TiDB can connect to TiKV"] [errorVerbose="[domain:8027]Information schema is out of date: schema failed to update in 1 lease, please make sure TiDB can connect to TiKV\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).checkSchemaValid\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1922\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1586\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).retry\n\tsession/session.go:1331\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:1023\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/session.autoCommitAfterStmt\n\tsession/tidb.go:282\ngithub.com/pingcap/tidb/session.finishStmt\n\tsession/tidb.go:248\ngithub.com/pingcap/tidb/session.runStmt\n\tsession/session.go:2441\ngithub.com/pingcap/tidb/session.(*session).ExecuteStmt\n\tsession/session.go:2278\ngithub.com/pingcap/tidb/session.(*session).ExecuteInternal\n\tsession/session.go:1730\ngithub.com/pingcap/tidb/ddl.(*session).execute\n\tddl/ddl.go:1812\ngithub.com/pingcap/tidb/ddl.cleanMDLInfo\n\tddl/ddl_worker.go:537\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:275\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:174\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/store/driver/error.ToTiDBErr\n\tstore/driver/error/error.go:169\ngithub.com/pingcap/tidb/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:162\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).retry\n\tsession/session.go:1331\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:1023\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/session.autoCommitAfterStmt\n\tsession/tidb.go:282\ngithub.com/pingcap/tidb/session.finishStmt\n\tsession/tidb.go:248\ngithub.com/pingcap/tidb/session.runStmt\n\tsession/session.go:2441\ngithub.com/pingcap/tidb/session.(*session).ExecuteStmt\n\tsession/session.go:2278\ngithub.com/pingcap/tidb/session.(*session).ExecuteInternal\n\tsession/session.go:1730\ngithub.com/pingcap/tidb/ddl.(*session).execute\n\tddl/ddl.go:1812\ngithub.com/pingcap/tidb/ddl.cleanMDLInfo\n\tddl/ddl_worker.go:537\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:275\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [2024/05/06 16:37:32.192 +08:00] [WARN] [session.go:1041] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[domain:8027]Information schema is out of date: schema failed to update in 1 lease, please make sure TiDB can connect to TiKV"] [errorVerbose="[domain:8027]Information schema is out of date: schema failed to update in 1 lease, please make sure TiDB can connect to TiKV\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).checkSchemaValid\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1922\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1586\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).retry\n\tsession/session.go:1331\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:1023\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/session.autoCommitAfterStmt\n\tsession/tidb.go:282\ngithub.com/pingcap/tidb/session.finishStmt\n\tsession/tidb.go:248\ngithub.com/pingcap/tidb/session.runStmt\n\tsession/session.go:2441\ngithub.com/pingcap/tidb/session.(*session).ExecuteStmt\n\tsession/session.go:2278\ngithub.com/pingcap/tidb/session.(*session).ExecuteInternal\n\tsession/session.go:1730\ngithub.com/pingcap/tidb/ddl.(*session).execute\n\tddl/ddl.go:1812\ngithub.com/pingcap/tidb/ddl.cleanMDLInfo\n\tddl/ddl_worker.go:537\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:275\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:174\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/store/driver/error.ToTiDBErr\n\tstore/driver/error/error.go:169\ngithub.com/pingcap/tidb/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:162\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).retry\n\tsession/session.go:1331\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:1023\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/session.autoCommitAfterStmt\n\tsession/tidb.go:282\ngithub.com/pingcap/tidb/session.finishStmt\n\tsession/tidb.go:248\ngithub.com/pingcap/tidb/session.runStmt\n\tsession/session.go:2441\ngithub.com/pingcap/tidb/session.(*session).ExecuteStmt\n\tsession/session.go:2278\ngithub.com/pingcap/tidb/session.(*session).ExecuteInternal\n\tsession/session.go:1730\ngithub.com/pingcap/tidb/ddl.(*session).execute\n\tddl/ddl.go:1812\ngithub.com/pingcap/tidb/ddl.cleanMDLInfo\n\tddl/ddl_worker.go:537\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:275\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [2024/05/06 16:37:32.195 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572934421053440\n# Query_time: 8.560304614\n# Parse_time: 0\n# Compile_time: 0.001278079\n# Rewrite_time: 0\n# Optimize_time: 0\n# Wait_TS: 0.000074814\n# Prewrite_time: 0.000734306 Commit_time: 0.001172205 Get_commit_ts_time: 0.000013744 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 19 Prewrite_region: 1 Txn_retry: 1\n# Is_internal: true\n# Digest: bdab55af0288282745b06ae511bf5258d90e46fca67dd2e2ef0faca225d2d599\n# Num_cop_tasks: 0\n# Mem_max: 8587\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: false\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('uATwTDAJMjlfMgkwCTAJTi9BCTAJdGltZToxLjhtcywgbG9vcHM6MiwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjczNC4zwrVzLCBnZXRfY29tBSQUczoxMy43BRcJExA6MS4xNwFPHHNsb3dlc3RfEUHQX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwNVRxfcHJpbWFyedZEAA1kHG51bToxLCB3Ac4QX2tleXMZDlBieXRlOjE5LCB0eG5fcmV0cnk6MX0hEgRjawkqBCB7JSoQNTczLjEF7QlUAUIRShHwAHI+5wAAMIrnAABsAWoBOhg0MzcuODQ0CWTwRnBjX2NvdW50OjF9CTM5NSBCeXRlcwlOL0EKMQkzNl8xCTAJMQl0YWJsZTp0aWRiX21kbF9pbmZvLCBoYW5kbGU6OTEJMgl0IeQQOTY4LjYFVinnKDQsIEdldDp7bnVtBXgIMiwgJZoAXwXoPDM0M8K1c30JTi9BCU4vQQo=')\n# Plan_digest: ca2b8c61a8ea82f17bacb18dbe38cd4b008fc18663d28963f5ced78ed80210d7\n# Binary_plan: tidb_decode_binary_plan('6AR4CuMECghEZWxldGVfMhKTAQoLUG9pbnRfR2V0XzEpAAUB8G3wPzACOAFAAUoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUgloYW5kbGU6OTFaFnRpbWU6OTY4LjbCtXMsIGxvb3BzOjRiIkdldDp7bnVtX3JwYzoyLCB0b3RhbF90aW1lOjM0M8K1c31w/////wUEBAF4BQcBAQABAXsYUgNOL0FaEwVbDDEuOG0VWHgyYpQDY29tbWl0X3R4bjoge3ByZXdyaXRlOjczNC4zBYIMZ2V0XxEkFHM6MTMuNwUXCRNAOjEuMTdtcywgc2xvd2VzdF8RQQBfAaeQIHt0b3RhbDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0b3JlOgkHEDEsIH0sDVUcX3ByaW1hcnnWRAANZBhudW06MSwgBc4QX2tleXMZDmhieXRlOjE5LCB0eG5fcmV0cnk6MX0sIGxvY2sJKgQgeyUrEDU3My4xBe0JVAFCEUoR8ELnAAAwiucABWoBOhg0MzcuODQ0CWRocGNfY291bnQ6MX1wiwN4////////////ARgB')\ndelete from mysql.tidb_mdl_info where job_id = 91;"] [2024/05/06 16:37:32.196 +08:00] [WARN] [session.go:2283] ["run statement failed"] [schemaVersion=69] [error="[domain:8027]Information schema is out of date: schema failed to update in 1 lease, please make sure TiDB can connect to TiKV"] [errorVerbose="[domain:8027]Information schema is out of date: schema failed to update in 1 lease, please make sure TiDB can connect to TiKV\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).checkSchemaValid\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1922\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1586\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).retry\n\tsession/session.go:1331\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:1023\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/session.autoCommitAfterStmt\n\tsession/tidb.go:282\ngithub.com/pingcap/tidb/session.finishStmt\n\tsession/tidb.go:248\ngithub.com/pingcap/tidb/session.runStmt\n\tsession/session.go:2441\ngithub.com/pingcap/tidb/session.(*session).ExecuteStmt\n\tsession/session.go:2278\ngithub.com/pingcap/tidb/session.(*session).ExecuteInternal\n\tsession/session.go:1730\ngithub.com/pingcap/tidb/ddl.(*session).execute\n\tddl/ddl.go:1812\ngithub.com/pingcap/tidb/ddl.cleanMDLInfo\n\tddl/ddl_worker.go:537\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:275\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:174\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/store/driver/error.ToTiDBErr\n\tstore/driver/error/error.go:169\ngithub.com/pingcap/tidb/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:162\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).retry\n\tsession/session.go:1331\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:1023\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/session.autoCommitAfterStmt\n\tsession/tidb.go:282\ngithub.com/pingcap/tidb/session.finishStmt\n\tsession/tidb.go:248\ngithub.com/pingcap/tidb/session.runStmt\n\tsession/session.go:2441\ngithub.com/pingcap/tidb/session.(*session).ExecuteStmt\n\tsession/session.go:2278\ngithub.com/pingcap/tidb/session.(*session).ExecuteInternal\n\tsession/session.go:1730\ngithub.com/pingcap/tidb/ddl.(*session).execute\n\tddl/ddl.go:1812\ngithub.com/pingcap/tidb/ddl.cleanMDLInfo\n\tddl/ddl_worker.go:537\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:275\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [session="{\n \"currDBName\": \"\",\n \"id\": 0,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 16:37:32.199 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572935344848896\n# Query_time: 5.059272136\n# Parse_time: 0\n# Compile_time: 0.020365119\n# Rewrite_time: 0.000972982\n# Optimize_time: 0.00197695\n# Wait_TS: 0.00009164\n# Cop_time: 5.036405654 Process_time: 0.001 Request_count: 1\n# Is_internal: true\n# Digest: 9d5a0f1a8c1c0e1fd5f0955da80b305eae920a2ab897319c6d2d8de5d890bedc\n# Stats: tidb_mdl_info:pseudo\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_addr: store1\n# Mem_max: 188\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000011172\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('1gPweTAJMzFfNwkwCTMzMjMuMzMJZGF0YTpTZWxlY3Rpb25fNgkxCXRpbWU6NS4wNHMsIGxvb3BzOjIsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuNzFtcywgcHJvY19rZXlzOiAwLCB0b3RfcHJvYzogMW1zLCBycGNfBTYUNDMxNCwgAQ8AdAFlFCAzLjI1cwVd8ExyX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgZGlzdHNxbF9jb25jdXJyZW5jeTogMTV9LCBSZXNvbHZlTG9jazp7bnVtX3JwYzo0MzEzLAGADGFsX3QBZFw4OTltc30JMTg4IEJ5dGVzCU4vQQoxCTEB6wBfOQiIbGUobXlzcWwudGlkYl9tZGxfaW5mby52ZXJzaW9uLCA2OSklGwhrdl8lBwR7dAFdCDEuNQHgAGwlJgQwfQFcAQQcCjIJNDNfNQkBYSwxMDAwMAl0YWJsZToyXAB8LCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG+qbwA=')\n# Plan_digest: c68b37cb6ba3074a6ee32e9b33a56d8b18aea208db31fb6e13471a1db7195d65\n# Binary_plan: tidb_decode_binary_plan('xASYCr8ECg1UYWJsZVJlYWRlcl83Ep4CCgtTZWxlY3Rpb25fNhKaAQoPBSJMRnVsbFNjYW5fNSEAAAAAIGUhQSkBCfBpAIjDQDABOAJAAkoYChYKBW15c3FsEg10aWRiX21kbF9pbmZvUh5rZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG9qH3Rpa3ZfdGFzazp7dGltZToxLjVtcywgbG9vcHM6MH1w/////wUEBAF4BQcBAQABBYksgE8iQSmrqqqqqvapDYkQUiNsZSgFiAAuMocAMC52ZXJzaW9uLCA2OSnedAABawzqc+ZALnQAJAFAAVIQZGF0YTo9OzBaE3RpbWU6NS4wNHMsDcoYMmK/AWNvcAnqSCB7bnVtOiAxLCBtYXg6IDEuNzEB9ERwcm9jX2tleXM6IDAsIHRvdF8BEgQ6IAUdDHJwY18FNhA0MzE0LAUPBWbwSSAzLjI1cywgY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGRpc3RzcWxfY29uY3VycmVuY3k6IDE1fSwgUmVzb2x2ZUxvY2s6AZUgX3JwYzo0MzEzBYAMYWxfdAHKVDg5OW1zfXC8AXj///////////8BGAE=')\nselect job_id, version, table_ids from mysql.tidb_mdl_info where version <= 69;"] [2024/05/06 16:37:32.198 +08:00] [WARN] [ddl_worker.go:539] ["unexpected error when clean mdl info"] ["job ID"=91] [error="[domain:8027]Information schema is out of date: schema failed to update in 1 lease, please make sure TiDB can connect to TiKV"] [errorVerbose="[domain:8027]Information schema is out of date: schema failed to update in 1 lease, please make sure TiDB can connect to TiKV\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).checkSchemaValid\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1922\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1586\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:502\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:86\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).retry\n\tsession/session.go:1331\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:1023\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/session.autoCommitAfterStmt\n\tsession/tidb.go:282\ngithub.com/pingcap/tidb/session.finishStmt\n\tsession/tidb.go:248\ngithub.com/pingcap/tidb/session.runStmt\n\tsession/session.go:2441\ngithub.com/pingcap/tidb/session.(*session).ExecuteStmt\n\tsession/session.go:2278\ngithub.com/pingcap/tidb/session.(*session).ExecuteInternal\n\tsession/session.go:1730\ngithub.com/pingcap/tidb/ddl.(*session).execute\n\tddl/ddl.go:1812\ngithub.com/pingcap/tidb/ddl.cleanMDLInfo\n\tddl/ddl_worker.go:537\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:275\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:174\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/store/driver/error.ToTiDBErr\n\tstore/driver/error/error.go:169\ngithub.com/pingcap/tidb/store/driver/txn.extractKeyErr\n\tstore/driver/txn/error.go:162\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).extractKeyErr\n\tstore/driver/txn/txn_driver.go:302\ngithub.com/pingcap/tidb/store/driver/txn.(*tikvTxn).Commit\n\tstore/driver/txn/txn_driver.go:87\ngithub.com/pingcap/tidb/session.(*LazyTxn).Commit\n\tsession/txn.go:408\ngithub.com/pingcap/tidb/session.(*session).commitTxnWithTemporaryData\n\tsession/session.go:867\ngithub.com/pingcap/tidb/session.(*session).doCommit\n\tsession/session.go:753\ngithub.com/pingcap/tidb/session.(*session).retry\n\tsession/session.go:1331\ngithub.com/pingcap/tidb/session.(*session).doCommitWithRetry\n\tsession/session.go:1023\ngithub.com/pingcap/tidb/session.(*session).CommitTxn\n\tsession/session.go:1129\ngithub.com/pingcap/tidb/session.autoCommitAfterStmt\n\tsession/tidb.go:282\ngithub.com/pingcap/tidb/session.finishStmt\n\tsession/tidb.go:248\ngithub.com/pingcap/tidb/session.runStmt\n\tsession/session.go:2441\ngithub.com/pingcap/tidb/session.(*session).ExecuteStmt\n\tsession/session.go:2278\ngithub.com/pingcap/tidb/session.(*session).ExecuteInternal\n\tsession/session.go:1730\ngithub.com/pingcap/tidb/ddl.(*session).execute\n\tddl/ddl.go:1812\ngithub.com/pingcap/tidb/ddl.cleanMDLInfo\n\tddl/ddl_worker.go:537\ngithub.com/pingcap/tidb/ddl.(*ddl).delivery2worker.func1\n\tddl/job_table.go:275\ngithub.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1\n\tutil/wait_group_wrapper.go:33\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [2024/05/06 16:37:32.273 +08:00] [INFO] [ddl_worker.go:1418] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=69] ["take time"=2.08172ms] [job="ID:91, Type:modify column, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:21.393 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:32.356 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=91] [jobType="modify column"] [2024/05/06 16:37:32.360 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 80, tp general"] [job="ID:91, Type:modify column, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:21.393 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 16:37:32.730 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=91] [2024/05/06 16:37:32.730 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:32.732 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 11.353554824\n# Parse_time: 0\n# Compile_time: 0.001919158\n# Rewrite_time: 0.000019413\n# Optimize_time: 0\n# Wait_TS: 0.000072141\n# Is_internal: true\n# Digest: 8185ae5c66e7da348c92571f0427ae402eb5d645897bc0af1f34f48553ee3eb5\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nALTER TABLE mysql.user CHANGE `Repl_client_priv` `Repl_client_priv` ENUM('N','Y') NOT NULL DEFAULT 'N' AFTER `Repl_slave_priv`;"] [2024/05/06 16:37:32.735 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=69] [cur_db=] [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 16:37:32.736 +08:00] [WARN] [bootstrap.go:2018] ["enable-batch-dml is now configured by the system variable tidb_enable_batch_dml. One-time importing the value specified in tidb.toml file"] [value=OFF] [2024/05/06 16:37:32.742 +08:00] [WARN] [bootstrap.go:2018] ["mem-quota-query is now configured by the system variable tidb_mem_quota_query. One-time importing the value specified in tidb.toml file"] [value=1073741824] [2024/05/06 16:37:32.748 +08:00] [WARN] [bootstrap.go:2018] ["query-log-max-len is now configured by the system variable tidb_query_log_max_len. One-time importing the value specified in tidb.toml file"] [value=4096] [2024/05/06 16:37:32.754 +08:00] [WARN] [bootstrap.go:2018] ["committer-concurrency is now configured by the system variable tidb_committer_concurrency. One-time importing the value specified in tidb.toml file"] [value=128] [2024/05/06 16:37:32.760 +08:00] [WARN] [bootstrap.go:2018] ["run-auto-analyze is now configured by the system variable tidb_enable_auto_analyze. One-time importing the value specified in tidb.toml file"] [value=ON] [2024/05/06 16:37:32.766 +08:00] [WARN] [bootstrap.go:2018] ["oom-action is now configured by the system variable tidb_mem_oom_action. One-time importing the value specified in tidb.toml file"] [value=cancel] [2024/05/06 16:37:32.771 +08:00] [WARN] [bootstrap.go:2018] ["prepared-plan-cache.enable is now configured by the system variable tidb_enable_prepared_plan_cache. One-time importing the value specified in tidb.toml file"] [value=ON] [2024/05/06 16:37:32.776 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=10.090174ms] [2024/05/06 16:37:32.777 +08:00] [WARN] [bootstrap.go:2018] ["prepared-plan-cache.capacity is now configured by the system variable tidb_prepared_plan_cache_size. One-time importing the value specified in tidb.toml file"] [value=100] [2024/05/06 16:37:32.783 +08:00] [WARN] [bootstrap.go:2018] ["prepared-plan-cache.memory-guard-ratio is now configured by the system variable tidb_prepared_plan_cache_memory_guard_ratio. One-time importing the value specified in tidb.toml file"] [value=0.1] [2024/05/06 16:37:32.789 +08:00] [WARN] [bootstrap.go:2018] ["oom-use-tmp-storage is now configured by the system variable tidb_enable_tmp_storage_on_oom. One-time importing the value specified in tidb.toml file"] [value=ON] [2024/05/06 16:37:32.907 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:93, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:3, start time: 2024-05-06 16:37:32.822 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:32.908 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:93, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:3, start time: 2024-05-06 16:37:32.822 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] [2024/05/06 16:37:33.053 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 80, tp general"] [job="ID:93, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:32.822 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:33.315 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=69] [neededSchemaVersion=70] ["start time"=2.74999ms] [phyTblIDs="[70,92]"] [actionTypes="[2097152,2097152]"] [2024/05/06 16:37:33.332 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:33.332 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=93] [version=70] [2024/05/06 16:37:33.333 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=70] ["take time"=30.16159ms] [job="ID:93, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:3, start time: 2024-05-06 16:37:32.822 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:33.414 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 80, tp general"] [job="ID:93, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:32.822 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:33.511 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=93] [2024/05/06 16:37:33.511 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:33.513 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.712726039\n# Parse_time: 0\n# Compile_time: 0.007503739\n# Rewrite_time: 0.003964139\n# Optimize_time: 0\n# Wait_TS: 0.000090363\n# Is_internal: true\n# Digest: 812c81f344f5d0c8b8aedcb68ff1dca865b59104853273f7e66b8abff5429992\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE OR REPLACE VIEW mysql.tidb_mdl_view as ( select JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID );"] [2024/05/06 16:37:33.517 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=70] [cur_db=] [sql="ALTER TABLE mysql.user ADD COLUMN IF NOT EXISTS `User_attributes` JSON"] [user=] [2024/05/06 16:37:33.525 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=70] [cur_db=] [sql="ALTER TABLE mysql.user ADD COLUMN IF NOT EXISTS `Token_issuer` varchar(255)"] [user=] [2024/05/06 16:37:33.525 +08:00] [INFO] [txn.go:55] ["Try to create a new txn inside a transaction auto commit"] [schemaVersion=70] [txnStartTS=449572937012609024] [txnScope=global] [2024/05/06 16:37:33.526 +08:00] [WARN] [bootstrap.go:2018] ["performance.server-memory-quota is now configured by the system variable tidb_server_memory_limit. One-time importing the value specified in tidb.toml file"] [value=0] [2024/05/06 16:37:33.546 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=70] [cur_db=] [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 16:37:33.561 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=70] [cur_db=] [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 16:37:33.571 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=70] [cur_db=] [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 16:37:33.581 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=70] [cur_db=] [sql="ALTER TABLE mysql.bind_info ADD COLUMN IF NOT EXISTS `sql_digest` varchar(64)"] [user=] [2024/05/06 16:37:33.597 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=70] [cur_db=] [sql="ALTER TABLE mysql.bind_info ADD COLUMN IF NOT EXISTS `plan_digest` varchar(64)"] [user=] [2024/05/06 16:37:33.609 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=70] [cur_db=] [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 16:37:33.614 +08:00] [INFO] [txn.go:55] ["Try to create a new txn inside a transaction auto commit"] [schemaVersion=70] [txnStartTS=449572937033580544] [txnScope=global] [2024/05/06 16:37:33.620 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=70] [cur_db=] [sql="Alter table mysql.user add COLUMN IF NOT EXISTS `Password_reuse_history` smallint unsigned DEFAULT NULL AFTER `Create_Tablespace_Priv` "] [user=] [2024/05/06 16:37:33.629 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=70] [cur_db=] [sql="Alter table mysql.user add COLUMN IF NOT EXISTS `Password_reuse_time` smallint unsigned DEFAULT NULL AFTER `Password_reuse_history`"] [user=] [2024/05/06 16:37:33.634 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=70] [cur_db=] [sql="ALTER TABLE mysql.user ADD COLUMN IF NOT EXISTS `Password_expired` ENUM('N','Y') NOT NULL DEFAULT 'N'"] [user=] [2024/05/06 16:37:33.641 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=70] [cur_db=] [sql="ALTER TABLE mysql.user ADD COLUMN IF NOT EXISTS `Password_last_changed` TIMESTAMP DEFAULT CURRENT_TIMESTAMP()"] [user=] [2024/05/06 16:37:33.645 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=70] [cur_db=] [sql="ALTER TABLE mysql.user ADD COLUMN IF NOT EXISTS `Password_lifetime` SMALLINT UNSIGNED DEFAULT NULL"] [user=] [2024/05/06 16:37:33.660 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=70] [cur_db=] [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 16:37:33.740 +08:00] [INFO] [bootstrap.go:966] ["start migrate DDLs"] [2024/05/06 16:37:33.746 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:37:33.746 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 85, tp add index"] ["take time"=26.431µs] [2024/05/06 16:37:33.746 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 86, tp add index"] ["take time"=18.588µs] [2024/05/06 16:37:33.746 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 87, tp add index"] ["take time"=21.424µs] [2024/05/06 16:37:33.746 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 88, tp add index"] ["take time"=18.08µs] [2024/05/06 16:37:33.746 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 89, tp add index"] ["take time"=20.184µs] [2024/05/06 16:37:33.746 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 90, tp add index"] ["take time"=13.848µs] [2024/05/06 16:37:33.747 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 81, tp add index"] ["take time"=18.347µs] [2024/05/06 16:37:33.747 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 82, tp add index"] ["take time"=12.904µs] [2024/05/06 16:37:33.747 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 83, tp add index"] ["take time"=17.143µs] [2024/05/06 16:37:33.747 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 84, tp add index"] ["take time"=18.32µs] [2024/05/06 16:37:33.747 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:37:33.747 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 80, tp general"] ["take time"=4.979µs] [2024/05/06 16:37:33.747 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 78, tp general"] ["take time"=1.792µs] [2024/05/06 16:37:33.747 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 79, tp add index"] ["take time"=1.753µs] [2024/05/06 16:37:33.747 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:37:33.747 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:37:33.764 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=6d0b3335-df97-46ca-9dc3-68480ebcb14b] ["take time"=18.740561ms] [2024/05/06 16:37:33.771 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=6d0b3335-df97-46ca-9dc3-68480ebcb14b] [2024/05/06 16:37:33.771 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:37:33.771 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:37:33.772 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:37:33.772 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:37:33.772 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:37:33.772 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:37:33.772 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=26.484741ms] [2024/05/06 16:37:33.772 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=b0c76709-8f87-49a5-9702-095b6d6e789a] ["ddl lease"=20ms] ["stats lease"=3s] ["index usage sync lease"=0s] [2024/05/06 16:37:33.946 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=70] ["start time"=171.639493ms] [2024/05/06 16:37:33.958 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:37:33.958 +08:00] [WARN] [domain.go:537] ["loading schema takes a long time"] ["take time"=184.640462ms] [2024/05/06 16:37:33.958 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=e8167c0c-6b1a-41b4-b087-10148ecf0990] [runWorker=true] [2024/05/06 16:37:33.959 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:37:33.959 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:37:33.960 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 91, tp general"] [2024/05/06 16:37:33.961 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 92, tp add index"] [2024/05/06 16:37:33.965 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:37:33.966 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:37:33.966 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:37:33.966 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:37:34.021 +08:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 16:37:34.487 +08:00] [INFO] [domain.go:1944] ["init stats info time"] ["take time"=91.423262ms] [2024/05/06 16:37:34.961 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:37:34.961 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:37:34.961 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 91, tp general"] ["take time"=4.326µs] [2024/05/06 16:37:34.961 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 92, tp add index"] ["take time"=2.659µs] [2024/05/06 16:37:34.961 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:37:34.961 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:37:34.962 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=e8167c0c-6b1a-41b4-b087-10148ecf0990] ["take time"=529.538222ms] [2024/05/06 16:37:34.962 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=e8167c0c-6b1a-41b4-b087-10148ecf0990] [2024/05/06 16:37:34.962 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:37:34.962 +08:00] [INFO] [domain.go:2038] ["updateStatsWorker exited."] [2024/05/06 16:37:34.962 +08:00] [INFO] [domain.go:1721] ["PlanReplayerTaskDumpHandle exited."] [2024/05/06 16:37:34.962 +08:00] [INFO] [domain.go:1748] ["dumpFileGcChecker exited."] [2024/05/06 16:37:34.962 +08:00] [INFO] [domain.go:1959] ["loadStatsWorker exited."] [2024/05/06 16:37:34.962 +08:00] [INFO] [domain.go:1703] ["PlanReplayerTaskCollectHandle exited."] [2024/05/06 16:37:34.962 +08:00] [INFO] [domain.go:1444] ["LoadSysVarCacheLoop exited."] [2024/05/06 16:37:34.963 +08:00] [INFO] [domain.go:1394] ["loadPrivilegeInLoop exited."] [2024/05/06 16:37:34.963 +08:00] [INFO] [domain.go:1569] ["handleEvolvePlanTasksLoop exited."] [2024/05/06 16:37:34.963 +08:00] [INFO] [domain.go:1779] ["HistoricalStatsWorker exited."] [2024/05/06 16:37:34.963 +08:00] [INFO] [domain.go:1525] ["globalBindHandleWorkerLoop exited."] [2024/05/06 16:37:34.963 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:37:34.963 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:37:34.963 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:37:34.963 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:37:34.963 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:37:34.963 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:37:34.963 +08:00] [INFO] [domain.go:2124] ["gcAnalyzeHistory exited."] [2024/05/06 16:37:34.964 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:37:34.964 +08:00] [INFO] [domain.go:2103] ["autoAnalyzeWorker exited."] [2024/05/06 16:37:34.964 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:37:34.964 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:37:34.996 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=564.307683ms] [2024/05/06 16:37:34.996 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:37:35.000 +08:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 16:37:35.001 +08:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 16:37:35.001 +08:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 16:37:35.001 +08:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 16:37:35.001 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 16:37:35.001 +08:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestUpgradeVersion74 (296.68s) === RUN TestNonTransactionalDMLShardingOnTiDBRowID [2024/05/06 16:37:35.031 +08:00] [INFO] [region_cache.go:2484] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 16:37:35.035 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:37:35.035 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:37:35.044 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:37:35.045 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:37:35.052 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:37:35.055 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=9986b624-077b-4c0e-9ab1-6086f249fedf] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 16:37:35.056 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).Init\n\tdomain/domain.go:1074\ngithub.com/pingcap/tidb/session.(*domainMap).Get.func1\n\tsession/tidb.go:90\ngithub.com/pingcap/tidb/util.RunWithRetry\n\tutil/misc.go:69\ngithub.com/pingcap/tidb/session.(*domainMap).Get\n\tsession/tidb.go:76\ngithub.com/pingcap/tidb/session.createSessionWithOpt\n\tsession/session.go:3520\ngithub.com/pingcap/tidb/session.createSession\n\tsession/session.go:3516\ngithub.com/pingcap/tidb/session.runInBootstrapSession\n\tsession/session.go:3480\ngithub.com/pingcap/tidb/session.BootstrapSession\n\tsession/session.go:3309\ngithub.com/pingcap/tidb/testkit.bootstrap\n\ttestkit/mockstore.go:84\ngithub.com/pingcap/tidb/testkit.CreateMockStoreAndDomain\n\ttestkit/mockstore.go:69\ngithub.com/pingcap/tidb/testkit.CreateMockStore\n\ttestkit/mockstore.go:61\ngithub.com/pingcap/tidb/session_test.TestNonTransactionalDMLShardingOnTiDBRowID\n\tsession/nontransactional_test.go:295\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1446\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:37:35.086 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=28.972021ms] [2024/05/06 16:37:35.091 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:37:35.092 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=b5abc30c-a2bb-4f0b-89fa-e5e628308a1c] [runWorker=true] [2024/05/06 16:37:35.093 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:37:35.093 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:37:35.093 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 93, tp general"] [2024/05/06 16:37:35.093 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 94, tp add index"] [2024/05/06 16:37:35.093 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:37:35.094 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:37:35.094 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:37:35.094 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:37:35.101 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 16:37:35.127 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:35.113 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:35.127 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:37:35.113 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 16:37:35.227 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 95, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:35.113 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:35.337 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=68.471829ms] [2024/05/06 16:37:35.343 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:37:35.395 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:35.396 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=3] [version=1] [2024/05/06 16:37:35.396 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=129.17223ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:37:35.113 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:35.449 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 95, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:35.113 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:35.496 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=3] [2024/05/06 16:37:35.497 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:35.500 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.398837446\n# Parse_time: 0\n# Compile_time: 0.000717256\n# Rewrite_time: 0.000015106\n# Optimize_time: 0\n# Wait_TS: 0.000078976\n# DB: mysql\n# Is_internal: true\n# Digest: 0a22979ad136f741465cf206b13e5717b9758dda34f7cae5a7a925f91711d6a0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse mysql;\nCREATE DATABASE IF NOT EXISTS test;"] [2024/05/06 16:37:35.504 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 16:37:35.567 +08:00] [INFO] [session.go:3817] ["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 16:37:35.852 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:35.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:35.852 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:35.585 +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 16:37:35.929 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 95, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:35.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:36.447 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=10.345231ms] [phyTblIDs="[4]"] [actionTypes="[8]"] [2024/05/06 16:37:36.495 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:36.495 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=5] [version=2] [2024/05/06 16:37:36.497 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=60.591788ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:35.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:36.584 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 95, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:35.585 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:37.007 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=5] [2024/05/06 16:37:37.007 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:37.009 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.456763784\n# Parse_time: 0\n# Compile_time: 0.014993783\n# Rewrite_time: 0.000014165\n# Optimize_time: 0\n# Wait_TS: 0.000088915\n# DB: mysql\n# Is_internal: true\n# Digest: 14c6b489558060bdbede877927034270db5af07c6621aa28f87eeaec8727e925\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.user ( Host CHAR(255), User CHAR(32), authentication_string TEXT, plugin CHAR(64), Select_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Insert_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Update_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Delete_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Process_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Grant_priv ENUM('N','Y') NOT NULL DEFAULT 'N', References_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_db_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Super_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Index_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_user_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Event_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_slave_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_client_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Trigger_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Account_locked ENUM('N','Y') NOT NULL DEFAULT 'N', Shutdown_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Reload_priv ENUM('N','Y') NOT NULL DEFAULT 'N', FILE_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Config_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N', Password_reuse_history smallint unsigned DEFAULT NULL, Password_reuse_time smallint unsigned DEFAULT NULL, User_attributes json, Token_issuer VARCHAR(255), Password_expired ENUM('N','Y') NOT NULL DEFAULT 'N', Password_last_changed TIMESTAMP DEFAULT CURRENT_TIMESTAMP(), Password_lifetime SMALLINT UNSIGNED DEFAULT NULL, PRIMARY KEY (Host, User));"] [2024/05/06 16:37:37.016 +08:00] [INFO] [session.go:3817] ["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 16:37:37.081 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:37.028 +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 16:37:37.081 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:37.028 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:37.096 +08:00] [INFO] [info.go:1114] [SetTiFlashGroupConfig] [2024/05/06 16:37:37.145 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 95, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:37.028 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:37.240 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=2.322042ms] [phyTblIDs="[6]"] [actionTypes="[8]"] [2024/05/06 16:37:37.295 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:37.295 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=7] [version=3] [2024/05/06 16:37:37.297 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=60.157442ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:37.028 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:37.365 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 95, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:37.028 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:37.432 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=7] [2024/05/06 16:37:37.432 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:37.434 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.420875373\n# Parse_time: 0\n# Compile_time: 0.003023625\n# Rewrite_time: 0.000022363\n# Optimize_time: 0\n# Wait_TS: 0.000098686\n# DB: mysql\n# Is_internal: true\n# Digest: eeb59bc0d98f65a2a5aef8eaa99596260e746b00eed183baf856558ef03533ac\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.password_history ( Host char(255) NOT NULL DEFAULT '', User char(32) NOT NULL DEFAULT '', Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6), Password text, PRIMARY KEY (Host,User,Password_timestamp ) ) COMMENT='Password history for user accounts' ;"] [2024/05/06 16:37:37.439 +08:00] [INFO] [session.go:3817] ["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 16:37:37.500 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:37.454 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:37.500 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:37.454 +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 16:37:37.571 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 95, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:37.454 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] -- Test timed out at 2024-05-06 16:37:37 CST -- ================================================================================ [9,185 / 9,191] 244 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 1 of 2); 293s remote-cache, linux-sandbox ... (12 actions running) [9,185 / 9,191] 244 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 1 of 2); 299s remote-cache, linux-sandbox ... (12 actions running) [9,186 / 9,191] 244 / 246 tests; Testing //expression:expression_test (shard 40 of 50); 146s remote-cache, linux-sandbox ... (10 actions running) [9,186 / 9,191] 244 / 246 tests; Testing //expression:expression_test (shard 40 of 50); 148s remote-cache, linux-sandbox ... (10 actions running) [9,186 / 9,191] 244 / 246 tests; Testing //expression:expression_test (shard 40 of 50); 154s remote-cache, linux-sandbox ... (10 actions running) [9,187 / 9,191] 244 / 246 tests; Testing //expression:expression_test (shard 43 of 50); 150s remote-cache, linux-sandbox ... (8 actions running) [9,187 / 9,191] 244 / 246 tests; Testing //expression:expression_test (shard 43 of 50); 160s remote-cache, linux-sandbox ... (8 actions running) [9,188 / 9,191] 244 / 246 tests; Testing //expression:expression_test (shard 43 of 50); 161s remote-cache, linux-sandbox ... (6 actions running) [9,189 / 9,191] 244 / 246 tests; Testing //expression:expression_test (shard 44 of 50); 169s remote-cache, linux-sandbox ... (4 actions running) [9,189 / 9,191] 244 / 246 tests; Testing //expression:expression_test (shard 44 of 50); 180s remote-cache, linux-sandbox ... (4 actions running) [9,189 / 9,191] 244 / 246 tests; Testing //expression:expression_test (shard 44 of 50); 195s remote-cache, linux-sandbox ... (4 actions running) [9,190 / 9,191] 245 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 1 of 2); 57s remote-cache, linux-sandbox [9,190 / 9,191] 245 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 1 of 2); 67s remote-cache, linux-sandbox [9,190 / 9,191] 245 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 1 of 2); 97s remote-cache, linux-sandbox [9,190 / 9,191] 245 / 246 tests; Testing //sessiontxn:sessiontxn_test (shard 1 of 2); 157s remote-cache, linux-sandbox FLAKY: //sessiontxn:sessiontxn_test (Summary) /home/jenkins/.tidb/tmp/45c44f383a26fe92ddbb5dda36c71ef8/execroot/__main__/bazel-out/k8-fastbuild/testlogs/sessiontxn/sessiontxn_test/shard_1_of_2/test_attempts/attempt_1.log INFO: From Testing //sessiontxn:sessiontxn_test (shard 1 of 2): ==================== Test output for //sessiontxn:sessiontxn_test (shard 1 of 2): === RUN TestTxnContextForSimpleCases [2024/05/06 16:34:38.671 +08:00] [INFO] [region_cache.go:2484] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 16:34:38.677 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:34:38.677 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:34:38.692 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:34:38.693 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:34:38.700 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:34:38.710 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=6caa8172-5d08-484c-a2a7-74f625a49fd9] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 16:34:39.016 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).Init\n\tdomain/domain.go:1074\ngithub.com/pingcap/tidb/session.(*domainMap).Get.func1\n\tsession/tidb.go:90\ngithub.com/pingcap/tidb/util.RunWithRetry\n\tutil/misc.go:69\ngithub.com/pingcap/tidb/session.(*domainMap).Get\n\tsession/tidb.go:76\ngithub.com/pingcap/tidb/session.createSessionWithOpt\n\tsession/session.go:3520\ngithub.com/pingcap/tidb/session.createSession\n\tsession/session.go:3516\ngithub.com/pingcap/tidb/session.runInBootstrapSession\n\tsession/session.go:3480\ngithub.com/pingcap/tidb/session.BootstrapSession\n\tsession/session.go:3309\ngithub.com/pingcap/tidb/testkit.bootstrap\n\ttestkit/mockstore.go:84\ngithub.com/pingcap/tidb/testkit.CreateMockStoreAndDomain\n\ttestkit/mockstore.go:69\nsessiontxn/sessiontxn_test_test.setupTxnContextTest\n\tsessiontxn/txn_context_test.go:61\nsessiontxn/sessiontxn_test_test.TestTxnContextForSimpleCases\n\tsessiontxn/txn_context_test.go:117\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1446\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:39.047 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=30.46023ms] [2024/05/06 16:34:39.053 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:34:39.053 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=361fea57-cf5b-4838-90e0-f4177a00f1ef] [runWorker=true] [2024/05/06 16:34:39.053 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:34:39.053 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:34:39.054 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 2, tp add index"] [2024/05/06 16:34:39.054 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 16:34:39.055 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:34:39.055 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:34:39.054 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 1, tp general"] [2024/05/06 16:34:39.056 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:34:39.063 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 16:34:39.096 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:39.08 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:39.097 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:34:39.08 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 16:34:39.306 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:39.557 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:39.806 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:40.064 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:34:40.183 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:39.08 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:40.314 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=57.328407ms] [2024/05/06 16:34:40.324 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:34:40.357 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:40.357 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=3] [version=1] [2024/05/06 16:34:40.358 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=102.358059ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:34:39.08 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:40.407 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:39.08 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:40.474 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=3] [2024/05/06 16:34:40.474 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:40.476 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.4132853189999999\n# Parse_time: 0\n# Compile_time: 0.000777093\n# Rewrite_time: 0.0000336\n# Optimize_time: 0\n# Wait_TS: 0.000100969\n# DB: mysql\n# Is_internal: true\n# Digest: 0a22979ad136f741465cf206b13e5717b9758dda34f7cae5a7a925f91711d6a0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse mysql;\nCREATE DATABASE IF NOT EXISTS test;"] [2024/05/06 16:34:40.478 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 16:34:40.559 +08:00] [INFO] [session.go:3817] ["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 16:34:40.813 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:40.577 +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 16:34:40.831 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:40.577 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:40.885 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:40.577 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:41.055 +08:00] [INFO] [info.go:1114] [SetTiFlashGroupConfig] [2024/05/06 16:34:41.552 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=12.696522ms] [phyTblIDs="[4]"] [actionTypes="[8]"] [2024/05/06 16:34:41.606 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:41.606 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=5] [version=2] [2024/05/06 16:34:41.607 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=68.686538ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:40.577 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:41.678 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:40.577 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:41.980 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=5] [2024/05/06 16:34:41.980 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:41.981 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.455206805\n# Parse_time: 0\n# Compile_time: 0.033148951\n# Rewrite_time: 0.000012056\n# Optimize_time: 0\n# Wait_TS: 0.000086505\n# DB: mysql\n# Is_internal: true\n# Digest: 14c6b489558060bdbede877927034270db5af07c6621aa28f87eeaec8727e925\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.user ( Host CHAR(255), User CHAR(32), authentication_string TEXT, plugin CHAR(64), Select_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Insert_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Update_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Delete_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Process_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Grant_priv ENUM('N','Y') NOT NULL DEFAULT 'N', References_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_db_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Super_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Index_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_user_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Event_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_slave_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_client_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Trigger_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Account_locked ENUM('N','Y') NOT NULL DEFAULT 'N', Shutdown_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Reload_priv ENUM('N','Y') NOT NULL DEFAULT 'N', FILE_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Config_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N', Password_reuse_history smallint unsigned DEFAULT NULL, Password_reuse_time smallint unsigned DEFAULT NULL, User_attributes json, Token_issuer VARCHAR(255), Password_expired ENUM('N','Y') NOT NULL DEFAULT 'N', Password_last_changed TIMESTAMP DEFAULT CURRENT_TIMESTAMP(), Password_lifetime SMALLINT UNSIGNED DEFAULT NULL, PRIMARY KEY (Host, User));"] [2024/05/06 16:34:41.987 +08:00] [INFO] [session.go:3817] ["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 16:34:42.147 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:42.008 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:42.147 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:42.008 +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 16:34:42.368 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:42.008 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:42.586 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=2.16241ms] [phyTblIDs="[6]"] [actionTypes="[8]"] [2024/05/06 16:34:42.658 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:42.658 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=7] [version=3] [2024/05/06 16:34:42.659 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=76.48122ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:42.008 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:42.746 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:42.008 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:42.886 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=7] [2024/05/06 16:34:42.887 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:42.889 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.90385795\n# Parse_time: 0\n# Compile_time: 0.002208584\n# Rewrite_time: 0.000008285\n# Optimize_time: 0\n# Wait_TS: 0.000078769\n# DB: mysql\n# Is_internal: true\n# Digest: eeb59bc0d98f65a2a5aef8eaa99596260e746b00eed183baf856558ef03533ac\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.password_history ( Host char(255) NOT NULL DEFAULT '', User char(32) NOT NULL DEFAULT '', Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6), Password text, PRIMARY KEY (Host,User,Password_timestamp ) ) COMMENT='Password history for user accounts' ;"] [2024/05/06 16:34:42.894 +08:00] [INFO] [session.go:3817] ["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 16:34:42.973 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:42.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:42.973 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:42.907 +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 16:34:43.022 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:42.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:43.134 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=2.128702ms] [phyTblIDs="[8]"] [actionTypes="[8]"] [2024/05/06 16:34:43.206 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:43.206 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=9] [version=4] [2024/05/06 16:34:43.208 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=76.578033ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:42.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:43.278 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:42.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:43.364 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=9] [2024/05/06 16:34:43.364 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:43.366 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.473480687\n# Parse_time: 0\n# Compile_time: 0.001984352\n# Rewrite_time: 0.000016113\n# Optimize_time: 0\n# Wait_TS: 0.000081612\n# DB: mysql\n# Is_internal: true\n# Digest: 3bc9b46cf9e300a8d240915cf47216424544ed9f992c07151fba2e2cadc41632\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE 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 16:34:43.387 +08:00] [INFO] [session.go:3817] ["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),\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 16:34:43.542 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:43.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:43.542 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:43.406 +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),\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 16:34:43.714 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:43.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:44.098 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=10.083057ms] [phyTblIDs="[10]"] [actionTypes="[8]"] [2024/05/06 16:34:44.156 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:44.156 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=11] [version=5] [2024/05/06 16:34:44.158 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=94.631397ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:43.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:44.236 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:43.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:44.451 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=11] [2024/05/06 16:34:44.451 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:44.452 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.074803622\n# Parse_time: 0\n# Compile_time: 0.009276413\n# Rewrite_time: 0.000026796\n# Optimize_time: 0\n# Wait_TS: 0.000215054\n# DB: mysql\n# Is_internal: true\n# Digest: aeaf612801484f0311f850d36f60f29e6d904828682c1f3bb7307dff25ca3a15\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.db ( Host CHAR(255), DB CHAR(64), User CHAR(32), Select_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Insert_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Update_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Delete_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Grant_priv ENUM('N','Y') NOT NULL DEFAULT 'N', References_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Index_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Event_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Trigger_priv ENUM('N','Y') NOT NULL DEFAULT 'N', PRIMARY KEY (Host, DB, User));"] [2024/05/06 16:34:44.462 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:34:44.601 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:44.481 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:44.602 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:44.481 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:34:44.688 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:44.481 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:44.849 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=2.667103ms] [phyTblIDs="[12]"] [actionTypes="[8]"] [2024/05/06 16:34:44.906 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:44.906 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=13] [version=6] [2024/05/06 16:34:44.908 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=62.880358ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:44.481 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:44.988 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:44.481 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:45.132 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=13] [2024/05/06 16:34:45.133 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:45.134 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.675636464\n# Parse_time: 0\n# Compile_time: 0.00389046\n# Rewrite_time: 0.000013633\n# Optimize_time: 0\n# Wait_TS: 0.000095451\n# DB: mysql\n# Is_internal: true\n# Digest: e8b37dad6cc7f05ee1f0be61455667495826928a93ddd09b94e02fbaed113955\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tables_priv ( Host CHAR(255), DB CHAR(64), User CHAR(32), Table_name CHAR(64), Grantor CHAR(77), Timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, Table_priv SET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'), Column_priv SET('Select','Insert','Update','References'), PRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 16:34:45.156 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:34:45.253 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:45.17 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:45.253 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:45.17 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:34:45.331 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:45.17 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:45.465 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=3.11215ms] [phyTblIDs="[14]"] [actionTypes="[8]"] [2024/05/06 16:34:45.506 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:45.506 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=15] [version=7] [2024/05/06 16:34:45.506 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=44.524049ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:45.17 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:45.576 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:45.17 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:45.673 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=15] [2024/05/06 16:34:45.673 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:45.675 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.527338826\n# Parse_time: 0\n# Compile_time: 0.00809232\n# Rewrite_time: 0.000013302\n# Optimize_time: 0\n# Wait_TS: 0.000119758\n# DB: mysql\n# Is_internal: true\n# Digest: a19edbb3caff8cc57619278ab6eb5f791d7a821432309abe7184d0a7bca66b4d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.columns_priv( Host CHAR(255), DB CHAR(64), User CHAR(32), Table_name CHAR(64), Column_name CHAR(64), Timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, Column_priv SET('Select','Insert','Update','References'), PRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 16:34:45.679 +08:00] [INFO] [session.go:3817] ["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(1024) DEFAULT NULL);"] [user=] [2024/05/06 16:34:45.783 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:45.74 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:45.783 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:45.74 +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(1024) DEFAULT NULL);"] [2024/05/06 16:34:45.855 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:45.74 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:45.948 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=1.902542ms] [phyTblIDs="[16]"] [actionTypes="[8]"] [2024/05/06 16:34:46.006 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:46.006 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=17] [version=8] [2024/05/06 16:34:46.008 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=62.514405ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:45.74 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:46.054 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:45.74 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:46.165 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=17] [2024/05/06 16:34:46.166 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:46.167 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.48952903\n# Parse_time: 0\n# Compile_time: 0.001573149\n# Rewrite_time: 0.000012116\n# Optimize_time: 0\n# Wait_TS: 0.000109635\n# DB: mysql\n# Is_internal: true\n# Digest: 55c1ea537145da60f32339dc7a3b69a3859f3f428fbae4e4023eb71dca836f47\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES( VARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY, VARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [2024/05/06 16:34:46.171 +08:00] [INFO] [session.go:3817] ["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 16:34:46.266 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:46.19 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:46.266 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:46.19 +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 16:34:46.406 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:46.19 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:46.514 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=2.266389ms] [phyTblIDs="[18]"] [actionTypes="[8]"] [2024/05/06 16:34:46.556 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:46.556 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=19] [version=9] [2024/05/06 16:34:46.558 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=47.081724ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:46.19 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:46.614 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:46.19 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:46.697 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=19] [2024/05/06 16:34:46.758 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:46.760 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.59115115\n# Parse_time: 0\n# Compile_time: 0.001491204\n# Rewrite_time: 0.000029713\n# Optimize_time: 0\n# Wait_TS: 0.000077584\n# DB: mysql\n# Is_internal: true\n# Digest: 0cc4a9cf54472ccff7c4fb8d7c6e34e6bd96af08b450ad4c9677473f1f517cf2\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tidb( VARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY, VARIABLE_VALUE VARCHAR(1024) DEFAULT NULL, COMMENT VARCHAR(1024));"] [2024/05/06 16:34:46.805 +08:00] [INFO] [session.go:3817] ["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 16:34:46.915 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:46.839 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:46.915 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:46.839 +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 16:34:47.054 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:46.839 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:47.213 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=2.565099ms] [phyTblIDs="[20]"] [actionTypes="[8]"] [2024/05/06 16:34:47.256 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:47.257 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=21] [version=10] [2024/05/06 16:34:47.259 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=48.960414ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:46.839 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:47.334 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:46.839 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:47.433 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=21] [2024/05/06 16:34:47.433 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:47.436 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.658378339\n# Parse_time: 0\n# Compile_time: 0.027589171\n# Rewrite_time: 0.000013118\n# Optimize_time: 0\n# Wait_TS: 0.00008977\n# DB: mysql\n# Is_internal: true\n# Digest: ca851971407336dad93908a9f88f01d828a4e18f332111987f4a7675bced7ea4\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.help_topic ( help_topic_id INT(10) UNSIGNED NOT NULL, name CHAR(64) NOT NULL, help_category_id SMALLINT(5) UNSIGNED NOT NULL, description TEXT NOT NULL, example TEXT NOT NULL, url TEXT NOT NULL, PRIMARY KEY (help_topic_id) clustered, UNIQUE KEY name (name) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 16:34:47.446 +08:00] [INFO] [session.go:3817] ["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 16:34:47.542 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:47.478 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:47.542 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:47.478 +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 16:34:47.680 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:47.478 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:47.851 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=2.483405ms] [phyTblIDs="[22]"] [actionTypes="[8]"] [2024/05/06 16:34:47.906 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:47.906 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=23] [version=11] [2024/05/06 16:34:47.906 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=58.294687ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:47.478 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:47.969 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:47.478 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:48.127 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=23] [2024/05/06 16:34:48.128 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:48.129 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.687563805\n# Parse_time: 0\n# Compile_time: 0.004299581\n# Rewrite_time: 0.00002102\n# Optimize_time: 0\n# Wait_TS: 0.000083461\n# DB: mysql\n# Is_internal: true\n# Digest: db16a74bd407cb00f071eafe96456094f48fc00e802128fc486ef4847b8910b0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_meta ( version BIGINT(64) UNSIGNED NOT NULL, table_id BIGINT(64) NOT NULL, modify_count BIGINT(64) NOT NULL DEFAULT 0, count BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, snapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, INDEX idx_ver(version), UNIQUE INDEX tbl(table_id) );"] [2024/05/06 16:34:48.150 +08:00] [INFO] [session.go:3817] ["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 16:34:48.154 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [2024/05/06 16:34:48.274 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:48.174 +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 16:34:48.281 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:48.174 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:48.374 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:48.174 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:48.756 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=8.068414ms] [phyTblIDs="[24]"] [actionTypes="[8]"] [2024/05/06 16:34:48.821 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:48.822 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=25] [version=12] [2024/05/06 16:34:48.826 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=78.691368ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:48.174 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:48.903 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:48.174 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:49.014 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=25] [2024/05/06 16:34:49.014 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:49.016 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.86966186\n# Parse_time: 0\n# Compile_time: 0.004639785\n# Rewrite_time: 0.00001175\n# Optimize_time: 0\n# Wait_TS: 0.000081929\n# DB: mysql\n# Is_internal: true\n# Digest: 7780c45a0aac5f123ac85a7e601e79c5d7779e7c09a19953908e547605ed45d2\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_histograms ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, distinct_count BIGINT(64) NOT NULL, null_count BIGINT(64) NOT NULL DEFAULT 0, tot_col_size BIGINT(64) NOT NULL DEFAULT 0, modify_count BIGINT(64) NOT NULL DEFAULT 0, version BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, cm_sketch BLOB(6291456), stats_ver BIGINT(64) NOT NULL DEFAULT 0, flag BIGINT(64) NOT NULL DEFAULT 0, correlation DOUBLE NOT NULL DEFAULT 0, last_analyze_pos LONGBLOB DEFAULT NULL, UNIQUE INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:34:49.023 +08:00] [INFO] [session.go:3817] ["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 16:34:49.175 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:49.055 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:49.175 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:49.055 +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 16:34:49.281 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:49.055 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:49.428 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=3.524101ms] [phyTblIDs="[26]"] [actionTypes="[8]"] [2024/05/06 16:34:49.457 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:49.457 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=27] [version=13] [2024/05/06 16:34:49.459 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=34.936241ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:49.055 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:49.518 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:49.055 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:49.602 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=27] [2024/05/06 16:34:49.603 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:49.604 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.584262267\n# Parse_time: 0\n# Compile_time: 0.003360664\n# Rewrite_time: 0.000019417\n# Optimize_time: 0\n# Wait_TS: 0.000086042\n# DB: mysql\n# Is_internal: true\n# Digest: 5615b5212342304015b027afb253371dae02f19e53871cfbb034deb145dfce32\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_buckets ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, bucket_id BIGINT(64) NOT NULL, count BIGINT(64) NOT NULL, repeats BIGINT(64) NOT NULL, upper_bound LONGBLOB NOT NULL, lower_bound LONGBLOB , ndv BIGINT NOT NULL DEFAULT 0, UNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id) );"] [2024/05/06 16:34:49.616 +08:00] [INFO] [session.go:3817] ["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 16:34:49.695 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:49.63 +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 16:34:49.709 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:49.63 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:49.763 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:49.63 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:49.898 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=2.342012ms] [phyTblIDs="[28]"] [actionTypes="[8]"] [2024/05/06 16:34:49.956 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:49.956 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=29] [version=14] [2024/05/06 16:34:49.956 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=61.42374ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:49.63 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:50.107 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:49.63 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:50.194 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=29] [2024/05/06 16:34:50.195 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:50.197 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.58734156\n# Parse_time: 0\n# Compile_time: 0.006879435\n# Rewrite_time: 0.000022285\n# Optimize_time: 0\n# Wait_TS: 0.000096955\n# DB: mysql\n# Is_internal: true\n# Digest: 4f764dd084d16197c847e23500fcaf8b96dbbabd598c823de37967bfa2ad51cd\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.gc_delete_range ( job_id BIGINT NOT NULL COMMENT \"the DDL job ID\", element_id BIGINT NOT NULL COMMENT \"the schema element ID\", start_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", end_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", ts BIGINT NOT NULL COMMENT \"timestamp in uint64\", UNIQUE KEY delete_range_index (job_id, element_id) );"] [2024/05/06 16:34:50.218 +08:00] [INFO] [session.go:3817] ["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 16:34:50.299 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:50.233 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:50.300 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:50.233 +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 16:34:50.435 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:50.233 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:50.624 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=2.553298ms] [phyTblIDs="[30]"] [actionTypes="[8]"] [2024/05/06 16:34:50.656 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:50.656 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=31] [version=15] [2024/05/06 16:34:50.657 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=36.25984ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:50.233 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:50.711 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:50.233 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:50.788 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=31] [2024/05/06 16:34:50.793 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:50.795 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.584067692\n# Parse_time: 0\n# Compile_time: 0.007354405\n# Rewrite_time: 0.000012662\n# Optimize_time: 0\n# Wait_TS: 0.000087083\n# DB: mysql\n# Is_internal: true\n# Digest: 532cf71b38f2568975d61180716af7e2b05c9ca11023688224ed0c0eece42fa9\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done ( job_id BIGINT NOT NULL COMMENT \"the DDL job ID\", element_id BIGINT NOT NULL COMMENT \"the schema element ID\", start_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", end_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", ts BIGINT NOT NULL COMMENT \"timestamp in uint64\", UNIQUE KEY delete_range_done_index (job_id, element_id) );"] [2024/05/06 16:34:50.805 +08:00] [INFO] [session.go:3817] ["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 16:34:50.913 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:50.83 +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 16:34:50.920 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:50.83 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:50.978 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:50.83 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:51.139 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=2.257093ms] [phyTblIDs="[32]"] [actionTypes="[8]"] [2024/05/06 16:34:51.156 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:51.156 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=33] [version=16] [2024/05/06 16:34:51.157 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=20.407868ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:50.83 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:51.213 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:50.83 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:51.305 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=33] [2024/05/06 16:34:51.306 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:51.309 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.505735323\n# Parse_time: 0\n# Compile_time: 0.00217409\n# Rewrite_time: 0.000017381\n# Optimize_time: 0\n# Wait_TS: 0.000085676\n# DB: mysql\n# Is_internal: true\n# Digest: 28f04155dca9c7fd3a5e16199cefd152c629a57a64d0ccb2ed0f10309c23c59c\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_feedback ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, feedback BLOB NOT NULL, INDEX hist(table_id, is_index, hist_id) );"] [2024/05/06 16:34:51.324 +08:00] [INFO] [session.go:3817] ["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 16:34:51.463 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:51.367 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:51.464 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:51.367 +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 16:34:51.567 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:51.367 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:51.695 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=4.115453ms] [phyTblIDs="[34]"] [actionTypes="[8]"] [2024/05/06 16:34:51.756 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:51.756 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=35] [version=17] [2024/05/06 16:34:51.757 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=66.081754ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:51.367 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:51.814 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:51.367 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:51.946 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=35] [2024/05/06 16:34:51.947 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:51.949 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.634594677\n# Parse_time: 0\n# Compile_time: 0.009654211\n# Rewrite_time: 0.00001332\n# Optimize_time: 0\n# Wait_TS: 0.000098115\n# DB: mysql\n# Is_internal: true\n# Digest: 13e2fcff943423afddaa84c2d34108628854b5953bc7c41d2879240f077a5bd6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.role_edges ( FROM_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', FROM_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', TO_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', TO_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', WITH_ADMIN_OPTION ENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N', PRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER) );"] [2024/05/06 16:34:51.956 +08:00] [INFO] [session.go:3817] ["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 16:34:52.029 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:51.985 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:52.029 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:51.985 +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 16:34:52.169 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:51.985 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:52.300 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=2.329336ms] [phyTblIDs="[36]"] [actionTypes="[8]"] [2024/05/06 16:34:52.356 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:52.356 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=37] [version=18] [2024/05/06 16:34:52.357 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=60.960735ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:51.985 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:52.434 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:51.985 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:52.523 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=37] [2024/05/06 16:34:52.523 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:52.525 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.571782836\n# Parse_time: 0\n# Compile_time: 0.002994827\n# Rewrite_time: 0.000018098\n# Optimize_time: 0\n# Wait_TS: 0.000092356\n# DB: mysql\n# Is_internal: true\n# Digest: 9e6b544fb0287e9d8a74031560ed0cd6a5b4e54db073b893a68a76b05d929781\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.default_roles ( HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', DEFAULT_ROLE_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%', DEFAULT_ROLE_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', PRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER) );"] [2024/05/06 16:34:52.568 +08:00] [INFO] [session.go:3817] ["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 16:34:52.663 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:52.581 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:52.663 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:52.581 +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 16:34:52.728 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:52.581 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:52.976 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=3.979351ms] [phyTblIDs="[38]"] [actionTypes="[8]"] [2024/05/06 16:34:53.006 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:53.006 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=39] [version=19] [2024/05/06 16:34:53.008 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=36.6155ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:52.581 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:53.104 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:52.581 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:53.215 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=39] [2024/05/06 16:34:53.215 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:53.217 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.653420951\n# Parse_time: 0\n# Compile_time: 0.005088204\n# Rewrite_time: 0.000011807\n# Optimize_time: 0\n# Wait_TS: 0.000078931\n# DB: mysql\n# Is_internal: true\n# Digest: 0a4bc55a9ab72ef62ddaa1ee6472d7872306066fd783a8bb67047a497fbb4dbe\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.bind_info ( original_sql TEXT NOT NULL, bind_sql TEXT NOT NULL, default_db TEXT NOT NULL, status TEXT NOT NULL, create_time TIMESTAMP(3) NOT NULL, update_time TIMESTAMP(3) NOT NULL, charset TEXT NOT NULL, collation TEXT NOT NULL, source VARCHAR(10) NOT NULL DEFAULT 'unknown', sql_digest varchar(64), plan_digest varchar(64), INDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\", INDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\" ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 16:34:53.272 +08:00] [INFO] [session.go:3817] ["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 16:34:53.413 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:53.295 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:53.413 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:53.295 +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 16:34:53.640 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:53.295 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:53.871 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=2.5146ms] [phyTblIDs="[40]"] [actionTypes="[8]"] [2024/05/06 16:34:53.907 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:53.907 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=41] [version=20] [2024/05/06 16:34:53.909 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=41.122907ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:53.295 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:53.982 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:53.295 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:54.128 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=41] [2024/05/06 16:34:54.129 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:54.131 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.860682528\n# Parse_time: 0\n# Compile_time: 0.002418591\n# Rewrite_time: 0.000011903\n# Optimize_time: 0\n# Wait_TS: 0.000084183\n# DB: mysql\n# Is_internal: true\n# Digest: 04a90564803373a6eb3f5a52e8794d25c4d28f6c18af7899b0b9f1bf1539ec72\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_top_n ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, value LONGBLOB, count BIGINT(64) UNSIGNED NOT NULL, INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:34:54.135 +08:00] [INFO] [session.go:3817] ["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 16:34:54.215 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:54.173 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:54.215 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:54.173 +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 16:34:54.312 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:54.173 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:54.510 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=1.779895ms] [phyTblIDs="[42]"] [actionTypes="[8]"] [2024/05/06 16:34:54.556 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:54.557 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=43] [version=21] [2024/05/06 16:34:54.562 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=54.295041ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:54.173 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:54.681 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:54.173 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:54.743 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=43] [2024/05/06 16:34:54.747 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:54.749 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.615409402\n# Parse_time: 0\n# Compile_time: 0.001911708\n# Rewrite_time: 0.000012695\n# Optimize_time: 0\n# Wait_TS: 0.000109604\n# DB: mysql\n# Is_internal: true\n# Digest: 3e05fb8977f83f4e32022552aded3680a039cddc4239c339119a655dc1cffdbb\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist ( name CHAR(100) NOT NULL, store_type CHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb', reason VARCHAR(200) );"] [2024/05/06 16:34:54.758 +08:00] [INFO] [session.go:3817] ["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 16:34:54.838 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:54.791 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:54.838 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:54.791 +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 16:34:54.905 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:54.791 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:54.981 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=1.356019ms] [phyTblIDs="[44]"] [actionTypes="[8]"] [2024/05/06 16:34:55.009 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:55.009 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=45] [version=22] [2024/05/06 16:34:55.014 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=34.72231ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:54.791 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:55.076 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:54.791 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:55.115 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=45] [2024/05/06 16:34:55.115 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:55.117 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.359263619\n# Parse_time: 0\n# Compile_time: 0.001179709\n# Rewrite_time: 0.000011994\n# Optimize_time: 0\n# Wait_TS: 0.000099751\n# DB: mysql\n# Is_internal: true\n# Digest: aee36d5dc7131e4b6e3321cc046ae8b5ec8156ec1ef82481df0b97b8c734325f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist ( name CHAR(100) NOT NULL );"] [2024/05/06 16:34:55.126 +08:00] [INFO] [session.go:3817] ["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 16:34:55.207 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:55.14 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:55.207 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:55.14 +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 16:34:55.329 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:55.14 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:55.516 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=3.228791ms] [phyTblIDs="[46]"] [actionTypes="[8]"] [2024/05/06 16:34:55.556 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:55.556 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=47] [version=23] [2024/05/06 16:34:55.556 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=44.475133ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:55.14 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:55.652 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:55.14 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:55.795 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=47] [2024/05/06 16:34:55.795 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:55.797 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.673955611\n# Parse_time: 0\n# Compile_time: 0.003245713\n# Rewrite_time: 0.000011932\n# Optimize_time: 0\n# Wait_TS: 0.000087871\n# DB: mysql\n# Is_internal: true\n# Digest: bd2a0d9809689d30e22f8d82b29b4ee110d16cda3353b77d74a1938afb746386\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_extended ( name varchar(32) NOT NULL, type tinyint(4) NOT NULL, table_id bigint(64) NOT NULL, column_ids varchar(32) NOT NULL, stats blob DEFAULT NULL, version bigint(64) unsigned NOT NULL, status tinyint(4) NOT NULL, PRIMARY KEY(name, table_id), KEY idx_1 (table_id, status, version), KEY idx_2 (status, version) );"] [2024/05/06 16:34:55.802 +08:00] [INFO] [session.go:3817] ["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 16:34:55.867 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:55.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:55.868 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:55.823 +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 16:34:55.938 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:55.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:56.089 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=6.997568ms] [phyTblIDs="[48]"] [actionTypes="[8]"] [2024/05/06 16:34:56.108 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:56.108 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=49] [version=24] [2024/05/06 16:34:56.110 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=34.170991ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:55.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:56.159 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:55.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:56.222 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=49] [2024/05/06 16:34:56.222 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:56.224 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.423404285\n# Parse_time: 0\n# Compile_time: 0.002237379\n# Rewrite_time: 0.000012826\n# Optimize_time: 0\n# Wait_TS: 0.000095853\n# DB: mysql\n# Is_internal: true\n# Digest: f72fffa4e6072164db3e01e2e29568b0b93c5045737047be527343b1737b0882\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.schema_index_usage ( TABLE_ID bigint(64), INDEX_ID bigint(21), QUERY_COUNT bigint(64), ROWS_SELECTED bigint(64), LAST_USED_AT timestamp, PRIMARY KEY(TABLE_ID, INDEX_ID) );"] [2024/05/06 16:34:56.229 +08:00] [INFO] [session.go:3817] ["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 16:34:56.289 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:56.247 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:56.290 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:56.247 +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 16:34:56.366 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:56.247 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:56.483 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=2.23138ms] [phyTblIDs="[50]"] [actionTypes="[8]"] [2024/05/06 16:34:56.506 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:56.506 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=51] [version=25] [2024/05/06 16:34:56.508 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=28.673738ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:56.247 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:56.591 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:56.247 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:56.684 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=51] [2024/05/06 16:34:56.688 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:56.695 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.462161173\n# Parse_time: 0\n# Compile_time: 0.002104788\n# Rewrite_time: 0.000011744\n# Optimize_time: 0\n# Wait_TS: 0.000081364\n# DB: mysql\n# Is_internal: true\n# Digest: 27ef2533f9d97f96c8c86a69a0de51aad04499856acd05fe4a4b93fb5b6043d0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, value LONGBLOB, INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:34:56.702 +08:00] [INFO] [session.go:3817] ["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 16:34:56.788 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:56.716 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:56.788 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:56.716 +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 16:34:56.889 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:56.716 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:57.015 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=2.321473ms] [phyTblIDs="[52]"] [actionTypes="[8]"] [2024/05/06 16:34:57.056 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:57.056 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=53] [version=26] [2024/05/06 16:34:57.062 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=50.676624ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:56.716 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:57.225 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:56.716 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:57.339 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=53] [2024/05/06 16:34:57.340 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:57.342 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.643031819\n# Parse_time: 0\n# Compile_time: 0.002939638\n# Rewrite_time: 0.000014532\n# Optimize_time: 0\n# Wait_TS: 0.000108294\n# DB: mysql\n# Is_internal: true\n# Digest: 79c6e54229df7b01d20ffaf8ac1077aa9ef39e604df30d5ce852dd7049cc3ddd\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.global_grants ( USER char(32) NOT NULL DEFAULT '', HOST char(255) NOT NULL DEFAULT '', PRIV char(32) NOT NULL DEFAULT '', WITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N', PRIMARY KEY (USER,HOST,PRIV) );"] [2024/05/06 16:34:57.348 +08:00] [INFO] [session.go:3817] ["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 16:34:57.473 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:57.379 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:57.473 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:57.379 +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 16:34:57.578 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:57.379 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:57.711 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=2.143738ms] [phyTblIDs="[54]"] [actionTypes="[8]"] [2024/05/06 16:34:57.756 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:57.756 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=55] [version=27] [2024/05/06 16:34:57.756 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=48.116675ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:57.379 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:57.886 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:57.379 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:57.970 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=55] [2024/05/06 16:34:57.976 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:57.978 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.632671405\n# Parse_time: 0\n# Compile_time: 0.002592598\n# Rewrite_time: 0.000013398\n# Optimize_time: 0\n# Wait_TS: 0.00009131\n# DB: mysql\n# Is_internal: true\n# Digest: 08f858a5bd3a1fd5dfd809dd4b9d6c72db69f874b06ad0e91987f9e89a5cf89a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist ( id bigint(64) auto_increment, filter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\", filter_value varchar(32) NOT NULL, key idx(filter_type), primary key(id) );"] [2024/05/06 16:34:57.985 +08:00] [INFO] [session.go:3817] ["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 16:34:58.066 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:57.998 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:58.066 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:57.998 +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 16:34:58.257 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:57.998 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:58.397 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=2.347677ms] [phyTblIDs="[56]"] [actionTypes="[8]"] [2024/05/06 16:34:58.456 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:58.457 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=57] [version=28] [2024/05/06 16:34:58.458 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=64.308836ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:57.998 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:58.511 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:57.998 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:58.592 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=57] [2024/05/06 16:34:58.592 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:58.594 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.610682747\n# Parse_time: 0\n# Compile_time: 0.001929243\n# Rewrite_time: 0.000012547\n# Optimize_time: 0\n# Wait_TS: 0.000415395\n# DB: mysql\n# Is_internal: true\n# Digest: 3a5634ff31bd7d32849c5404b7ffc419c7a7074307b815e5369eb6ca363cbcd0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.column_stats_usage ( table_id BIGINT(64) NOT NULL, column_id BIGINT(64) NOT NULL, last_used_at TIMESTAMP, last_analyzed_at TIMESTAMP, PRIMARY KEY (table_id, column_id) CLUSTERED );"] [2024/05/06 16:34:58.600 +08:00] [INFO] [session.go:3817] ["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 16:34:58.664 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:58.614 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:58.664 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:58.614 +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 16:34:58.753 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:58.614 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:58.899 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=2.090665ms] [phyTblIDs="[58]"] [actionTypes="[8]"] [2024/05/06 16:34:58.956 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:58.956 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=59] [version=29] [2024/05/06 16:34:58.958 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=62.762989ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:58.614 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:59.027 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:58.614 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:59.200 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=59] [2024/05/06 16:34:59.200 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:59.202 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.604195558\n# Parse_time: 0\n# Compile_time: 0.00247363\n# Rewrite_time: 0.000014077\n# Optimize_time: 0\n# Wait_TS: 0.000093846\n# DB: mysql\n# Is_internal: true\n# Digest: d5bebde055ca14bff3e131e086a86c4095b9d04ea6fc326b4c2f16ffd61fbd2d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.table_cache_meta ( tid bigint(11) NOT NULL DEFAULT 0, lock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE', lease bigint(20) NOT NULL DEFAULT 0, oldReadLease bigint(20) NOT NULL DEFAULT 0, PRIMARY KEY (tid) );"] [2024/05/06 16:34:59.214 +08:00] [INFO] [session.go:3817] ["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 16:34:59.236 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [2024/05/06 16:34:59.349 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:59.269 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:59.350 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:59.269 +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 16:34:59.413 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:59.269 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:59.601 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=2.949384ms] [phyTblIDs="[60]"] [actionTypes="[8]"] [2024/05/06 16:34:59.657 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:34:59.657 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=61] [version=30] [2024/05/06 16:34:59.659 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=62.123798ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:59.269 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:59.710 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:59.269 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:34:59.794 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=61] [2024/05/06 16:34:59.794 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:34:59.796 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.585224983\n# Parse_time: 0\n# Compile_time: 0.003300853\n# Rewrite_time: 0.000025698\n# Optimize_time: 0\n# Wait_TS: 0.00012671\n# DB: mysql\n# Is_internal: true\n# Digest: 987fcd9b9a604209ec1101d918419b993c42f84fe228e20aee2fcca2931ff93e\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.analyze_options ( table_id BIGINT(64) NOT NULL, sample_num BIGINT(64) NOT NULL DEFAULT 0, sample_rate DOUBLE NOT NULL DEFAULT -1, buckets BIGINT(64) NOT NULL DEFAULT 0, topn BIGINT(64) NOT NULL DEFAULT -1, column_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT', column_ids TEXT(19372), PRIMARY KEY (table_id) CLUSTERED );"] [2024/05/06 16:34:59.816 +08:00] [INFO] [session.go:3817] ["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\t);"] [user=] [2024/05/06 16:34:59.919 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:34:59.836 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:34:59.920 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:59.836 +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\t);"] [2024/05/06 16:35:00.095 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:59.836 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:00.269 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=2.636169ms] [phyTblIDs="[62]"] [actionTypes="[8]"] [2024/05/06 16:35:00.309 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:00.309 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=63] [version=31] [2024/05/06 16:35:00.310 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=44.330621ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:34:59.836 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:00.377 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:34:59.836 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:00.457 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=63] [2024/05/06 16:35:00.457 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:00.458 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.653266399\n# Parse_time: 0\n# Compile_time: 0.01116688\n# Rewrite_time: 0.000016316\n# Optimize_time: 0\n# Wait_TS: 0.000095272\n# DB: mysql\n# Is_internal: true\n# Digest: 11757f6de6b3d2a64e92f14cd7b7f739729563ede3b0139d016148eba0b27ebf\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_history ( table_id bigint(64) NOT NULL, stats_data longblob NOT NULL, seq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice', version bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN', create_time datetime(6) NOT NULL, UNIQUE KEY table_version_seq (table_id, version, seq_no), KEY table_create_time (table_id, create_time, seq_no) );"] [2024/05/06 16:35:00.466 +08:00] [INFO] [session.go:3817] ["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\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\t);"] [user=] [2024/05/06 16:35:00.553 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:00.479 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:00.553 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:00.479 +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\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\t);"] [2024/05/06 16:35:00.683 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:00.479 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:00.824 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=2.713412ms] [phyTblIDs="[64]"] [actionTypes="[8]"] [2024/05/06 16:35:00.906 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:00.906 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=65] [version=32] [2024/05/06 16:35:00.909 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=90.839767ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:00.479 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:00.967 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:00.479 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:01.062 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=65] [2024/05/06 16:35:01.063 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:01.066 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.603153859\n# Parse_time: 0\n# Compile_time: 0.003240283\n# Rewrite_time: 0.000013335\n# Optimize_time: 0\n# Wait_TS: 0.00009674\n# DB: mysql\n# Is_internal: true\n# Digest: ebccd6f5d49fb0fcff4d7dc20bb3ae798d172a92ba5f6709445c980166f7e32f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_meta_history ( table_id bigint(64) NOT NULL, modify_count bigint(64) NOT NULL, count bigint(64) NOT NULL, version bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN', create_time datetime(6) NOT NULL, UNIQUE KEY table_version (table_id, version), KEY table_create_time (table_id, create_time) );"] [2024/05/06 16:35:01.092 +08:00] [INFO] [session.go:3817] ["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 16:35:01.223 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:01.119 +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 16:35:01.237 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:01.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:01.305 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:01.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:01.659 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=4.53486ms] [phyTblIDs="[66]"] [actionTypes="[8]"] [2024/05/06 16:35:01.707 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:01.707 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=67] [version=33] [2024/05/06 16:35:01.707 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=52.876456ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:01.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:01.784 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:01.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:02.120 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=67] [2024/05/06 16:35:02.128 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:02.130 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.043239444\n# Parse_time: 0\n# Compile_time: 0.00514762\n# Rewrite_time: 0.000012726\n# Optimize_time: 0\n# Wait_TS: 0.000085109\n# DB: mysql\n# Is_internal: true\n# Digest: bfb9a3ff60c3c60c054a207c0a0db06c87e29edbe94005d8d5c89fe484f4f90a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.analyze_jobs ( id BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT, update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, table_schema CHAR(64) NOT NULL DEFAULT '', table_name CHAR(64) NOT NULL DEFAULT '', partition_name CHAR(64) NOT NULL DEFAULT '', job_info TEXT NOT NULL, processed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, start_time TIMESTAMP, end_time TIMESTAMP, state ENUM('pending', 'running', 'finished', 'failed') NOT NULL, fail_reason TEXT, instance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job', process_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job', PRIMARY KEY (id), KEY (update_time) );"] [2024/05/06 16:35:02.136 +08:00] [INFO] [session.go:3817] ["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 16:35:02.242 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:02.164 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:02.242 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:02.164 +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 16:35:02.386 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:02.164 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:02.523 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=1.719613ms] [phyTblIDs="[68]"] [actionTypes="[8]"] [2024/05/06 16:35:02.556 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:02.556 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=69] [version=34] [2024/05/06 16:35:02.556 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=36.09218ms] [job="ID:69, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:02.164 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:02.609 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:69, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:02.164 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:02.708 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=69] [2024/05/06 16:35:02.708 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:02.709 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.574852409\n# Parse_time: 0\n# Compile_time: 0.00132622\n# Rewrite_time: 0.000012327\n# Optimize_time: 0\n# Wait_TS: 0.000084999\n# DB: mysql\n# Is_internal: true\n# Digest: 85d0480e8afeca7d94d07ca1a681df6c7f89f1fda753ceb6e02b51caf3714c1c\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.advisory_locks ( lock_name VARCHAR(64) NOT NULL PRIMARY KEY );"] [2024/05/06 16:35:02.857 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:02.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:02.857 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:35:02.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] [2024/05/06 16:35:02.998 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:02.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:03.210 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=2.765707ms] [phyTblIDs="[70]"] [actionTypes="[2097152]"] [2024/05/06 16:35:03.256 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:03.256 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=71] [version=35] [2024/05/06 16:35:03.256 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=49.116447ms] [job="ID:71, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:35:02.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:03.359 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:71, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:02.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:03.501 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=71] [2024/05/06 16:35:03.502 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:03.503 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.789051628\n# Parse_time: 0\n# Compile_time: 0.00735584\n# Rewrite_time: 0.004189395\n# Optimize_time: 0\n# Wait_TS: 0.000091368\n# DB: mysql\n# Is_internal: true\n# Digest: 812c81f344f5d0c8b8aedcb68ff1dca865b59104853273f7e66b8abff5429992\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE OR REPLACE VIEW mysql.tidb_mdl_view as ( select JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID );"] [2024/05/06 16:35:03.511 +08:00] [INFO] [session.go:3817] ["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 16:35:03.601 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:03.53 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:03.602 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:03.53 +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 16:35:03.701 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:03.53 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:03.808 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=2.67328ms] [phyTblIDs="[72]"] [actionTypes="[8]"] [2024/05/06 16:35:03.856 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:03.856 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=73] [version=36] [2024/05/06 16:35:03.856 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=52.204403ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:03.53 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:03.908 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:03.53 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:04.019 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=73] [2024/05/06 16:35:04.022 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:04.024 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.516017335\n# Parse_time: 0\n# Compile_time: 0.003023271\n# Rewrite_time: 0.000014556\n# Optimize_time: 0\n# Wait_TS: 0.000086342\n# DB: mysql\n# Is_internal: true\n# Digest: 3d2f349b1c68ee2b30e34bad8bb3838af6c40d7a26072b2d29d801d7fedbac48\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.plan_replayer_status ( sql_digest VARCHAR(128), plan_digest VARCHAR(128), origin_sql TEXT, token VARCHAR(128), update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fail_reason TEXT, instance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 16:35:04.050 +08:00] [INFO] [session.go:3817] ["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 16:35:04.163 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:04.08 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:04.163 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:04.08 +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 16:35:04.221 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:04.08 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:04.330 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=4.311788ms] [phyTblIDs="[74]"] [actionTypes="[8]"] [2024/05/06 16:35:04.357 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:04.357 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=75] [version=37] [2024/05/06 16:35:04.357 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=32.348625ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:04.08 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:04.414 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:04.08 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:04.506 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=75] [2024/05/06 16:35:04.507 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:04.508 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.46434395\n# Parse_time: 0\n# Compile_time: 0.006457842\n# Rewrite_time: 0.000011971\n# Optimize_time: 0\n# Wait_TS: 0.000080492\n# DB: mysql\n# Is_internal: true\n# Digest: 8d9754df14c826803fed84f1ae3eb8fc9729e76a793b6be6bf25967f1929d039\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.plan_replayer_task ( sql_digest VARCHAR(128) NOT NULL, plan_digest VARCHAR(128) NOT NULL, update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 16:35:04.515 +08:00] [INFO] [session.go:3817] ["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 16:35:04.624 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:04.529 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:04.624 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:04.529 +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 16:35:04.698 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:04.529 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:04.804 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=1.927199ms] [phyTblIDs="[76]"] [actionTypes="[8]"] [2024/05/06 16:35:04.856 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:04.857 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=77] [version=38] [2024/05/06 16:35:04.859 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=38] ["take time"=57.245358ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:04.529 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:04.916 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:04.529 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:05.053 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=77] [2024/05/06 16:35:05.066 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:05.068 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.55688571\n# Parse_time: 0\n# Compile_time: 0.004232677\n# Rewrite_time: 0.000013017\n# Optimize_time: 0\n# Wait_TS: 0.000085889\n# DB: mysql\n# Is_internal: true\n# Digest: b57fdc4b14aba5f29d915d04e5e4557f60a758fd65ec571368527cd45c6ef82a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_table_locked( table_id bigint(64) NOT NULL, modify_count bigint(64) NOT NULL DEFAULT 0, count bigint(64) NOT NULL DEFAULT 0, version bigint(64) UNSIGNED NOT NULL DEFAULT 0, PRIMARY KEY (table_id));"] [2024/05/06 16:35:05.083 +08:00] [INFO] [session.go:3817] ["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 16:35:05.221 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:05.097 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:05.221 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:05.097 +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 16:35:05.320 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 3, tp general"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:05.097 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:05.638 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=48.958261ms] [phyTblIDs="[78]"] [actionTypes="[8]"] [2024/05/06 16:35:05.706 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:05.706 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=79] [version=39] [2024/05/06 16:35:05.706 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=39] ["take time"=118.116212ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:05.097 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:05.775 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 3, tp general"] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:05.097 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:06.016 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=79] [2024/05/06 16:35:06.016 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:06.018 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.940243505\n# Parse_time: 0\n# Compile_time: 0.005264777\n# Rewrite_time: 0.000015889\n# Optimize_time: 0\n# Wait_TS: 0.000086373\n# DB: mysql\n# Is_internal: true\n# Digest: a30bd3c3a49070c554e65922e84c6b76e646842e3925a859fcde73941a7cb423\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status ( table_id bigint(64) PRIMARY KEY, parent_table_id bigint(64), table_statistics text DEFAULT NULL, last_job_id varchar(64) DEFAULT NULL, last_job_start_time timestamp NULL DEFAULT NULL, last_job_finish_time timestamp NULL DEFAULT NULL, last_job_ttl_expire timestamp NULL DEFAULT NULL, last_job_summary text DEFAULT NULL, current_job_id varchar(64) DEFAULT NULL, current_job_owner_id varchar(64) DEFAULT NULL, current_job_owner_addr varchar(256) DEFAULT NULL, current_job_owner_hb_time timestamp, current_job_start_time timestamp NULL DEFAULT NULL, current_job_ttl_expire timestamp NULL DEFAULT NULL, current_job_state text DEFAULT NULL, current_job_status varchar(64) DEFAULT NULL, current_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 16:35:06.785 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572898346106880\n# Query_time: 0.520979613\n# Parse_time: 0\n# Compile_time: 0.253402297\n# Rewrite_time: 0.007870228\n# Optimize_time: 0\n# Wait_TS: 0.00008452\n# DB: mysql\n# Is_internal: true\n# Digest: ca2019e08a331284bd0c64be228a0537fcf9f5983e95d94b67ef42dcb8f54385\n# Num_cop_tasks: 0\n# Mem_max: 354800\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: true\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('pAPwPDAJMjdfMQkwCTAJTi9BCTAJdGltZToyNTMuN21zLCBsb29wczoxLCBwcmVwYXJlOiB7dG90YWw6IDM1LjgBIkxhdXRvX2lkX2FsbG9jYXRvcjogewUMZF9jbnQ6IDEsIEdldDp7bnVtX3JwYzo0LCB0AUEAXwVokDQyNi4zwrVzfSwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjUwNC4BIRQsIGdldF8RJCBzOjMwLjbCtXMRNxQ6NTA2LjkFERxzbG93ZXN0XxFDBXYEIHsFdWg6IDAuMDAwcywgcmVnaW9uX2lkOiAyLCBzdG8B2wUHCDEsIBmOGHByaW1hcnnWRAANZBhudW06MSwgBdAMX2tleSVPCQ6YYnl0ZTozMn19fSwgaW5zZXJ0OjIxNy45bXMJOTguNSBLQglOL0EK')\nINSERT HIGH_PRIORITY INTO mysql.GLOBAL_VARIABLES VALUES (\"tidb_enable_unsafe_substitute\", \"OFF\"), (\"net_write_timeout\", \"60\"), (\"super_read_only\", \"OFF\"), (\"slave_parallel_type\", \"\"), (\"tidb_allow_mpp\", \"ON\"), (\"innodb_max_purge_lag\", \"0\"), (\"sql_quote_show_create\", \"ON\"), (\"tidb_enable_new_only_full_group_by_check\", \"OFF\"), (\"session_track_state_change\", \"\"), (\"event_scheduler\", \"OFF\"), (\"max_seeks_for_key\", \"18446744073709551615\"), (\"sync_relay_log_info\", \"10000\"), (\"tidb_cost_model_version\", \"2\"), (\"tidb_enable_noop_variables\", \"ON\"), (\"tidb_opt_desc_factor\", \"3\"), (\"tidb_enable_local_txn\", \"OFF\"), (\"innodb_stats_persistent\", \"ON\"), (\"min_examined_row_limit\", \"0\"), (\"innodb_max_undo_log_size\", \"\"), (\"block_encryption_mode\", \"aes-128-ecb\"), (\"tidb_enable_index_merge_join\", \"OFF\"), (\"tidb_max_chunk_size\", \"1024\"), (\"sync_relay_log\", \"10000\"), (\"tidb_enable_clustered_index\", \"ON\"), (\"innodb_flush_sync\", \"\"), (\"innodb_flush_neighbors\", \"1\"), (\"log_backward_compatible_user_definitions\", \"\"), (\"rpl_semi_sync_master_wait_point\", \"AFTER_SYNC\"), (\"ndb_join_pushdown\", \"\"), (\"character_set_server\", \"utf8mb4\"), (\"offline_mode\", \"OFF\"), (\"tidb_adaptive_closest_read_threshold\", \"4096\"), (\"general_log_file\", \"/usr/local/mysql/data/localhost.log\"), (\"tidb_prepared_plan_cache_memory_guard_ratio\", \"0.1\"), (\"innodb_status_output\", \"OFF\"), (\"innodb_compression_level\", \"6\"), (\"tidb_merge_partition_stats_concurrency\", \"1\"), (\"thread_cache_size\", \"9\"), (\"innodb_ft_aux_table\", \"\"), (\"transaction_isolation\", \"REPEATABLE-READ\"), (\"tidb_ddl_flashback_concurrency\", \"64\"), (\"innodb_thread_concurrency\", \"0\"), (\"tidb_gogc_tuner_threshold\", \"0.6\"), (\"ndbinfo_show_hidden\", \"\"), (\"innodb_large_prefix\", \"ON\"), (\"tidb_stats_load_pseudo_timeout\", \"ON\"), (\"tidb_table_cache_lease\", \"3\"), (\"tidb_stmt_summary_max_stmt_count\", \"3000\"), (\"key_cache_age_threshold\", \"300\"), (\"tidb_broadcast_join_threshold_size\", \"104857600\"), (\"information_schema_stats_expiry\", \"86400\"), (\"myisam_use_mmap\", \"OFF\"), (\"tidb_enable_gogc_tuner\", \"ON\"), (\"log_syslog\", \"\"), (\"max_join_size\", \"18446744073709551615\"), (\"low_priority_updates\", \"OFF\"), (\"tidb_index_lookup_size\", \"20000\"), (\"validate_password.dictionary\", \"\"), (\"tidb_top_sql_max_meta_count\", \"5000\"), (\"tmp_table_size\", \"16777216\"), (\"innodb_lru_scan_depth\", \"1024\"), (\"tidb_mem_quota_apply_cache\", \"33554432\"), (\"sql_warnings\", \"OFF\"), (\"ft_boolean_syntax\", \"+ -><()~*:\\\"\\\"&|\"), (\"tidb_generate_binary_plan\", \"ON\"), (\"tidb_enable_paging\", \"ON\"), (\"tidb_opt_copcpu_factor\", \"3\"), (\"innodb_stats_transient_sample_pages\", \"8\"), (\"character_set_database\", \"utf8mb4\"), (\"tidb_stats_cache_mem_quota\", \"0\"), (\"ndb_log_updated_only\", \"\"), (\"tidb_enable_null_aware_anti_join\", \"OFF\"), (\"validate_password.number_count\", \"1\"), (\"ndb_eventbuffer_max_alloc\", \"\"), (\"lc_messages\", \"en_US\"), (\"innodb_change_buffering\", \"all\"), (\"tidb_mem_quota_query\", \"1073741824\"), (\"default_storage_engine\", \"InnoDB\"), (\"innodb_flushing_avg_loops\", \"30\"), (\"group_concat_max_len\", \"1024\"), (\"avoid_temporal_upgrade\", \"OFF\"), (\"binlog_rows_query_log_events\", \"OFF\"), (\"innodb_commit_concurrency\", \"0\"), (\"tidb_replica_read\", \"leader\"), (\"binlogging_impossible_mode\", \"IGNORE_ERROR\"), (\"tidb_txn_assertion_level\", \"FAST\"), (\"tidb_general_plan_cache_size\", \"100\"), (\"time_zone\", \"SYSTEM\"), (\"query_cache_min_res_unit\", \"4096\"), (\"unique_checks\", \"ON\"), (\"autocommit\", \"ON\"), (\"innodb_max_dirty_pages_pct\", \"75\"), (\"expire_logs_days\", \"0\"), (\"tidb_use_plan_baselines\", \"ON\"), (\"tidb_top_sql_max_time_series_count\", \"100\"), (\"log_error_verbosity\", \"\"), (\"innodb_file_per_table\", \"ON\"), (\"tidb_enable_index_merge\", \"ON\"), (\"innodb_lock_wait_timeout\", \"50\"), (\"bulk_insert_buffer_size\", \"8388608\"), (\"log_throttle_queries_not_using_indexes\", \"0\"), (\"max_allowed_packet\", \"67108864\"), (\"tidb_opt_correlation_exp_factor\", \"1\"), (\"innodb_io_capacity\", \"200\"), (\"tidb_super_read_only\", \"OFF\"), (\"max_heap_table_size\", \"16777216\"), (\"gtid_purged\", \"\"), (\"relay_log_info_repository\", \"FILE\"), (\"init_slave\", \"\"), (\"tidb_placement_mode\", \"STRICT\"), (\"tidb_opt_memory_factor\", \"0.001\"), (\"max_points_(len:21519);"] [2024/05/06 16:35:07.172 +08:00] [INFO] [bootstrap.go:529] ["bootstrap successful"] ["take time"=28.115644287s] [2024/05/06 16:35:07.177 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:35:07.178 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 9, tp add index"] ["take time"=29.773µs] [2024/05/06 16:35:07.178 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 10, tp add index"] ["take time"=25.386µs] [2024/05/06 16:35:07.180 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 11, tp add index"] ["take time"=37.633µs] [2024/05/06 16:35:07.180 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 12, tp add index"] ["take time"=40.817µs] [2024/05/06 16:35:07.180 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 13, tp add index"] ["take time"=18.037µs] [2024/05/06 16:35:07.180 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 4, tp add index"] ["take time"=20.899µs] [2024/05/06 16:35:07.180 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 5, tp add index"] ["take time"=19.204µs] [2024/05/06 16:35:07.181 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 6, tp add index"] ["take time"=19.193µs] [2024/05/06 16:35:07.181 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 7, tp add index"] ["take time"=19.474µs] [2024/05/06 16:35:07.181 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 8, tp add index"] ["take time"=20.128µs] [2024/05/06 16:35:07.181 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:35:07.181 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 3, tp general"] ["take time"=22.871µs] [2024/05/06 16:35:07.182 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 1, tp general"] ["take time"=5.007µs] [2024/05/06 16:35:07.182 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 2, tp add index"] ["take time"=2.725µs] [2024/05/06 16:35:07.183 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:35:07.183 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:35:07.195 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=361fea57-cf5b-4838-90e0-f4177a00f1ef] ["take time"=17.351863ms] [2024/05/06 16:35:07.195 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=361fea57-cf5b-4838-90e0-f4177a00f1ef] [2024/05/06 16:35:07.202 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:35:07.202 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:35:07.202 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:35:07.202 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:35:07.202 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:35:07.203 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=25.289069ms] [2024/05/06 16:35:07.202 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:35:07.203 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=6caa8172-5d08-484c-a2a7-74f625a49fd9] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 16:35:07.378 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=39] ["start time"=172.897325ms] [2024/05/06 16:35:07.384 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:35:07.384 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=dbd340f9-e638-49c7-b67b-c211c29bfd81] [runWorker=true] [2024/05/06 16:35:07.386 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:35:07.387 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:35:07.388 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 14, tp general"] [2024/05/06 16:35:07.388 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 15, tp add index"] [2024/05/06 16:35:07.392 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:35:07.392 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:35:07.393 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:35:07.393 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:35:07.425 +08:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 16:35:07.726 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=39] [cur_db=test] [sql="drop table if exists t1,t2"] [user=] [2024/05/06 16:35:07.730 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=39] [cur_db=test] [sql="create table t1 (id int primary key, v int)"] [user=] [2024/05/06 16:35:07.801 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:07.75 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:07.802 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:07.75 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t1 (id int primary key, v int)"] [2024/05/06 16:35:08.556 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 16, tp general"] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:07.75 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:08.709 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=1.551658ms] [phyTblIDs="[80]"] [actionTypes="[8]"] [2024/05/06 16:35:08.744 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=81] [version=40] [2024/05/06 16:35:08.746 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=40] ["take time"=38.865511ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:07.75 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:08.815 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 16, tp general"] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:07.75 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:08.905 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=81] [2024/05/06 16:35:08.906 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:08.910 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 1.181250951\n# Parse_time: 0.001017079\n# Compile_time: 0.001067192\n# Rewrite_time: 0.000013139\n# Optimize_time: 0.000732665\n# Wait_TS: 0.000087715\n# DB: test\n# Is_internal: false\n# Digest: 58adff4e53b4dc3a2102ff826681d219bcf79edb1d10a7d7eddd3da56fcd9ce6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\ncreate table t1 (id int primary key, v int);"] [2024/05/06 16:35:08.928 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=40] [cur_db=test] [sql="create table t2 (id int)"] [user=] [2024/05/06 16:35:08.981 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:08.95 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:08.982 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:08.95 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t2 (id int)"] [2024/05/06 16:35:09.109 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 16, tp general"] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:08.95 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:09.193 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=1.464214ms] [phyTblIDs="[82]"] [actionTypes="[8]"] [2024/05/06 16:35:09.244 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=83] [version=41] [2024/05/06 16:35:09.246 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=41] ["take time"=54.796883ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:08.95 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:09.392 +08:00] [INFO] [info.go:1114] [SetTiFlashGroupConfig] [2024/05/06 16:35:09.435 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 16, tp general"] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:08.95 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:09.546 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=83] [2024/05/06 16:35:09.546 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:09.548 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 0.621130172\n# Parse_time: 0.00065385\n# Compile_time: 0.000925418\n# Rewrite_time: 0.000011325\n# Optimize_time: 0.000732665\n# Wait_TS: 0.000100758\n# DB: test\n# Is_internal: false\n# Digest: 022ec70336ed50328c0e53dd0419219aeef85a72279ec430eea3ccf10d0811fe\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\ncreate table t2 (id int);"] [2024/05/06 16:35:09.550 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=41] [cur_db=test] [sql="create temporary table tmp (id int)"] [user=] [2024/05/06 16:35:09.603 +08:00] [WARN] [2pc.go:1900] ["schemaLeaseChecker is not set for this transaction"] [sessionID=2] [startTS=449572899282223104] [checkTS=449572899285368832] [2024/05/06 16:35:09.617 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=41] [cur_db=test] [sql="alter table t2 add column(c1 int)"] [user=] [2024/05/06 16:35:09.742 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:85, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:35:09.643 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:09.742 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:85, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:35:09.643 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="alter table t2 add column(c1 int)"] [2024/05/06 16:35:09.818 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 16, tp general"] [job="ID:85, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:09.643 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:09.820 +08:00] [INFO] [column.go:133] ["[ddl] run add column job"] [job="ID:85, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:35:09.643 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [columnInfo="{\"id\":2,\"name\":{\"O\":\"c1\",\"L\":\"c1\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 16:35:09.871 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=5.20361ms] [phyTblIDs="[82]"] [actionTypes="[32]"] [2024/05/06 16:35:09.894 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=42] [2024/05/06 16:35:09.894 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=42] ["take time"=28.905361ms] [job="ID:85, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:35:09.643 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:10.076 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 16, tp general"] [job="ID:85, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:09.643 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:10.135 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=1.644594ms] [phyTblIDs="[82]"] [actionTypes="[32]"] [2024/05/06 16:35:10.194 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=43] [2024/05/06 16:35:10.195 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=43] ["take time"=62.930449ms] [job="ID:85, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:35:09.643 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:10.245 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 16, tp general"] [job="ID:85, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:09.643 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:10.298 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=1.802632ms] [phyTblIDs="[82]"] [actionTypes="[32]"] [2024/05/06 16:35:10.347 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=44] [2024/05/06 16:35:10.347 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=44] ["take time"=51.433047ms] [job="ID:85, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:35:09.643 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:10.420 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 16, tp general"] [job="ID:85, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:09.643 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:10.509 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=1.538255ms] [phyTblIDs="[82]"] [actionTypes="[32]"] [2024/05/06 16:35:10.544 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=45] [2024/05/06 16:35:10.545 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=45] ["take time"=38.852023ms] [job="ID:85, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:35:09.643 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:10.695 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 16, tp general"] [job="ID:85, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:09.643 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:10.741 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=85] [2024/05/06 16:35:10.741 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:10.743 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Conn_ID: 3\n# Query_time: 1.128001873\n# Parse_time: 0.000704944\n# Compile_time: 0.001208982\n# Rewrite_time: 0.000018957\n# Optimize_time: 0.000459017\n# Wait_TS: 0.000076955\n# DB: test\n# Is_internal: false\n# Digest: 177e330fc6e13ff4b1b9f51ae04b524c419feabb143557fdc6a5807ebb58aed3\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\nalter table t2 add column(c1 int);"] [2024/05/06 16:35:10.752 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:35:10.752 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 21, tp add index"] ["take time"=19.272µs] [2024/05/06 16:35:10.752 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 22, tp add index"] ["take time"=8.171µs] [2024/05/06 16:35:10.752 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 23, tp add index"] ["take time"=7.568µs] [2024/05/06 16:35:10.753 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 24, tp add index"] ["take time"=7.017µs] [2024/05/06 16:35:10.753 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 25, tp add index"] ["take time"=7.264µs] [2024/05/06 16:35:10.753 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 26, tp add index"] ["take time"=6.792µs] [2024/05/06 16:35:10.753 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 17, tp add index"] ["take time"=5.465µs] [2024/05/06 16:35:10.753 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 18, tp add index"] ["take time"=12.992µs] [2024/05/06 16:35:10.754 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 19, tp add index"] ["take time"=14.831µs] [2024/05/06 16:35:10.754 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 20, tp add index"] ["take time"=17.561µs] [2024/05/06 16:35:10.754 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:35:10.754 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 16, tp general"] ["take time"=7.02µs] [2024/05/06 16:35:10.754 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 14, tp general"] ["take time"=3.316µs] [2024/05/06 16:35:10.755 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 15, tp add index"] ["take time"=3.331µs] [2024/05/06 16:35:10.755 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:35:10.755 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:35:10.757 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=dbd340f9-e638-49c7-b67b-c211c29bfd81] ["take time"=8.718059ms] [2024/05/06 16:35:10.757 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=dbd340f9-e638-49c7-b67b-c211c29bfd81] [2024/05/06 16:35:10.757 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:35:10.758 +08:00] [INFO] [domain.go:1525] ["globalBindHandleWorkerLoop exited."] [2024/05/06 16:35:10.758 +08:00] [INFO] [domain.go:1569] ["handleEvolvePlanTasksLoop exited."] [2024/05/06 16:35:10.758 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:35:10.758 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:35:10.758 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:35:10.758 +08:00] [INFO] [domain.go:1748] ["dumpFileGcChecker exited."] [2024/05/06 16:35:10.758 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:35:10.758 +08:00] [INFO] [domain.go:1394] ["loadPrivilegeInLoop exited."] [2024/05/06 16:35:10.758 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:35:10.758 +08:00] [INFO] [domain.go:1444] ["LoadSysVarCacheLoop exited."] [2024/05/06 16:35:10.758 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:35:10.758 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:35:10.758 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:35:10.758 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:35:10.758 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:35:10.764 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=15.880796ms] [2024/05/06 16:35:10.772 +08:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 16:35:10.773 +08:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 16:35:10.773 +08:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 16:35:10.773 +08:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 16:35:10.773 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 16:35:10.773 +08:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestTxnContextForSimpleCases (32.16s) === RUN TestTxnContextBeginInUnfinishedTxn [2024/05/06 16:35:10.783 +08:00] [INFO] [region_cache.go:2484] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 16:35:10.790 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:35:10.792 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:35:10.802 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:35:10.838 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:35:10.845 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:35:10.864 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=951d675d-6f65-4b51-ac41-17f32da01655] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 16:35:10.866 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).Init\n\tdomain/domain.go:1074\ngithub.com/pingcap/tidb/session.(*domainMap).Get.func1\n\tsession/tidb.go:90\ngithub.com/pingcap/tidb/util.RunWithRetry\n\tutil/misc.go:69\ngithub.com/pingcap/tidb/session.(*domainMap).Get\n\tsession/tidb.go:76\ngithub.com/pingcap/tidb/session.createSessionWithOpt\n\tsession/session.go:3520\ngithub.com/pingcap/tidb/session.createSession\n\tsession/session.go:3516\ngithub.com/pingcap/tidb/session.runInBootstrapSession\n\tsession/session.go:3480\ngithub.com/pingcap/tidb/session.BootstrapSession\n\tsession/session.go:3309\ngithub.com/pingcap/tidb/testkit.bootstrap\n\ttestkit/mockstore.go:84\ngithub.com/pingcap/tidb/testkit.CreateMockStoreAndDomain\n\ttestkit/mockstore.go:69\nsessiontxn/sessiontxn_test_test.setupTxnContextTest\n\tsessiontxn/txn_context_test.go:61\nsessiontxn/sessiontxn_test_test.TestTxnContextBeginInUnfinishedTxn\n\tsessiontxn/txn_context_test.go:219\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1446\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:35:10.923 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=55.156632ms] [2024/05/06 16:35:10.932 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:35:10.951 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=b248928b-f8c2-4813-9cf3-09af967378ec] [runWorker=true] [2024/05/06 16:35:10.952 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:35:10.952 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:35:10.953 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 27, tp general"] [2024/05/06 16:35:10.953 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 28, tp add index"] [2024/05/06 16:35:10.954 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:35:10.955 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:35:10.955 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:35:10.956 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:35:10.962 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 16:35:11.008 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:10.974 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:11.008 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:35:10.974 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 16:35:11.207 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:35:11.457 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:35:11.707 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:35:11.957 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:35:12.068 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:10.974 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:12.209 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=43.299713ms] [2024/05/06 16:35:12.222 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:35:12.306 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:12.306 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=3] [version=1] [2024/05/06 16:35:12.307 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=142.15198ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:35:10.974 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:12.389 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:10.974 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:12.454 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=3] [2024/05/06 16:35:12.454 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:12.456 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.49384728\n# Parse_time: 0\n# Compile_time: 0.000754595\n# Rewrite_time: 0.000013202\n# Optimize_time: 0\n# Wait_TS: 0.000087739\n# DB: mysql\n# Is_internal: true\n# Digest: 0a22979ad136f741465cf206b13e5717b9758dda34f7cae5a7a925f91711d6a0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse mysql;\nCREATE DATABASE IF NOT EXISTS test;"] [2024/05/06 16:35:12.463 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 16:35:12.574 +08:00] [INFO] [session.go:3817] ["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 16:35:12.960 +08:00] [INFO] [info.go:1114] [SetTiFlashGroupConfig] [2024/05/06 16:35:13.080 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:12.645 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:13.080 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:12.645 +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 16:35:13.149 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:12.645 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:13.677 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=12.094369ms] [phyTblIDs="[4]"] [actionTypes="[8]"] [2024/05/06 16:35:13.715 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:13.715 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=5] [version=2] [2024/05/06 16:35:13.716 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=51.343313ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:12.645 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:13.809 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:12.645 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:14.112 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=5] [2024/05/06 16:35:14.113 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:14.114 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.557616933\n# Parse_time: 0\n# Compile_time: 0.017920437\n# Rewrite_time: 0.000014623\n# Optimize_time: 0\n# Wait_TS: 0.000084203\n# DB: mysql\n# Is_internal: true\n# Digest: 14c6b489558060bdbede877927034270db5af07c6621aa28f87eeaec8727e925\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.user ( Host CHAR(255), User CHAR(32), authentication_string TEXT, plugin CHAR(64), Select_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Insert_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Update_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Delete_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Process_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Grant_priv ENUM('N','Y') NOT NULL DEFAULT 'N', References_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_db_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Super_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Index_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_user_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Event_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_slave_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_client_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Trigger_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Account_locked ENUM('N','Y') NOT NULL DEFAULT 'N', Shutdown_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Reload_priv ENUM('N','Y') NOT NULL DEFAULT 'N', FILE_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Config_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N', Password_reuse_history smallint unsigned DEFAULT NULL, Password_reuse_time smallint unsigned DEFAULT NULL, User_attributes json, Token_issuer VARCHAR(255), Password_expired ENUM('N','Y') NOT NULL DEFAULT 'N', Password_last_changed TIMESTAMP DEFAULT CURRENT_TIMESTAMP(), Password_lifetime SMALLINT UNSIGNED DEFAULT NULL, PRIMARY KEY (Host, User));"] [2024/05/06 16:35:14.140 +08:00] [INFO] [session.go:3817] ["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 16:35:14.214 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:14.157 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:14.214 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:14.157 +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 16:35:14.282 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:14.157 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:14.367 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=2.267036ms] [phyTblIDs="[6]"] [actionTypes="[8]"] [2024/05/06 16:35:14.407 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:14.407 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=7] [version=3] [2024/05/06 16:35:14.408 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=43.584611ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:14.157 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:14.456 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:14.157 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:14.544 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=7] [2024/05/06 16:35:14.548 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:14.550 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.430703825\n# Parse_time: 0\n# Compile_time: 0.021630048\n# Rewrite_time: 0.000013844\n# Optimize_time: 0\n# Wait_TS: 0.000087872\n# DB: mysql\n# Is_internal: true\n# Digest: eeb59bc0d98f65a2a5aef8eaa99596260e746b00eed183baf856558ef03533ac\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.password_history ( Host char(255) NOT NULL DEFAULT '', User char(32) NOT NULL DEFAULT '', Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6), Password text, PRIMARY KEY (Host,User,Password_timestamp ) ) COMMENT='Password history for user accounts' ;"] [2024/05/06 16:35:14.557 +08:00] [INFO] [session.go:3817] ["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 16:35:14.663 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:14.591 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:14.663 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:14.591 +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 16:35:14.742 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:14.591 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:14.837 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=2.046063ms] [phyTblIDs="[8]"] [actionTypes="[8]"] [2024/05/06 16:35:14.856 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:14.856 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=9] [version=4] [2024/05/06 16:35:14.857 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=22.582082ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:14.591 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:14.916 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:14.591 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:14.994 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=9] [2024/05/06 16:35:14.995 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:14.996 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.440781345\n# Parse_time: 0\n# Compile_time: 0.002086224\n# Rewrite_time: 0.00001416\n# Optimize_time: 0\n# Wait_TS: 0.000097825\n# DB: mysql\n# Is_internal: true\n# Digest: 3bc9b46cf9e300a8d240915cf47216424544ed9f992c07151fba2e2cadc41632\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE 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 16:35:15.020 +08:00] [INFO] [session.go:3817] ["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),\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 16:35:15.156 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:15.041 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:15.156 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:15.041 +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),\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 16:35:15.293 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:15.041 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:15.691 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=5.618877ms] [phyTblIDs="[10]"] [actionTypes="[8]"] [2024/05/06 16:35:15.707 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:15.707 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=11] [version=5] [2024/05/06 16:35:15.707 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=22.724727ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:15.041 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:15.771 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:15.041 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:16.000 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=11] [2024/05/06 16:35:16.003 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:16.035 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.995830053\n# Parse_time: 0\n# Compile_time: 0.010575927\n# Rewrite_time: 0.000012817\n# Optimize_time: 0\n# Wait_TS: 0.000084948\n# DB: mysql\n# Is_internal: true\n# Digest: aeaf612801484f0311f850d36f60f29e6d904828682c1f3bb7307dff25ca3a15\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.db ( Host CHAR(255), DB CHAR(64), User CHAR(32), Select_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Insert_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Update_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Delete_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Grant_priv ENUM('N','Y') NOT NULL DEFAULT 'N', References_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Index_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Event_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Trigger_priv ENUM('N','Y') NOT NULL DEFAULT 'N', PRIMARY KEY (Host, DB, User));"] [2024/05/06 16:35:16.050 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:35:16.168 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:16.065 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:16.168 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:16.065 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:35:16.369 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:16.065 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:16.533 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=3.226449ms] [phyTblIDs="[12]"] [actionTypes="[8]"] [2024/05/06 16:35:16.557 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:16.557 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=13] [version=6] [2024/05/06 16:35:16.566 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=36.785057ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:16.065 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:16.647 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:16.065 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:16.759 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=13] [2024/05/06 16:35:16.760 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:16.761 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.71473531\n# Parse_time: 0\n# Compile_time: 0.004181313\n# Rewrite_time: 0.000013197\n# Optimize_time: 0\n# Wait_TS: 0.000088838\n# DB: mysql\n# Is_internal: true\n# Digest: e8b37dad6cc7f05ee1f0be61455667495826928a93ddd09b94e02fbaed113955\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tables_priv ( Host CHAR(255), DB CHAR(64), User CHAR(32), Table_name CHAR(64), Grantor CHAR(77), Timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, Table_priv SET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'), Column_priv SET('Select','Insert','Update','References'), PRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 16:35:16.768 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:35:16.845 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:16.784 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:16.845 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:16.784 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:35:16.990 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:16.784 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:17.119 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=2.964048ms] [phyTblIDs="[14]"] [actionTypes="[8]"] [2024/05/06 16:35:17.156 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:17.156 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=15] [version=7] [2024/05/06 16:35:17.157 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=41.518182ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:16.784 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:17.238 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:16.784 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:17.352 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=15] [2024/05/06 16:35:17.352 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:17.355 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.589011931\n# Parse_time: 0\n# Compile_time: 0.003010234\n# Rewrite_time: 0.000014345\n# Optimize_time: 0\n# Wait_TS: 0.000089004\n# DB: mysql\n# Is_internal: true\n# Digest: a19edbb3caff8cc57619278ab6eb5f791d7a821432309abe7184d0a7bca66b4d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.columns_priv( Host CHAR(255), DB CHAR(64), User CHAR(32), Table_name CHAR(64), Column_name CHAR(64), Timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, Column_priv SET('Select','Insert','Update','References'), PRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 16:35:17.367 +08:00] [INFO] [session.go:3817] ["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(1024) DEFAULT NULL);"] [user=] [2024/05/06 16:35:17.588 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:17.399 +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(1024) DEFAULT NULL);"] [2024/05/06 16:35:17.588 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:17.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:17.783 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:17.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:17.919 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=1.987731ms] [phyTblIDs="[16]"] [actionTypes="[8]"] [2024/05/06 16:35:17.962 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:17.962 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=17] [version=8] [2024/05/06 16:35:17.964 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=47.324369ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:17.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:18.105 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:17.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:18.170 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=17] [2024/05/06 16:35:18.170 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:18.177 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.819264906\n# Parse_time: 0\n# Compile_time: 0.009907527\n# Rewrite_time: 0.000013963\n# Optimize_time: 0\n# Wait_TS: 0.000077566\n# DB: mysql\n# Is_internal: true\n# Digest: 55c1ea537145da60f32339dc7a3b69a3859f3f428fbae4e4023eb71dca836f47\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES( VARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY, VARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [2024/05/06 16:35:18.184 +08:00] [INFO] [session.go:3817] ["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 16:35:18.253 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:18.201 +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 16:35:18.255 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:18.201 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:18.321 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:18.201 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:18.416 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=2.204099ms] [phyTblIDs="[18]"] [actionTypes="[8]"] [2024/05/06 16:35:18.461 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:18.461 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=19] [version=9] [2024/05/06 16:35:18.461 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=48.092955ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:18.201 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:18.517 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:18.201 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:18.593 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=19] [2024/05/06 16:35:18.593 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:18.595 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.412989852\n# Parse_time: 0\n# Compile_time: 0.001822804\n# Rewrite_time: 0.000028007\n# Optimize_time: 0\n# Wait_TS: 0.000095929\n# DB: mysql\n# Is_internal: true\n# Digest: 0cc4a9cf54472ccff7c4fb8d7c6e34e6bd96af08b450ad4c9677473f1f517cf2\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tidb( VARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY, VARIABLE_VALUE VARCHAR(1024) DEFAULT NULL, COMMENT VARCHAR(1024));"] [2024/05/06 16:35:18.604 +08:00] [INFO] [session.go:3817] ["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 16:35:18.683 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:18.618 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:18.684 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:18.618 +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 16:35:18.847 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:18.618 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:18.958 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=2.734168ms] [phyTblIDs="[20]"] [actionTypes="[8]"] [2024/05/06 16:35:19.006 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:19.006 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=21] [version=10] [2024/05/06 16:35:19.007 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=52.820857ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:18.618 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:19.120 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:18.618 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:19.195 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=21] [2024/05/06 16:35:19.195 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:19.211 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.609564525\n# Parse_time: 0\n# Compile_time: 0.003311439\n# Rewrite_time: 0.000012547\n# Optimize_time: 0\n# Wait_TS: 0.000101714\n# DB: mysql\n# Is_internal: true\n# Digest: ca851971407336dad93908a9f88f01d828a4e18f332111987f4a7675bced7ea4\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.help_topic ( help_topic_id INT(10) UNSIGNED NOT NULL, name CHAR(64) NOT NULL, help_category_id SMALLINT(5) UNSIGNED NOT NULL, description TEXT NOT NULL, example TEXT NOT NULL, url TEXT NOT NULL, PRIMARY KEY (help_topic_id) clustered, UNIQUE KEY name (name) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 16:35:19.231 +08:00] [INFO] [session.go:3817] ["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 16:35:19.405 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:19.251 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:19.405 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:19.251 +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 16:35:19.594 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:19.251 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:19.741 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=6.150079ms] [phyTblIDs="[22]"] [actionTypes="[8]"] [2024/05/06 16:35:19.806 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:19.806 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=23] [version=11] [2024/05/06 16:35:19.807 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=86.336426ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:19.251 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:19.861 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:19.251 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:19.947 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=23] [2024/05/06 16:35:19.948 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:19.950 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.728187763\n# Parse_time: 0\n# Compile_time: 0.009722459\n# Rewrite_time: 0.000010977\n# Optimize_time: 0\n# Wait_TS: 0.000080344\n# DB: mysql\n# Is_internal: true\n# Digest: db16a74bd407cb00f071eafe96456094f48fc00e802128fc486ef4847b8910b0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_meta ( version BIGINT(64) UNSIGNED NOT NULL, table_id BIGINT(64) NOT NULL, modify_count BIGINT(64) NOT NULL DEFAULT 0, count BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, snapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, INDEX idx_ver(version), UNIQUE INDEX tbl(table_id) );"] [2024/05/06 16:35:19.987 +08:00] [INFO] [session.go:3817] ["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 16:35:19.989 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [2024/05/06 16:35:20.117 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:20.015 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:20.117 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:20.015 +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 16:35:20.321 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:20.015 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:20.521 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=3.912194ms] [phyTblIDs="[24]"] [actionTypes="[8]"] [2024/05/06 16:35:20.556 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:20.556 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=25] [version=12] [2024/05/06 16:35:20.557 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=41.08317ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:20.015 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:20.608 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:20.015 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:20.765 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=25] [2024/05/06 16:35:20.765 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:20.767 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.806715087\n# Parse_time: 0\n# Compile_time: 0.02716105\n# Rewrite_time: 0.000011295\n# Optimize_time: 0\n# Wait_TS: 0.000089836\n# DB: mysql\n# Is_internal: true\n# Digest: 7780c45a0aac5f123ac85a7e601e79c5d7779e7c09a19953908e547605ed45d2\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_histograms ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, distinct_count BIGINT(64) NOT NULL, null_count BIGINT(64) NOT NULL DEFAULT 0, tot_col_size BIGINT(64) NOT NULL DEFAULT 0, modify_count BIGINT(64) NOT NULL DEFAULT 0, version BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, cm_sketch BLOB(6291456), stats_ver BIGINT(64) NOT NULL DEFAULT 0, flag BIGINT(64) NOT NULL DEFAULT 0, correlation DOUBLE NOT NULL DEFAULT 0, last_analyze_pos LONGBLOB DEFAULT NULL, UNIQUE INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:35:20.782 +08:00] [INFO] [session.go:3817] ["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 16:35:20.897 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:20.796 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:20.897 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:20.796 +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 16:35:21.005 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:20.796 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:21.143 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=3.478882ms] [phyTblIDs="[26]"] [actionTypes="[8]"] [2024/05/06 16:35:21.206 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:21.206 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=27] [version=13] [2024/05/06 16:35:21.206 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=67.216768ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:20.796 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:21.297 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:20.796 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:21.649 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=27] [2024/05/06 16:35:21.656 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:21.666 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.88726097\n# Parse_time: 0\n# Compile_time: 0.00358981\n# Rewrite_time: 0.000014202\n# Optimize_time: 0\n# Wait_TS: 0.000091015\n# DB: mysql\n# Is_internal: true\n# Digest: 5615b5212342304015b027afb253371dae02f19e53871cfbb034deb145dfce32\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_buckets ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, bucket_id BIGINT(64) NOT NULL, count BIGINT(64) NOT NULL, repeats BIGINT(64) NOT NULL, upper_bound LONGBLOB NOT NULL, lower_bound LONGBLOB , ndv BIGINT NOT NULL DEFAULT 0, UNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id) );"] [2024/05/06 16:35:21.682 +08:00] [INFO] [session.go:3817] ["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 16:35:21.838 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:21.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:21.838 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:21.744 +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 16:35:21.991 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:21.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:22.166 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=2.837492ms] [phyTblIDs="[28]"] [actionTypes="[8]"] [2024/05/06 16:35:22.206 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:22.207 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=29] [version=14] [2024/05/06 16:35:22.209 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=46.287441ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:21.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:22.265 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:21.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:22.343 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=29] [2024/05/06 16:35:22.343 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:22.345 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.665432344\n# Parse_time: 0\n# Compile_time: 0.003131315\n# Rewrite_time: 0.000012948\n# Optimize_time: 0\n# Wait_TS: 0.00011323\n# DB: mysql\n# Is_internal: true\n# Digest: 4f764dd084d16197c847e23500fcaf8b96dbbabd598c823de37967bfa2ad51cd\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.gc_delete_range ( job_id BIGINT NOT NULL COMMENT \"the DDL job ID\", element_id BIGINT NOT NULL COMMENT \"the schema element ID\", start_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", end_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", ts BIGINT NOT NULL COMMENT \"timestamp in uint64\", UNIQUE KEY delete_range_index (job_id, element_id) );"] [2024/05/06 16:35:22.355 +08:00] [INFO] [session.go:3817] ["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 16:35:22.461 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:22.385 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:22.461 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:22.385 +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 16:35:22.557 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:22.385 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:22.708 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=3.074376ms] [phyTblIDs="[30]"] [actionTypes="[8]"] [2024/05/06 16:35:22.758 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:22.758 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=31] [version=15] [2024/05/06 16:35:22.760 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=56.253179ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:22.385 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:22.854 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:22.385 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:22.922 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=31] [2024/05/06 16:35:22.922 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:22.923 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.573814842\n# Parse_time: 0\n# Compile_time: 0.005489549\n# Rewrite_time: 0.000012472\n# Optimize_time: 0\n# Wait_TS: 0.000081886\n# DB: mysql\n# Is_internal: true\n# Digest: 532cf71b38f2568975d61180716af7e2b05c9ca11023688224ed0c0eece42fa9\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done ( job_id BIGINT NOT NULL COMMENT \"the DDL job ID\", element_id BIGINT NOT NULL COMMENT \"the schema element ID\", start_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", end_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", ts BIGINT NOT NULL COMMENT \"timestamp in uint64\", UNIQUE KEY delete_range_done_index (job_id, element_id) );"] [2024/05/06 16:35:22.929 +08:00] [INFO] [session.go:3817] ["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 16:35:23.041 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:22.941 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:23.041 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:22.941 +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 16:35:23.100 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:22.941 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:23.192 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=2.422087ms] [phyTblIDs="[32]"] [actionTypes="[8]"] [2024/05/06 16:35:23.257 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:23.257 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=33] [version=16] [2024/05/06 16:35:23.257 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=68.419313ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:22.941 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:23.337 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:22.941 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:23.419 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=33] [2024/05/06 16:35:23.419 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:23.421 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.494214492\n# Parse_time: 0\n# Compile_time: 0.002345465\n# Rewrite_time: 0.000011681\n# Optimize_time: 0\n# Wait_TS: 0.000077906\n# DB: mysql\n# Is_internal: true\n# Digest: 28f04155dca9c7fd3a5e16199cefd152c629a57a64d0ccb2ed0f10309c23c59c\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_feedback ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, feedback BLOB NOT NULL, INDEX hist(table_id, is_index, hist_id) );"] [2024/05/06 16:35:23.431 +08:00] [INFO] [session.go:3817] ["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 16:35:23.506 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:23.449 +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 16:35:23.507 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:23.449 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:23.572 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:23.449 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:23.742 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=11.314868ms] [phyTblIDs="[34]"] [actionTypes="[8]"] [2024/05/06 16:35:23.856 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:23.857 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=35] [version=17] [2024/05/06 16:35:23.858 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=132.599164ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:23.449 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:23.972 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:23.449 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:24.204 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=35] [2024/05/06 16:35:24.205 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:24.220 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.794024136\n# Parse_time: 0\n# Compile_time: 0.004587616\n# Rewrite_time: 0.00001516\n# Optimize_time: 0\n# Wait_TS: 0.000084459\n# DB: mysql\n# Is_internal: true\n# Digest: 13e2fcff943423afddaa84c2d34108628854b5953bc7c41d2879240f077a5bd6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.role_edges ( FROM_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', FROM_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', TO_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', TO_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', WITH_ADMIN_OPTION ENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N', PRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER) );"] [2024/05/06 16:35:24.234 +08:00] [INFO] [session.go:3817] ["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 16:35:24.392 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:24.271 +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 16:35:24.405 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:24.271 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:24.478 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:24.271 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:24.606 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=2.308059ms] [phyTblIDs="[36]"] [actionTypes="[8]"] [2024/05/06 16:35:24.656 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:24.656 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=37] [version=18] [2024/05/06 16:35:24.658 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=54.603484ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:24.271 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:24.735 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:24.271 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:24.858 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=37] [2024/05/06 16:35:24.859 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:24.860 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.628562723\n# Parse_time: 0\n# Compile_time: 0.002900472\n# Rewrite_time: 0.000011729\n# Optimize_time: 0\n# Wait_TS: 0.000082101\n# DB: mysql\n# Is_internal: true\n# Digest: 9e6b544fb0287e9d8a74031560ed0cd6a5b4e54db073b893a68a76b05d929781\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.default_roles ( HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', DEFAULT_ROLE_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%', DEFAULT_ROLE_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', PRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER) );"] [2024/05/06 16:35:24.877 +08:00] [INFO] [session.go:3817] ["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 16:35:25.080 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:24.916 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:25.080 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:24.916 +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 16:35:25.157 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:24.916 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:25.327 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=3.940146ms] [phyTblIDs="[38]"] [actionTypes="[8]"] [2024/05/06 16:35:25.357 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:25.357 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=39] [version=19] [2024/05/06 16:35:25.359 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=36.59898ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:24.916 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:25.414 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:24.916 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:25.573 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=39] [2024/05/06 16:35:25.574 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:25.583 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.710816156\n# Parse_time: 0\n# Compile_time: 0.004460061\n# Rewrite_time: 0.000012065\n# Optimize_time: 0\n# Wait_TS: 0.000091884\n# DB: mysql\n# Is_internal: true\n# Digest: 0a4bc55a9ab72ef62ddaa1ee6472d7872306066fd783a8bb67047a497fbb4dbe\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.bind_info ( original_sql TEXT NOT NULL, bind_sql TEXT NOT NULL, default_db TEXT NOT NULL, status TEXT NOT NULL, create_time TIMESTAMP(3) NOT NULL, update_time TIMESTAMP(3) NOT NULL, charset TEXT NOT NULL, collation TEXT NOT NULL, source VARCHAR(10) NOT NULL DEFAULT 'unknown', sql_digest varchar(64), plan_digest varchar(64), INDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\", INDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\" ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 16:35:25.612 +08:00] [INFO] [session.go:3817] ["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 16:35:25.686 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:25.629 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:25.686 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:25.629 +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 16:35:25.780 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:25.629 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:25.942 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=2.497379ms] [phyTblIDs="[40]"] [actionTypes="[8]"] [2024/05/06 16:35:26.007 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:26.007 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=41] [version=20] [2024/05/06 16:35:26.009 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=71.044425ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:25.629 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:26.102 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:25.629 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:26.221 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=41] [2024/05/06 16:35:26.221 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:26.224 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.614717455\n# Parse_time: 0\n# Compile_time: 0.002789912\n# Rewrite_time: 0.00001735\n# Optimize_time: 0\n# Wait_TS: 0.000088615\n# DB: mysql\n# Is_internal: true\n# Digest: 04a90564803373a6eb3f5a52e8794d25c4d28f6c18af7899b0b9f1bf1539ec72\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_top_n ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, value LONGBLOB, count BIGINT(64) UNSIGNED NOT NULL, INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:35:26.229 +08:00] [INFO] [session.go:3817] ["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 16:35:26.319 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:26.254 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:26.319 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:26.254 +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 16:35:26.396 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:26.254 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:26.484 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=2.083359ms] [phyTblIDs="[42]"] [actionTypes="[8]"] [2024/05/06 16:35:26.556 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:26.556 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=43] [version=21] [2024/05/06 16:35:26.558 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=82.534612ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:26.254 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:26.610 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:26.254 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:26.683 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=43] [2024/05/06 16:35:26.684 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:26.685 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.457512986\n# Parse_time: 0\n# Compile_time: 0.002050863\n# Rewrite_time: 0.000012213\n# Optimize_time: 0\n# Wait_TS: 0.000080667\n# DB: mysql\n# Is_internal: true\n# Digest: 3e05fb8977f83f4e32022552aded3680a039cddc4239c339119a655dc1cffdbb\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist ( name CHAR(100) NOT NULL, store_type CHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb', reason VARCHAR(200) );"] [2024/05/06 16:35:26.693 +08:00] [INFO] [session.go:3817] ["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 16:35:26.769 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:26.739 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:26.769 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:26.739 +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 16:35:26.908 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:26.739 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:27.001 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=1.439878ms] [phyTblIDs="[44]"] [actionTypes="[8]"] [2024/05/06 16:35:27.056 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:27.056 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=45] [version=22] [2024/05/06 16:35:27.057 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=58.753385ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:26.739 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:27.111 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:26.739 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:27.180 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=45] [2024/05/06 16:35:27.180 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:27.182 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.494708852\n# Parse_time: 0\n# Compile_time: 0.005736635\n# Rewrite_time: 0.000011036\n# Optimize_time: 0\n# Wait_TS: 0.000102454\n# DB: mysql\n# Is_internal: true\n# Digest: aee36d5dc7131e4b6e3321cc046ae8b5ec8156ec1ef82481df0b97b8c734325f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist ( name CHAR(100) NOT NULL );"] [2024/05/06 16:35:27.209 +08:00] [INFO] [session.go:3817] ["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 16:35:27.292 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:27.228 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:27.293 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:27.228 +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 16:35:27.393 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:27.228 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:27.613 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=4.449259ms] [phyTblIDs="[46]"] [actionTypes="[8]"] [2024/05/06 16:35:27.656 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:27.656 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=47] [version=23] [2024/05/06 16:35:27.657 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=49.20203ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:27.228 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:27.730 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:27.228 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:27.816 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=47] [2024/05/06 16:35:27.817 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:27.819 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.628389744\n# Parse_time: 0\n# Compile_time: 0.017978176\n# Rewrite_time: 0.000020779\n# Optimize_time: 0\n# Wait_TS: 0.00039502\n# DB: mysql\n# Is_internal: true\n# Digest: bd2a0d9809689d30e22f8d82b29b4ee110d16cda3353b77d74a1938afb746386\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_extended ( name varchar(32) NOT NULL, type tinyint(4) NOT NULL, table_id bigint(64) NOT NULL, column_ids varchar(32) NOT NULL, stats blob DEFAULT NULL, version bigint(64) unsigned NOT NULL, status tinyint(4) NOT NULL, PRIMARY KEY(name, table_id), KEY idx_1 (table_id, status, version), KEY idx_2 (status, version) );"] [2024/05/06 16:35:27.825 +08:00] [INFO] [session.go:3817] ["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 16:35:27.928 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:27.84 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:27.928 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:27.84 +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 16:35:28.067 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:27.84 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:28.180 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=2.85918ms] [phyTblIDs="[48]"] [actionTypes="[8]"] [2024/05/06 16:35:28.207 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:28.209 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=49] [version=24] [2024/05/06 16:35:28.212 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=36.829682ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:27.84 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:28.283 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:27.84 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:28.365 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=49] [2024/05/06 16:35:28.368 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:28.369 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.546581034\n# Parse_time: 0\n# Compile_time: 0.002527308\n# Rewrite_time: 0.000012908\n# Optimize_time: 0\n# Wait_TS: 0.00007986\n# DB: mysql\n# Is_internal: true\n# Digest: f72fffa4e6072164db3e01e2e29568b0b93c5045737047be527343b1737b0882\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.schema_index_usage ( TABLE_ID bigint(64), INDEX_ID bigint(21), QUERY_COUNT bigint(64), ROWS_SELECTED bigint(64), LAST_USED_AT timestamp, PRIMARY KEY(TABLE_ID, INDEX_ID) );"] [2024/05/06 16:35:28.376 +08:00] [INFO] [session.go:3817] ["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 16:35:28.486 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:28.398 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:28.487 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:28.398 +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 16:35:28.593 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:28.398 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:28.679 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=2.334504ms] [phyTblIDs="[50]"] [actionTypes="[8]"] [2024/05/06 16:35:28.723 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:28.723 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=51] [version=25] [2024/05/06 16:35:28.725 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=49.611685ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:28.398 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:28.824 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:28.398 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:28.923 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=51] [2024/05/06 16:35:28.923 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:28.925 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.550983773\n# Parse_time: 0\n# Compile_time: 0.002275425\n# Rewrite_time: 0.000013904\n# Optimize_time: 0\n# Wait_TS: 0.000088559\n# DB: mysql\n# Is_internal: true\n# Digest: 27ef2533f9d97f96c8c86a69a0de51aad04499856acd05fe4a4b93fb5b6043d0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, value LONGBLOB, INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:35:28.931 +08:00] [INFO] [session.go:3817] ["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 16:35:29.017 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:28.945 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:29.017 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:28.945 +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 16:35:29.094 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:28.945 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:29.236 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=7.801734ms] [phyTblIDs="[52]"] [actionTypes="[8]"] [2024/05/06 16:35:29.306 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:29.306 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=53] [version=26] [2024/05/06 16:35:29.307 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=90.309239ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:28.945 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:29.418 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:28.945 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:29.572 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=53] [2024/05/06 16:35:29.572 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:29.574 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.645345092\n# Parse_time: 0\n# Compile_time: 0.002611815\n# Rewrite_time: 0.000011628\n# Optimize_time: 0\n# Wait_TS: 0.00008733\n# DB: mysql\n# Is_internal: true\n# Digest: 79c6e54229df7b01d20ffaf8ac1077aa9ef39e604df30d5ce852dd7049cc3ddd\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.global_grants ( USER char(32) NOT NULL DEFAULT '', HOST char(255) NOT NULL DEFAULT '', PRIV char(32) NOT NULL DEFAULT '', WITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N', PRIMARY KEY (USER,HOST,PRIV) );"] [2024/05/06 16:35:29.581 +08:00] [INFO] [session.go:3817] ["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 16:35:29.679 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:29.628 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:29.679 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:29.628 +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 16:35:29.815 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:29.628 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:29.920 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=2.238915ms] [phyTblIDs="[54]"] [actionTypes="[8]"] [2024/05/06 16:35:30.006 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:30.006 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=55] [version=27] [2024/05/06 16:35:30.008 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=91.422203ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:29.628 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:30.123 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:29.628 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:30.211 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=55] [2024/05/06 16:35:30.212 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:30.215 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.636488713\n# Parse_time: 0\n# Compile_time: 0.002600901\n# Rewrite_time: 0.000011607\n# Optimize_time: 0\n# Wait_TS: 0.000092223\n# DB: mysql\n# Is_internal: true\n# Digest: 08f858a5bd3a1fd5dfd809dd4b9d6c72db69f874b06ad0e91987f9e89a5cf89a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist ( id bigint(64) auto_increment, filter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\", filter_value varchar(32) NOT NULL, key idx(filter_type), primary key(id) );"] [2024/05/06 16:35:30.220 +08:00] [INFO] [session.go:3817] ["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 16:35:30.292 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:30.25 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:30.293 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:30.25 +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 16:35:30.360 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:30.25 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:30.576 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=3.939612ms] [phyTblIDs="[56]"] [actionTypes="[8]"] [2024/05/06 16:35:30.606 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:30.607 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=57] [version=28] [2024/05/06 16:35:30.612 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=40.676114ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:30.25 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:30.737 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:30.25 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:30.908 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=57] [2024/05/06 16:35:30.908 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:30.910 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.691643385\n# Parse_time: 0\n# Compile_time: 0.002195676\n# Rewrite_time: 0.000012491\n# Optimize_time: 0\n# Wait_TS: 0.000098648\n# DB: mysql\n# Is_internal: true\n# Digest: 3a5634ff31bd7d32849c5404b7ffc419c7a7074307b815e5369eb6ca363cbcd0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.column_stats_usage ( table_id BIGINT(64) NOT NULL, column_id BIGINT(64) NOT NULL, last_used_at TIMESTAMP, last_analyzed_at TIMESTAMP, PRIMARY KEY (table_id, column_id) CLUSTERED );"] [2024/05/06 16:35:30.916 +08:00] [INFO] [session.go:3817] ["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 16:35:31.052 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:30.959 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:31.052 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:30.959 +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 16:35:31.237 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:30.959 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:31.365 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=2.303691ms] [phyTblIDs="[58]"] [actionTypes="[8]"] [2024/05/06 16:35:31.406 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:31.406 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=59] [version=29] [2024/05/06 16:35:31.408 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=46.996239ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:30.959 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:31.484 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:30.959 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:31.558 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=59] [2024/05/06 16:35:31.559 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:31.563 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.649047956\n# Parse_time: 0\n# Compile_time: 0.002719291\n# Rewrite_time: 0.000017086\n# Optimize_time: 0\n# Wait_TS: 0.000099704\n# DB: mysql\n# Is_internal: true\n# Digest: d5bebde055ca14bff3e131e086a86c4095b9d04ea6fc326b4c2f16ffd61fbd2d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.table_cache_meta ( tid bigint(11) NOT NULL DEFAULT 0, lock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE', lease bigint(20) NOT NULL DEFAULT 0, oldReadLease bigint(20) NOT NULL DEFAULT 0, PRIMARY KEY (tid) );"] [2024/05/06 16:35:31.575 +08:00] [INFO] [session.go:3817] ["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 16:35:31.577 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [2024/05/06 16:35:31.845 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:31.624 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:31.845 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:31.624 +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 16:35:31.961 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:31.624 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:32.256 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=2.611841ms] [phyTblIDs="[60]"] [actionTypes="[8]"] [2024/05/06 16:35:32.306 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:32.306 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=61] [version=30] [2024/05/06 16:35:32.306 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=53.42573ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:31.624 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:32.435 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:31.624 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:32.817 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=61] [2024/05/06 16:35:32.817 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:32.819 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.24753941\n# Parse_time: 0\n# Compile_time: 0.00368773\n# Rewrite_time: 0.000013752\n# Optimize_time: 0\n# Wait_TS: 0.000090793\n# DB: mysql\n# Is_internal: true\n# Digest: 987fcd9b9a604209ec1101d918419b993c42f84fe228e20aee2fcca2931ff93e\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.analyze_options ( table_id BIGINT(64) NOT NULL, sample_num BIGINT(64) NOT NULL DEFAULT 0, sample_rate DOUBLE NOT NULL DEFAULT -1, buckets BIGINT(64) NOT NULL DEFAULT 0, topn BIGINT(64) NOT NULL DEFAULT -1, column_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT', column_ids TEXT(19372), PRIMARY KEY (table_id) CLUSTERED );"] [2024/05/06 16:35:32.850 +08:00] [INFO] [session.go:3817] ["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\t);"] [user=] [2024/05/06 16:35:32.961 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:32.866 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:32.961 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:32.866 +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\t);"] [2024/05/06 16:35:33.175 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:32.866 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:33.510 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=2.699594ms] [phyTblIDs="[62]"] [actionTypes="[8]"] [2024/05/06 16:35:33.558 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:33.558 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=63] [version=31] [2024/05/06 16:35:33.560 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=53.863593ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:32.866 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:33.634 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:32.866 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:33.787 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=63] [2024/05/06 16:35:33.787 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:33.791 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.963357984\n# Parse_time: 0\n# Compile_time: 0.024732218\n# Rewrite_time: 0.00001279\n# Optimize_time: 0\n# Wait_TS: 0.000116976\n# DB: mysql\n# Is_internal: true\n# Digest: 11757f6de6b3d2a64e92f14cd7b7f739729563ede3b0139d016148eba0b27ebf\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_history ( table_id bigint(64) NOT NULL, stats_data longblob NOT NULL, seq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice', version bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN', create_time datetime(6) NOT NULL, UNIQUE KEY table_version_seq (table_id, version, seq_no), KEY table_create_time (table_id, create_time, seq_no) );"] [2024/05/06 16:35:33.800 +08:00] [INFO] [session.go:3817] ["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\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\t);"] [user=] [2024/05/06 16:35:33.906 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:33.815 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:33.907 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:33.815 +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\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\t);"] [2024/05/06 16:35:34.001 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:33.815 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:34.196 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=2.755044ms] [phyTblIDs="[64]"] [actionTypes="[8]"] [2024/05/06 16:35:34.256 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:34.256 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=65] [version=32] [2024/05/06 16:35:34.257 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=64.736789ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:33.815 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:34.313 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:33.815 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:34.411 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=65] [2024/05/06 16:35:34.414 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:34.416 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.618615756\n# Parse_time: 0\n# Compile_time: 0.003092202\n# Rewrite_time: 0.000025473\n# Optimize_time: 0\n# Wait_TS: 0.000090778\n# DB: mysql\n# Is_internal: true\n# Digest: ebccd6f5d49fb0fcff4d7dc20bb3ae798d172a92ba5f6709445c980166f7e32f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_meta_history ( table_id bigint(64) NOT NULL, modify_count bigint(64) NOT NULL, count bigint(64) NOT NULL, version bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN', create_time datetime(6) NOT NULL, UNIQUE KEY table_version (table_id, version), KEY table_create_time (table_id, create_time) );"] [2024/05/06 16:35:34.437 +08:00] [INFO] [session.go:3817] ["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 16:35:34.561 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:34.452 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:34.569 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:34.452 +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 16:35:34.682 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:34.452 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:34.956 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=10.25263ms] [phyTblIDs="[66]"] [actionTypes="[8]"] [2024/05/06 16:35:35.006 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:35.006 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=67] [version=33] [2024/05/06 16:35:35.006 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=61.349478ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:34.452 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:35.173 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:34.452 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:35.294 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=67] [2024/05/06 16:35:35.315 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:35.317 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.885488129\n# Parse_time: 0\n# Compile_time: 0.005528938\n# Rewrite_time: 0.000014837\n# Optimize_time: 0\n# Wait_TS: 0.000079865\n# DB: mysql\n# Is_internal: true\n# Digest: bfb9a3ff60c3c60c054a207c0a0db06c87e29edbe94005d8d5c89fe484f4f90a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.analyze_jobs ( id BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT, update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, table_schema CHAR(64) NOT NULL DEFAULT '', table_name CHAR(64) NOT NULL DEFAULT '', partition_name CHAR(64) NOT NULL DEFAULT '', job_info TEXT NOT NULL, processed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, start_time TIMESTAMP, end_time TIMESTAMP, state ENUM('pending', 'running', 'finished', 'failed') NOT NULL, fail_reason TEXT, instance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job', process_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job', PRIMARY KEY (id), KEY (update_time) );"] [2024/05/06 16:35:35.320 +08:00] [INFO] [session.go:3817] ["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 16:35:35.369 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:35.338 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:35.369 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:35.338 +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 16:35:35.440 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:35.338 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:35.545 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=1.689195ms] [phyTblIDs="[68]"] [actionTypes="[8]"] [2024/05/06 16:35:35.607 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:35.607 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=69] [version=34] [2024/05/06 16:35:35.608 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=66.282269ms] [job="ID:69, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:35.338 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:35.685 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:69, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:35.338 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:35.784 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=69] [2024/05/06 16:35:35.784 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:35.786 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.467233983\n# Parse_time: 0\n# Compile_time: 0.001391165\n# Rewrite_time: 0.000012696\n# Optimize_time: 0\n# Wait_TS: 0.000099575\n# DB: mysql\n# Is_internal: true\n# Digest: 85d0480e8afeca7d94d07ca1a681df6c7f89f1fda753ceb6e02b51caf3714c1c\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.advisory_locks ( lock_name VARCHAR(64) NOT NULL PRIMARY KEY );"] [2024/05/06 16:35:35.917 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:35:35.844 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] [2024/05/06 16:35:35.930 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:35.844 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:35.993 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:35.844 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:36.149 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=2.864365ms] [phyTblIDs="[70]"] [actionTypes="[2097152]"] [2024/05/06 16:35:36.206 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:36.206 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=71] [version=35] [2024/05/06 16:35:36.206 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=60.833818ms] [job="ID:71, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:35:35.844 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:36.326 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:71, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:35.844 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:36.477 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=71] [2024/05/06 16:35:36.478 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:36.479 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.687039271\n# Parse_time: 0\n# Compile_time: 0.008314214\n# Rewrite_time: 0.004756946\n# Optimize_time: 0\n# Wait_TS: 0.000134011\n# DB: mysql\n# Is_internal: true\n# Digest: 812c81f344f5d0c8b8aedcb68ff1dca865b59104853273f7e66b8abff5429992\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE OR REPLACE VIEW mysql.tidb_mdl_view as ( select JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID );"] [2024/05/06 16:35:36.488 +08:00] [INFO] [session.go:3817] ["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 16:35:36.597 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:36.532 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:36.597 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:36.532 +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 16:35:36.671 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:36.532 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:36.800 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=2.552695ms] [phyTblIDs="[72]"] [actionTypes="[8]"] [2024/05/06 16:35:36.856 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:36.856 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=73] [version=36] [2024/05/06 16:35:36.858 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=61.018431ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:36.532 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:36.922 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:36.532 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:37.030 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=73] [2024/05/06 16:35:37.030 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:37.032 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.548265354\n# Parse_time: 0\n# Compile_time: 0.004893152\n# Rewrite_time: 0.000013377\n# Optimize_time: 0\n# Wait_TS: 0.000087535\n# DB: mysql\n# Is_internal: true\n# Digest: 3d2f349b1c68ee2b30e34bad8bb3838af6c40d7a26072b2d29d801d7fedbac48\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.plan_replayer_status ( sql_digest VARCHAR(128), plan_digest VARCHAR(128), origin_sql TEXT, token VARCHAR(128), update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fail_reason TEXT, instance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 16:35:37.038 +08:00] [INFO] [session.go:3817] ["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 16:35:37.183 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:37.061 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:37.183 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:37.061 +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 16:35:37.358 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:37.061 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:37.528 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=2.174247ms] [phyTblIDs="[74]"] [actionTypes="[8]"] [2024/05/06 16:35:37.557 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:37.557 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=75] [version=37] [2024/05/06 16:35:37.557 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=32.371394ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:37.061 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:37.653 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:37.061 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:37.751 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=75] [2024/05/06 16:35:37.752 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:37.769 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.734070639\n# Parse_time: 0\n# Compile_time: 0.002590573\n# Rewrite_time: 0.000013679\n# Optimize_time: 0\n# Wait_TS: 0.000113054\n# DB: mysql\n# Is_internal: true\n# Digest: 8d9754df14c826803fed84f1ae3eb8fc9729e76a793b6be6bf25967f1929d039\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.plan_replayer_task ( sql_digest VARCHAR(128) NOT NULL, plan_digest VARCHAR(128) NOT NULL, update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 16:35:37.802 +08:00] [INFO] [session.go:3817] ["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 16:35:37.873 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:37.831 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:37.873 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:37.831 +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 16:35:37.939 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:37.831 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:38.023 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=1.990905ms] [phyTblIDs="[76]"] [actionTypes="[8]"] [2024/05/06 16:35:38.056 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:38.056 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=77] [version=38] [2024/05/06 16:35:38.056 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=38] ["take time"=36.239877ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:37.831 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:38.111 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:37.831 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:38.208 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=77] [2024/05/06 16:35:38.211 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:38.215 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.442167832\n# Parse_time: 0\n# Compile_time: 0.0292165\n# Rewrite_time: 0.000013881\n# Optimize_time: 0\n# Wait_TS: 0.000094828\n# DB: mysql\n# Is_internal: true\n# Digest: b57fdc4b14aba5f29d915d04e5e4557f60a758fd65ec571368527cd45c6ef82a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_table_locked( table_id bigint(64) NOT NULL, modify_count bigint(64) NOT NULL DEFAULT 0, count bigint(64) NOT NULL DEFAULT 0, version bigint(64) UNSIGNED NOT NULL DEFAULT 0, PRIMARY KEY (table_id));"] [2024/05/06 16:35:38.267 +08:00] [INFO] [session.go:3817] ["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 16:35:38.422 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:38.305 +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 16:35:38.428 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:38.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:38.491 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 29, tp general"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:38.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:38.706 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=6.498831ms] [phyTblIDs="[78]"] [actionTypes="[8]"] [2024/05/06 16:35:38.756 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:38.757 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=79] [version=39] [2024/05/06 16:35:38.758 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=39] ["take time"=58.95448ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:38.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:38.859 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 29, tp general"] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:38.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:39.112 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=79] [2024/05/06 16:35:39.112 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:39.114 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.863926439\n# Parse_time: 0\n# Compile_time: 0.016820644\n# Rewrite_time: 0.000025847\n# Optimize_time: 0\n# Wait_TS: 0.000105505\n# DB: mysql\n# Is_internal: true\n# Digest: a30bd3c3a49070c554e65922e84c6b76e646842e3925a859fcde73941a7cb423\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status ( table_id bigint(64) PRIMARY KEY, parent_table_id bigint(64), table_statistics text DEFAULT NULL, last_job_id varchar(64) DEFAULT NULL, last_job_start_time timestamp NULL DEFAULT NULL, last_job_finish_time timestamp NULL DEFAULT NULL, last_job_ttl_expire timestamp NULL DEFAULT NULL, last_job_summary text DEFAULT NULL, current_job_id varchar(64) DEFAULT NULL, current_job_owner_id varchar(64) DEFAULT NULL, current_job_owner_addr varchar(256) DEFAULT NULL, current_job_owner_hb_time timestamp, current_job_start_time timestamp NULL DEFAULT NULL, current_job_ttl_expire timestamp NULL DEFAULT NULL, current_job_state text DEFAULT NULL, current_job_status varchar(64) DEFAULT NULL, current_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 16:35:40.307 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572907028316160\n# Query_time: 0.844513386\n# Parse_time: 0\n# Compile_time: 0.272827475\n# Rewrite_time: 0.007348737\n# Optimize_time: 0\n# Wait_TS: 0.000196854\n# DB: mysql\n# Is_internal: true\n# Digest: ca2019e08a331284bd0c64be228a0537fcf9f5983e95d94b67ef42dcb8f54385\n# Num_cop_tasks: 0\n# Mem_max: 353654\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: true\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('ogPwPDAJMjdfMQkwCTAJTi9BCTAJdGltZTo1NTUuNG1zLCBsb29wczoxLCBwcmVwYXJlOiB7dG90YWw6IDQ1LjMBIkxhdXRvX2lkX2FsbG9jYXRvcjogewUMZF9jbnQ6IDEsIEdldDp7bnVtX3JwYzo0LCB0AUEAXwlodDE3LjnCtXN9LCBjb21taXRfdHhuOiB7cHJld3JpdAGJAR8ULCBnZXRfESIgczoyNC44wrVzETUAOgFHBDbCAREcc2xvd2VzdF8RQQV0BCB7BXNoOiAwLjAwMHMsIHJlZ2lvbl9pZDogMiwgc3RvAdkFBwgxLCAZjBhwcmltYXJ51kQADWQYbnVtOjEsIAXODF9rZXklTQkOQGJ5dGU6MzJ9fX0sIGluc2VyAclEMC4xbXMJOTcuNCBLQglOL0EK')\n# Binary_plan: tidb_decode_binary_plan('rgPwgQqpAwoISW5zZXJ0XzE4AUABUgNOL0FaFXRpbWU6NTU1LjRtcywgbG9vcHM6MWLtAnByZXBhcmU6IHt0b3RhbDogNDUuM21zLCBhdXRvX2lkX2FsbG9jYXRvcjoge2FsbG9jX2NudDogMSwgR2V0OntudW1fcnBjOjQsIHRvdGFsX3QFaXQxNy45wrVzfSwgY29tbWl0X3R4bjoge3ByZXdyaXQBigEfFCwgZ2V0XxEiIHM6MjQuOMK1cxE1ADoBRwQ2wgERHHNsb3dlc3RfEUEMX3JwYxm0YDAuMDAwcywgcmVnaW9uX2lkOiAyLCBzdG8B2QUHCDEsIBmMGHByaW1hcnnWRAANZBhudW06MSwgBc4QX2tleXMZDkBieXRlOjMyfX19LCBpbnNlcgHJVDAuMW1zcPaKBnj///////////8BGAE=')\nINSERT HIGH_PRIORITY INTO mysql.GLOBAL_VARIABLES VALUES (\"tidb_sysproc_scan_concurrency\", \"1\"), (\"tidb_ttl_job_schedule_window_end_time\", \"23:59 +0000\"), (\"query_alloc_block_size\", \"8192\"), (\"innodb_fill_factor\", \"\"), (\"disconnect_on_expired_password\", \"ON\"), (\"tidb_prepared_plan_cache_memory_guard_ratio\", \"0.1\"), (\"tidb_hashagg_final_concurrency\", \"-1\"), (\"innodb_adaptive_flushing_lwm\", \"10\"), (\"enforce_gtid_consistency\", \"OFF\"), (\"innodb_log_write_ahead_size\", \"\"), (\"tidb_opt_skew_distinct_agg\", \"OFF\"), (\"transaction_alloc_block_size\", \"8192\"), (\"tidb_index_join_double_read_penalty_cost_rate\", \"0\"), (\"max_error_count\", \"64\"), (\"log_throttle_queries_not_using_indexes\", \"0\"), (\"concurrent_insert\", \"AUTO\"), (\"tidb_enable_null_aware_anti_join\", \"OFF\"), (\"tidb_opt_correlation_threshold\", \"0.9\"), (\"rpl_semi_sync_slave_enabled\", \"OFF\"), (\"tmp_table_size\", \"16777216\"), (\"tidb_enable_auto_increment_in_generated\", \"OFF\"), (\"ndb_eventbuffer_max_alloc\", \"\"), (\"tidb_enable_strict_double_type_check\", \"ON\"), (\"max_points_in_geometry\", \"65536\"), (\"tidb_max_delta_schema_count\", \"1024\"), (\"myisam_max_sort_file_size\", \"9223372036853727232\"), (\"tidb_shard_allocate_step\", \"9223372036854775807\"), (\"validate_password.dictionary\", \"\"), (\"slave_checkpoint_group\", \"512\"), (\"innodb_monitor_disable\", \"\"), (\"max_length_for_sort_data\", \"1024\"), (\"innodb_max_purge_lag\", \"0\"), (\"innodb_buffer_pool_dump_now\", \"OFF\"), (\"general_log_file\", \"/usr/local/mysql/data/localhost.log\"), (\"binlog_row_image\", \"FULL\"), (\"slave_pending_jobs_size_max\", \"16777216\"), (\"tidb_retry_limit\", \"10\"), (\"session_track_schema\", \"\"), (\"innodb_stats_persistent_sample_pages\", \"20\"), (\"stored_program_cache\", \"256\"), (\"profiling_history_size\", \"15\"), (\"tidb_ttl_job_run_interval\", \"1h0m0s\"), (\"tidb_dml_batch_size\", \"0\"), (\"sql_safe_updates\", \"OFF\"), (\"innodb_optimize_fulltext_only\", \"0\"), (\"innodb_commit_concurrency\", \"0\"), (\"binlog_order_commits\", \"ON\"), (\"tidb_gogc_tuner_threshold\", \"0.6\"), (\"innodb_table_locks\", \"ON\"), (\"sync_master_info\", \"10000\"), (\"sql_slave_skip_counter\", \"0\"), (\"tidb_opt_range_max_size\", \"67108864\"), (\"init_connect\", \"\"), (\"tiflash_fastscan\", \"OFF\"), (\"log_slow_slave_statements\", \"OFF\"), (\"tidb_auto_analyze_ratio\", \"0.5\"), (\"innodb_compression_pad_pct_max\", \"50\"), (\"tidb_scatter_region\", \"OFF\"), (\"tidb_enable_general_plan_cache\", \"OFF\"), (\"tidb_replica_read\", \"leader\"), (\"tidb_table_cache_lease\", \"3\"), (\"tidb_enable_concurrent_ddl\", \"ON\"), (\"innodb_change_buffering\", \"all\"), (\"innodb_lock_wait_timeout\", \"50\"), (\"lock_wait_timeout\", \"31536000\"), (\"binlog_max_flush_queue_time\", \"0\"), (\"sql_mode\", \"ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION\"), (\"session_track_state_change\", \"\"), (\"max_heap_table_size\", \"16777216\"), (\"updatable_views_with_limit\", \"YES\"), (\"automatic_sp_privileges\", \"1\"), (\"profiling\", \"OFF\"), (\"sql_big_selects\", \"ON\"), (\"rpl_stop_slave_timeout\", \"31536000\"), (\"tidb_gc_concurrency\", \"-1\"), (\"sha256_password_proxy_users\", \"\"), (\"myisam_sort_buffer_size\", \"8388608\"), (\"flush\", \"OFF\"), (\"innodb_online_alter_log_max_size\", \"134217728\"), (\"event_scheduler\", \"OFF\"), (\"master_verify_checksum\", \"OFF\"), (\"tidb_enable_outer_join_reorder\", \"ON\"), (\"ndb_log_updated_only\", \"\"), (\"tidb_opt_enable_hash_join\", \"ON\"), (\"tidb_enable_clustered_index\", \"ON\"), (\"tidb_redact_log\", \"OFF\"), (\"innodb_concurrency_tickets\", \"5000\"), (\"net_read_timeout\", \"30\"), (\"slave_net_timeout\", \"3600\"), (\"tidb_committer_concurrency\", \"128\"), (\"tidb_opt_broadcast_cartesian_join\", \"1\"), (\"max_insert_delayed_threads\", \"20\"), (\"innodb_ft_result_cache_limit\", \"2000000000\"), (\"tidb_server_memory_limit_gc_trigger\", \"0.7\"), (\"character_set_filesystem\", \"binary\"), (\"flush_time\", \"0\"), (\"tidb_server_memory_limit\", \"80%\"), (\"binlogging_impossible_mode\", \"IGNORE_ERROR\"), (\"default_password_lifetime\", \"0\"), (\"tidb_mem_quota_binding_cache\", \"67108864\"), (\"ndb_deferred_constraints\", \"\"), (\"innodb_adaptive_max_sleep_delay\", \"150000\"), (\"transaction_read_only\", \"OFF\"), (\"tidb_ddl_reorg_batch_size\", \"256\"), (\"(len:21519);"] [2024/05/06 16:35:40.615 +08:00] [INFO] [bootstrap.go:529] ["bootstrap successful"] ["take time"=29.658748845s] [2024/05/06 16:35:40.617 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:35:40.617 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 36, tp add index"] ["take time"=23.84µs] [2024/05/06 16:35:40.617 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 37, tp add index"] ["take time"=18.466µs] [2024/05/06 16:35:40.618 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 38, tp add index"] ["take time"=30.09µs] [2024/05/06 16:35:40.618 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 39, tp add index"] ["take time"=30.69µs] [2024/05/06 16:35:40.618 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 30, tp add index"] ["take time"=499.041µs] [2024/05/06 16:35:40.619 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 31, tp add index"] ["take time"=19.181µs] [2024/05/06 16:35:40.619 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 32, tp add index"] ["take time"=13.827µs] [2024/05/06 16:35:40.619 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 33, tp add index"] ["take time"=14.915µs] [2024/05/06 16:35:40.619 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 34, tp add index"] ["take time"=14.191µs] [2024/05/06 16:35:40.619 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 35, tp add index"] ["take time"=14.445µs] [2024/05/06 16:35:40.620 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:35:40.620 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 29, tp general"] ["take time"=17.687µs] [2024/05/06 16:35:40.620 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 27, tp general"] ["take time"=3.328µs] [2024/05/06 16:35:40.620 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 28, tp add index"] ["take time"=2.137µs] [2024/05/06 16:35:40.620 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:35:40.620 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:35:40.628 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=b248928b-f8c2-4813-9cf3-09af967378ec] ["take time"=10.891042ms] [2024/05/06 16:35:40.628 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=b248928b-f8c2-4813-9cf3-09af967378ec] [2024/05/06 16:35:40.641 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:35:40.641 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:35:40.641 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:35:40.641 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:35:40.641 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:35:40.641 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:35:40.641 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=24.713104ms] [2024/05/06 16:35:40.641 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=951d675d-6f65-4b51-ac41-17f32da01655] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 16:35:40.849 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=39] ["start time"=204.437941ms] [2024/05/06 16:35:40.865 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:35:40.866 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=ba4756c4-9403-4c08-811f-9492472083de] [runWorker=true] [2024/05/06 16:35:40.866 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:35:40.867 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:35:40.867 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 40, tp general"] [2024/05/06 16:35:40.868 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 41, tp add index"] [2024/05/06 16:35:40.870 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:35:40.870 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:35:40.870 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:35:40.871 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:35:40.930 +08:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 16:35:41.303 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=39] [cur_db=test] [sql="drop table if exists t1,t2"] [user=] [2024/05/06 16:35:41.306 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=39] [cur_db=test] [sql="create table t1 (id int primary key, v int)"] [user=] [2024/05/06 16:35:41.358 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:41.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t1 (id int primary key, v int)"] [2024/05/06 16:35:41.358 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:41.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:41.968 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 42, tp general"] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:41.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:42.069 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=2.187994ms] [phyTblIDs="[80]"] [actionTypes="[8]"] [2024/05/06 16:35:42.121 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=81] [version=40] [2024/05/06 16:35:42.123 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=40] ["take time"=60.56391ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:41.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:42.261 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 42, tp general"] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:41.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:42.333 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=81] [2024/05/06 16:35:42.334 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:42.335 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Conn_ID: 4\n# Query_time: 1.03055892\n# Parse_time: 0.001005367\n# Compile_time: 0.001044173\n# Rewrite_time: 0.000013025\n# Optimize_time: 0.000469932\n# Wait_TS: 0.000080933\n# DB: test\n# Is_internal: false\n# Digest: 58adff4e53b4dc3a2102ff826681d219bcf79edb1d10a7d7eddd3da56fcd9ce6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\ncreate table t1 (id int primary key, v int);"] [2024/05/06 16:35:42.345 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=40] [cur_db=test] [sql="create table t2 (id int)"] [user=] [2024/05/06 16:35:42.400 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:42.359 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t2 (id int)"] [2024/05/06 16:35:42.401 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:42.359 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:42.473 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 42, tp general"] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:42.359 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:42.572 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=1.47381ms] [phyTblIDs="[82]"] [actionTypes="[8]"] [2024/05/06 16:35:42.621 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=83] [version=41] [2024/05/06 16:35:42.621 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=41] ["take time"=52.038665ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:42.359 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:42.687 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 42, tp general"] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:42.359 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:42.770 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=83] [2024/05/06 16:35:42.770 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:42.772 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Conn_ID: 4\n# Query_time: 0.427918766\n# Parse_time: 0.000716567\n# Compile_time: 0.00098883\n# Rewrite_time: 0.000014982\n# Optimize_time: 0.000469932\n# Wait_TS: 0.00007603\n# DB: test\n# Is_internal: false\n# Digest: 022ec70336ed50328c0e53dd0419219aeef85a72279ec430eea3ccf10d0811fe\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\ncreate table t2 (id int);"] [2024/05/06 16:35:42.774 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=41] [cur_db=test] [sql="create temporary table tmp (id int)"] [user=] [2024/05/06 16:35:42.829 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=41] [cur_db=test] [sql="alter table t2 add column(c1 int)"] [user=] [2024/05/06 16:35:42.865 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:85, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:35:42.847 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:42.865 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:85, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:35:42.847 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="alter table t2 add column(c1 int)"] [2024/05/06 16:35:42.870 +08:00] [INFO] [info.go:1114] [SetTiFlashGroupConfig] [2024/05/06 16:35:42.989 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 42, tp general"] [job="ID:85, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:42.847 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:42.990 +08:00] [INFO] [column.go:133] ["[ddl] run add column job"] [job="ID:85, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:35:42.847 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [columnInfo="{\"id\":2,\"name\":{\"O\":\"c1\",\"L\":\"c1\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 16:35:43.085 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=1.469028ms] [phyTblIDs="[82]"] [actionTypes="[32]"] [2024/05/06 16:35:43.123 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=42] [2024/05/06 16:35:43.127 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=42] ["take time"=44.685303ms] [job="ID:85, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:35:42.847 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:43.205 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 42, tp general"] [job="ID:85, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:42.847 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:43.244 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=1.641862ms] [phyTblIDs="[82]"] [actionTypes="[32]"] [2024/05/06 16:35:43.272 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=43] [2024/05/06 16:35:43.272 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=43] ["take time"=30.244266ms] [job="ID:85, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:35:42.847 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:43.317 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 42, tp general"] [job="ID:85, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:42.847 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:43.362 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=1.637734ms] [phyTblIDs="[82]"] [actionTypes="[32]"] [2024/05/06 16:35:43.424 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=44] [2024/05/06 16:35:43.426 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=44] ["take time"=67.054398ms] [job="ID:85, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:35:42.847 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:43.505 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 42, tp general"] [job="ID:85, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:42.847 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:43.601 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=1.603368ms] [phyTblIDs="[82]"] [actionTypes="[32]"] [2024/05/06 16:35:43.626 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=45] [2024/05/06 16:35:43.638 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=45] ["take time"=39.468433ms] [job="ID:85, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:35:42.847 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:43.702 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 42, tp general"] [job="ID:85, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:42.847 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:43.782 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=85] [2024/05/06 16:35:43.782 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:43.783 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Conn_ID: 6\n# Query_time: 0.955667239\n# Parse_time: 0.000702091\n# Compile_time: 0.001346588\n# Rewrite_time: 0.000019927\n# Optimize_time: 0.000482575\n# Wait_TS: 0.000096487\n# DB: test\n# Is_internal: false\n# Digest: 177e330fc6e13ff4b1b9f51ae04b524c419feabb143557fdc6a5807ebb58aed3\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\nalter table t2 add column(c1 int);"] [2024/05/06 16:35:43.805 +08:00] [INFO] [txn.go:55] ["Try to create a new txn inside a transaction auto commit"] [schemaVersion=41] [txnStartTS=449572907993792512] [txnScope=global] [2024/05/06 16:35:43.901 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:35:43.901 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 47, tp add index"] ["take time"=10.888µs] [2024/05/06 16:35:43.901 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 48, tp add index"] ["take time"=7.424µs] [2024/05/06 16:35:43.901 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 49, tp add index"] ["take time"=8.042µs] [2024/05/06 16:35:43.902 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 50, tp add index"] ["take time"=7.138µs] [2024/05/06 16:35:43.902 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 51, tp add index"] ["take time"=6.475µs] [2024/05/06 16:35:43.902 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 52, tp add index"] ["take time"=6.89µs] [2024/05/06 16:35:43.902 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 43, tp add index"] ["take time"=6.43µs] [2024/05/06 16:35:43.903 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 44, tp add index"] ["take time"=6.558µs] [2024/05/06 16:35:43.903 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 45, tp add index"] ["take time"=6.292µs] [2024/05/06 16:35:43.903 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 46, tp add index"] ["take time"=6.025µs] [2024/05/06 16:35:43.903 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:35:43.904 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 42, tp general"] ["take time"=7.568µs] [2024/05/06 16:35:43.904 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 40, tp general"] ["take time"=4.422µs] [2024/05/06 16:35:43.904 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 41, tp add index"] ["take time"=3.476µs] [2024/05/06 16:35:43.904 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:35:43.904 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:35:43.906 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=ba4756c4-9403-4c08-811f-9492472083de] ["take time"=52.586566ms] [2024/05/06 16:35:43.906 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=ba4756c4-9403-4c08-811f-9492472083de] [2024/05/06 16:35:43.906 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:35:43.906 +08:00] [INFO] [domain.go:1444] ["LoadSysVarCacheLoop exited."] [2024/05/06 16:35:43.906 +08:00] [INFO] [domain.go:1394] ["loadPrivilegeInLoop exited."] [2024/05/06 16:35:43.907 +08:00] [INFO] [domain.go:1569] ["handleEvolvePlanTasksLoop exited."] [2024/05/06 16:35:43.907 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:35:43.907 +08:00] [INFO] [domain.go:1525] ["globalBindHandleWorkerLoop exited."] [2024/05/06 16:35:43.907 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:35:43.907 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:35:43.910 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:35:43.910 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:35:43.910 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:35:43.910 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:35:43.910 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:35:43.914 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:35:43.915 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:35:43.915 +08:00] [INFO] [domain.go:1748] ["dumpFileGcChecker exited."] [2024/05/06 16:35:43.921 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=67.636664ms] [2024/05/06 16:35:43.924 +08:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 16:35:43.925 +08:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 16:35:43.925 +08:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 16:35:43.925 +08:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 16:35:43.925 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 16:35:43.925 +08:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestTxnContextBeginInUnfinishedTxn (33.15s) === RUN TestTxnContextInRC [2024/05/06 16:35:43.954 +08:00] [INFO] [region_cache.go:2484] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 16:35:43.959 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:35:43.959 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:35:43.970 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:35:43.970 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:35:43.977 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:35:43.980 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=a996a5ec-29a9-4879-bf18-1af962a9da23] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 16:35:43.981 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).Init\n\tdomain/domain.go:1074\ngithub.com/pingcap/tidb/session.(*domainMap).Get.func1\n\tsession/tidb.go:90\ngithub.com/pingcap/tidb/util.RunWithRetry\n\tutil/misc.go:69\ngithub.com/pingcap/tidb/session.(*domainMap).Get\n\tsession/tidb.go:76\ngithub.com/pingcap/tidb/session.createSessionWithOpt\n\tsession/session.go:3520\ngithub.com/pingcap/tidb/session.createSession\n\tsession/session.go:3516\ngithub.com/pingcap/tidb/session.runInBootstrapSession\n\tsession/session.go:3480\ngithub.com/pingcap/tidb/session.BootstrapSession\n\tsession/session.go:3309\ngithub.com/pingcap/tidb/testkit.bootstrap\n\ttestkit/mockstore.go:84\ngithub.com/pingcap/tidb/testkit.CreateMockStoreAndDomain\n\ttestkit/mockstore.go:69\nsessiontxn/sessiontxn_test_test.setupTxnContextTest\n\tsessiontxn/txn_context_test.go:61\nsessiontxn/sessiontxn_test_test.TestTxnContextInRC\n\tsessiontxn/txn_context_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1446\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:35:44.059 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=76.06974ms] [2024/05/06 16:35:44.065 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:35:44.065 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=48805229-4eaf-4afd-88a9-7154e5d2b974] [runWorker=true] [2024/05/06 16:35:44.066 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:35:44.066 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:35:44.067 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 53, tp general"] [2024/05/06 16:35:44.067 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 54, tp add index"] [2024/05/06 16:35:44.067 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:35:44.068 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:35:44.068 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:35:44.068 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:35:44.088 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 16:35:44.122 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:44.103 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:44.123 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:35:44.103 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 16:35:44.324 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:35:44.350 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:44.103 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:44.420 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=37.849375ms] [2024/05/06 16:35:44.426 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:35:44.469 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:44.469 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=3] [version=1] [2024/05/06 16:35:44.470 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=88.586769ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:35:44.103 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:44.584 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:44.103 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:44.689 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=3] [2024/05/06 16:35:44.689 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:44.691 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.603490629\n# Parse_time: 0\n# Compile_time: 0.001141797\n# Rewrite_time: 0.000013607\n# Optimize_time: 0\n# Wait_TS: 0.00013595\n# DB: mysql\n# Is_internal: true\n# Digest: 0a22979ad136f741465cf206b13e5717b9758dda34f7cae5a7a925f91711d6a0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse mysql;\nCREATE DATABASE IF NOT EXISTS test;"] [2024/05/06 16:35:44.693 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 16:35:44.768 +08:00] [INFO] [session.go:3817] ["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 16:35:45.205 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:44.787 +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 16:35:45.217 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:44.787 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:45.289 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:44.787 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:45.798 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=9.253076ms] [phyTblIDs="[4]"] [actionTypes="[8]"] [2024/05/06 16:35:45.823 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:45.824 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=5] [version=2] [2024/05/06 16:35:45.825 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=36.580887ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:44.787 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:46.023 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:44.787 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:46.068 +08:00] [INFO] [info.go:1114] [SetTiFlashGroupConfig] [2024/05/06 16:35:46.503 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=5] [2024/05/06 16:35:46.504 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:46.534 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.781403163\n# Parse_time: 0\n# Compile_time: 0.044232972\n# Rewrite_time: 0.000013666\n# Optimize_time: 0\n# Wait_TS: 0.000108913\n# DB: mysql\n# Is_internal: true\n# Digest: 14c6b489558060bdbede877927034270db5af07c6621aa28f87eeaec8727e925\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.user ( Host CHAR(255), User CHAR(32), authentication_string TEXT, plugin CHAR(64), Select_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Insert_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Update_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Delete_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Process_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Grant_priv ENUM('N','Y') NOT NULL DEFAULT 'N', References_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_db_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Super_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Index_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_user_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Event_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_slave_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_client_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Trigger_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Account_locked ENUM('N','Y') NOT NULL DEFAULT 'N', Shutdown_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Reload_priv ENUM('N','Y') NOT NULL DEFAULT 'N', FILE_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Config_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N', Password_reuse_history smallint unsigned DEFAULT NULL, Password_reuse_time smallint unsigned DEFAULT NULL, User_attributes json, Token_issuer VARCHAR(255), Password_expired ENUM('N','Y') NOT NULL DEFAULT 'N', Password_last_changed TIMESTAMP DEFAULT CURRENT_TIMESTAMP(), Password_lifetime SMALLINT UNSIGNED DEFAULT NULL, PRIMARY KEY (Host, User));"] [2024/05/06 16:35:46.541 +08:00] [INFO] [session.go:3817] ["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 16:35:46.631 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:46.557 +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 16:35:46.644 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:46.557 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:46.751 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:46.557 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:46.880 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=2.498849ms] [phyTblIDs="[6]"] [actionTypes="[8]"] [2024/05/06 16:35:46.919 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:46.919 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=7] [version=3] [2024/05/06 16:35:46.921 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=44.351135ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:46.557 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:46.977 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:46.557 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:47.057 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=7] [2024/05/06 16:35:47.057 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:47.059 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.520764306\n# Parse_time: 0\n# Compile_time: 0.003533802\n# Rewrite_time: 0.000013513\n# Optimize_time: 0\n# Wait_TS: 0.00010418\n# DB: mysql\n# Is_internal: true\n# Digest: eeb59bc0d98f65a2a5aef8eaa99596260e746b00eed183baf856558ef03533ac\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.password_history ( Host char(255) NOT NULL DEFAULT '', User char(32) NOT NULL DEFAULT '', Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6), Password text, PRIMARY KEY (Host,User,Password_timestamp ) ) COMMENT='Password history for user accounts' ;"] [2024/05/06 16:35:47.064 +08:00] [INFO] [session.go:3817] ["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 16:35:47.169 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:47.077 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:47.170 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:47.077 +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 16:35:47.358 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:47.077 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:47.532 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=1.960732ms] [phyTblIDs="[8]"] [actionTypes="[8]"] [2024/05/06 16:35:47.571 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:47.572 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=9] [version=4] [2024/05/06 16:35:47.577 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=47.928842ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:47.077 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:47.651 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:47.077 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:47.754 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=9] [2024/05/06 16:35:47.757 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:47.767 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.704987377\n# Parse_time: 0\n# Compile_time: 0.002164626\n# Rewrite_time: 0.000012847\n# Optimize_time: 0\n# Wait_TS: 0.000085\n# DB: mysql\n# Is_internal: true\n# Digest: 3bc9b46cf9e300a8d240915cf47216424544ed9f992c07151fba2e2cadc41632\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE 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 16:35:47.830 +08:00] [INFO] [session.go:3817] ["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),\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 16:35:48.016 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:47.864 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:48.016 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:47.864 +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),\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 16:35:48.169 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:47.864 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:48.491 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=5.884939ms] [phyTblIDs="[10]"] [actionTypes="[8]"] [2024/05/06 16:35:48.521 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:48.521 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=11] [version=5] [2024/05/06 16:35:48.522 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=37.269037ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:47.864 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:48.586 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:47.864 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:48.753 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=11] [2024/05/06 16:35:48.769 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:48.771 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.952962583\n# Parse_time: 0\n# Compile_time: 0.01215231\n# Rewrite_time: 0.000013005\n# Optimize_time: 0\n# Wait_TS: 0.000079593\n# DB: mysql\n# Is_internal: true\n# Digest: aeaf612801484f0311f850d36f60f29e6d904828682c1f3bb7307dff25ca3a15\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.db ( Host CHAR(255), DB CHAR(64), User CHAR(32), Select_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Insert_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Update_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Delete_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Grant_priv ENUM('N','Y') NOT NULL DEFAULT 'N', References_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Index_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Event_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Trigger_priv ENUM('N','Y') NOT NULL DEFAULT 'N', PRIMARY KEY (Host, DB, User));"] [2024/05/06 16:35:48.780 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:35:48.894 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:48.798 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:48.894 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:48.798 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:35:48.965 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:48.798 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:49.215 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=3.320024ms] [phyTblIDs="[12]"] [actionTypes="[8]"] [2024/05/06 16:35:49.269 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:49.269 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=13] [version=6] [2024/05/06 16:35:49.269 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=58.238268ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:48.798 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:49.376 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:48.798 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:49.509 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=13] [2024/05/06 16:35:49.510 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:49.511 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.734445186\n# Parse_time: 0\n# Compile_time: 0.003639761\n# Rewrite_time: 0.00001249\n# Optimize_time: 0\n# Wait_TS: 0.000089161\n# DB: mysql\n# Is_internal: true\n# Digest: e8b37dad6cc7f05ee1f0be61455667495826928a93ddd09b94e02fbaed113955\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tables_priv ( Host CHAR(255), DB CHAR(64), User CHAR(32), Table_name CHAR(64), Grantor CHAR(77), Timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, Table_priv SET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'), Column_priv SET('Select','Insert','Update','References'), PRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 16:35:49.533 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:35:49.702 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:49.622 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:49.703 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:49.622 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:35:49.780 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:49.622 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:49.932 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=7.643072ms] [phyTblIDs="[14]"] [actionTypes="[8]"] [2024/05/06 16:35:49.969 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:49.969 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=15] [version=7] [2024/05/06 16:35:49.971 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=47.017771ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:49.622 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:50.035 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:49.622 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:50.332 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=15] [2024/05/06 16:35:50.332 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:50.334 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.809029911\n# Parse_time: 0\n# Compile_time: 0.008089736\n# Rewrite_time: 0.000010791\n# Optimize_time: 0\n# Wait_TS: 0.000244993\n# DB: mysql\n# Is_internal: true\n# Digest: a19edbb3caff8cc57619278ab6eb5f791d7a821432309abe7184d0a7bca66b4d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.columns_priv( Host CHAR(255), DB CHAR(64), User CHAR(32), Table_name CHAR(64), Column_name CHAR(64), Timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, Column_priv SET('Select','Insert','Update','References'), PRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 16:35:50.337 +08:00] [INFO] [session.go:3817] ["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(1024) DEFAULT NULL);"] [user=] [2024/05/06 16:35:50.399 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:50.355 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:50.400 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:50.355 +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(1024) DEFAULT NULL);"] [2024/05/06 16:35:50.522 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:50.355 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:50.638 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=1.951518ms] [phyTblIDs="[16]"] [actionTypes="[8]"] [2024/05/06 16:35:50.668 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:50.669 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=17] [version=8] [2024/05/06 16:35:50.669 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=33.54954ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:50.355 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:50.782 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:50.355 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:50.897 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=17] [2024/05/06 16:35:50.897 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:50.898 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.561894489\n# Parse_time: 0\n# Compile_time: 0.001339478\n# Rewrite_time: 0.00001352\n# Optimize_time: 0\n# Wait_TS: 0.000092666\n# DB: mysql\n# Is_internal: true\n# Digest: 55c1ea537145da60f32339dc7a3b69a3859f3f428fbae4e4023eb71dca836f47\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES( VARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY, VARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [2024/05/06 16:35:50.903 +08:00] [INFO] [session.go:3817] ["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 16:35:50.957 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:50.916 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:50.957 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:50.916 +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 16:35:51.071 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:50.916 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:51.212 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=1.992712ms] [phyTblIDs="[18]"] [actionTypes="[8]"] [2024/05/06 16:35:51.269 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:51.269 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=19] [version=9] [2024/05/06 16:35:51.270 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=60.533326ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:50.916 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:51.336 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:50.916 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:51.478 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=19] [2024/05/06 16:35:51.478 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:51.480 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.578849752\n# Parse_time: 0\n# Compile_time: 0.001909752\n# Rewrite_time: 0.000014007\n# Optimize_time: 0\n# Wait_TS: 0.000091733\n# DB: mysql\n# Is_internal: true\n# Digest: 0cc4a9cf54472ccff7c4fb8d7c6e34e6bd96af08b450ad4c9677473f1f517cf2\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tidb( VARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY, VARIABLE_VALUE VARCHAR(1024) DEFAULT NULL, COMMENT VARCHAR(1024));"] [2024/05/06 16:35:51.492 +08:00] [INFO] [session.go:3817] ["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 16:35:51.638 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:51.509 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:51.638 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:51.509 +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 16:35:51.799 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:51.509 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:52.020 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=2.927517ms] [phyTblIDs="[20]"] [actionTypes="[8]"] [2024/05/06 16:35:52.079 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:52.080 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=21] [version=10] [2024/05/06 16:35:52.080 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=64.139259ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:51.509 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:52.248 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:51.509 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:52.337 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=21] [2024/05/06 16:35:52.349 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:52.351 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.862626261\n# Parse_time: 0\n# Compile_time: 0.003722648\n# Rewrite_time: 0.000015012\n# Optimize_time: 0\n# Wait_TS: 0.000096875\n# DB: mysql\n# Is_internal: true\n# Digest: ca851971407336dad93908a9f88f01d828a4e18f332111987f4a7675bced7ea4\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.help_topic ( help_topic_id INT(10) UNSIGNED NOT NULL, name CHAR(64) NOT NULL, help_category_id SMALLINT(5) UNSIGNED NOT NULL, description TEXT NOT NULL, example TEXT NOT NULL, url TEXT NOT NULL, PRIMARY KEY (help_topic_id) clustered, UNIQUE KEY name (name) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 16:35:52.368 +08:00] [INFO] [session.go:3817] ["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 16:35:52.433 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:52.382 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:52.433 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:52.382 +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 16:35:52.536 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:52.382 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:52.656 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=2.419552ms] [phyTblIDs="[22]"] [actionTypes="[8]"] [2024/05/06 16:35:52.719 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:52.719 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=23] [version=11] [2024/05/06 16:35:52.722 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=68.857763ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:52.382 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:52.789 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:52.382 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:52.894 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=23] [2024/05/06 16:35:52.894 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:52.896 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.531758543\n# Parse_time: 0\n# Compile_time: 0.003291837\n# Rewrite_time: 0.000014683\n# Optimize_time: 0\n# Wait_TS: 0.000094594\n# DB: mysql\n# Is_internal: true\n# Digest: db16a74bd407cb00f071eafe96456094f48fc00e802128fc486ef4847b8910b0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_meta ( version BIGINT(64) UNSIGNED NOT NULL, table_id BIGINT(64) NOT NULL, modify_count BIGINT(64) NOT NULL DEFAULT 0, count BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, snapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, INDEX idx_ver(version), UNIQUE INDEX tbl(table_id) );"] [2024/05/06 16:35:52.912 +08:00] [INFO] [session.go:3817] ["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 16:35:52.931 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [2024/05/06 16:35:53.261 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:52.966 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:53.264 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:52.966 +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 16:35:53.372 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:52.966 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:53.666 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=4.237159ms] [phyTblIDs="[24]"] [actionTypes="[8]"] [2024/05/06 16:35:53.723 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:53.723 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=25] [version=12] [2024/05/06 16:35:53.724 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=62.467541ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:52.966 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:53.817 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:52.966 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:53.960 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=25] [2024/05/06 16:35:53.961 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:53.973 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.055369647\n# Parse_time: 0\n# Compile_time: 0.005105787\n# Rewrite_time: 0.000014061\n# Optimize_time: 0\n# Wait_TS: 0.00009745\n# DB: mysql\n# Is_internal: true\n# Digest: 7780c45a0aac5f123ac85a7e601e79c5d7779e7c09a19953908e547605ed45d2\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_histograms ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, distinct_count BIGINT(64) NOT NULL, null_count BIGINT(64) NOT NULL DEFAULT 0, tot_col_size BIGINT(64) NOT NULL DEFAULT 0, modify_count BIGINT(64) NOT NULL DEFAULT 0, version BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, cm_sketch BLOB(6291456), stats_ver BIGINT(64) NOT NULL DEFAULT 0, flag BIGINT(64) NOT NULL DEFAULT 0, correlation DOUBLE NOT NULL DEFAULT 0, last_analyze_pos LONGBLOB DEFAULT NULL, UNIQUE INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:35:53.988 +08:00] [INFO] [session.go:3817] ["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 16:35:54.074 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:54.004 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:54.075 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:54.004 +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 16:35:54.205 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:54.004 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:54.526 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=3.645802ms] [phyTblIDs="[26]"] [actionTypes="[8]"] [2024/05/06 16:35:54.568 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:54.569 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=27] [version=13] [2024/05/06 16:35:54.574 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=52.308047ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:54.004 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:54.676 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:54.004 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:54.812 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=27] [2024/05/06 16:35:54.818 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:54.829 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.844408278\n# Parse_time: 0\n# Compile_time: 0.003338298\n# Rewrite_time: 0.000013615\n# Optimize_time: 0\n# Wait_TS: 0.000101001\n# DB: mysql\n# Is_internal: true\n# Digest: 5615b5212342304015b027afb253371dae02f19e53871cfbb034deb145dfce32\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_buckets ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, bucket_id BIGINT(64) NOT NULL, count BIGINT(64) NOT NULL, repeats BIGINT(64) NOT NULL, upper_bound LONGBLOB NOT NULL, lower_bound LONGBLOB , ndv BIGINT NOT NULL DEFAULT 0, UNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id) );"] [2024/05/06 16:35:54.843 +08:00] [INFO] [session.go:3817] ["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 16:35:55.009 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:54.856 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:55.009 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:54.856 +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 16:35:55.256 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:54.856 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:55.621 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=2.659015ms] [phyTblIDs="[28]"] [actionTypes="[8]"] [2024/05/06 16:35:55.671 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:55.677 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=29] [version=14] [2024/05/06 16:35:55.678 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=60.048883ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:54.856 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:55.773 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:54.856 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:55.848 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=29] [2024/05/06 16:35:55.849 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:55.861 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.020327753\n# Parse_time: 0\n# Compile_time: 0.003422512\n# Rewrite_time: 0.00001329\n# Optimize_time: 0\n# Wait_TS: 0.000088383\n# DB: mysql\n# Is_internal: true\n# Digest: 4f764dd084d16197c847e23500fcaf8b96dbbabd598c823de37967bfa2ad51cd\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.gc_delete_range ( job_id BIGINT NOT NULL COMMENT \"the DDL job ID\", element_id BIGINT NOT NULL COMMENT \"the schema element ID\", start_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", end_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", ts BIGINT NOT NULL COMMENT \"timestamp in uint64\", UNIQUE KEY delete_range_index (job_id, element_id) );"] [2024/05/06 16:35:55.883 +08:00] [INFO] [session.go:3817] ["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 16:35:56.021 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:55.912 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:56.022 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:55.912 +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 16:35:56.122 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:55.912 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:56.309 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=2.479339ms] [phyTblIDs="[30]"] [actionTypes="[8]"] [2024/05/06 16:35:56.369 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:56.369 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=31] [version=15] [2024/05/06 16:35:56.370 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=64.653645ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:55.912 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:56.447 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:55.912 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:56.578 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=31] [2024/05/06 16:35:56.592 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:56.600 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.719534997\n# Parse_time: 0\n# Compile_time: 0.003556337\n# Rewrite_time: 0.00001453\n# Optimize_time: 0\n# Wait_TS: 0.000091817\n# DB: mysql\n# Is_internal: true\n# Digest: 532cf71b38f2568975d61180716af7e2b05c9ca11023688224ed0c0eece42fa9\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done ( job_id BIGINT NOT NULL COMMENT \"the DDL job ID\", element_id BIGINT NOT NULL COMMENT \"the schema element ID\", start_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", end_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", ts BIGINT NOT NULL COMMENT \"timestamp in uint64\", UNIQUE KEY delete_range_done_index (job_id, element_id) );"] [2024/05/06 16:35:56.614 +08:00] [INFO] [session.go:3817] ["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 16:35:56.677 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:56.629 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:56.678 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:56.629 +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 16:35:56.780 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:56.629 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:56.931 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=2.158686ms] [phyTblIDs="[32]"] [actionTypes="[8]"] [2024/05/06 16:35:56.969 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:56.969 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=33] [version=16] [2024/05/06 16:35:56.970 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=41.401831ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:56.629 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:57.057 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:56.629 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:57.137 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=33] [2024/05/06 16:35:57.137 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:57.139 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.528095584\n# Parse_time: 0\n# Compile_time: 0.003592591\n# Rewrite_time: 0.000012857\n# Optimize_time: 0\n# Wait_TS: 0.000084771\n# DB: mysql\n# Is_internal: true\n# Digest: 28f04155dca9c7fd3a5e16199cefd152c629a57a64d0ccb2ed0f10309c23c59c\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_feedback ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, feedback BLOB NOT NULL, INDEX hist(table_id, is_index, hist_id) );"] [2024/05/06 16:35:57.186 +08:00] [INFO] [session.go:3817] ["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 16:35:57.268 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:57.219 +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 16:35:57.280 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:57.219 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:57.363 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:57.219 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:57.524 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=2.432482ms] [phyTblIDs="[34]"] [actionTypes="[8]"] [2024/05/06 16:35:57.645 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:57.645 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=35] [version=17] [2024/05/06 16:35:57.645 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=124.074079ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:57.219 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:57.736 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:57.219 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:57.848 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=35] [2024/05/06 16:35:57.848 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:57.850 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.667615421\n# Parse_time: 0\n# Compile_time: 0.00357163\n# Rewrite_time: 0.000012808\n# Optimize_time: 0\n# Wait_TS: 0.000081\n# DB: mysql\n# Is_internal: true\n# Digest: 13e2fcff943423afddaa84c2d34108628854b5953bc7c41d2879240f077a5bd6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.role_edges ( FROM_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', FROM_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', TO_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', TO_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', WITH_ADMIN_OPTION ENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N', PRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER) );"] [2024/05/06 16:35:57.861 +08:00] [INFO] [session.go:3817] ["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 16:35:57.998 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:57.886 +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 16:35:58.016 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:57.886 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:58.156 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:57.886 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:58.353 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=4.895768ms] [phyTblIDs="[36]"] [actionTypes="[8]"] [2024/05/06 16:35:58.469 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:58.469 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=37] [version=18] [2024/05/06 16:35:58.472 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=132.977026ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:57.886 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:58.524 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:57.886 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:58.661 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=37] [2024/05/06 16:35:58.661 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:58.663 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.805024897\n# Parse_time: 0\n# Compile_time: 0.003016047\n# Rewrite_time: 0.000013807\n# Optimize_time: 0\n# Wait_TS: 0.000087044\n# DB: mysql\n# Is_internal: true\n# Digest: 9e6b544fb0287e9d8a74031560ed0cd6a5b4e54db073b893a68a76b05d929781\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.default_roles ( HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', DEFAULT_ROLE_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%', DEFAULT_ROLE_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', PRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER) );"] [2024/05/06 16:35:58.696 +08:00] [INFO] [session.go:3817] ["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 16:35:58.885 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:58.711 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:58.886 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:58.711 +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 16:35:58.990 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:58.711 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:59.278 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=4.928893ms] [phyTblIDs="[38]"] [actionTypes="[8]"] [2024/05/06 16:35:59.319 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:35:59.320 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=39] [version=19] [2024/05/06 16:35:59.325 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=52.475011ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:58.711 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:59.426 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:58.711 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:35:59.633 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=39] [2024/05/06 16:35:59.633 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:35:59.635 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.9650783\n# Parse_time: 0\n# Compile_time: 0.026563091\n# Rewrite_time: 0.000013523\n# Optimize_time: 0\n# Wait_TS: 0.000087861\n# DB: mysql\n# Is_internal: true\n# Digest: 0a4bc55a9ab72ef62ddaa1ee6472d7872306066fd783a8bb67047a497fbb4dbe\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.bind_info ( original_sql TEXT NOT NULL, bind_sql TEXT NOT NULL, default_db TEXT NOT NULL, status TEXT NOT NULL, create_time TIMESTAMP(3) NOT NULL, update_time TIMESTAMP(3) NOT NULL, charset TEXT NOT NULL, collation TEXT NOT NULL, source VARCHAR(10) NOT NULL DEFAULT 'unknown', sql_digest varchar(64), plan_digest varchar(64), INDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\", INDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\" ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 16:35:59.692 +08:00] [INFO] [session.go:3817] ["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 16:35:59.808 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:35:59.709 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:35:59.808 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:59.709 +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 16:35:59.965 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:59.709 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:00.125 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=2.379165ms] [phyTblIDs="[40]"] [actionTypes="[8]"] [2024/05/06 16:36:00.168 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:00.169 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=41] [version=20] [2024/05/06 16:36:00.170 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=48.53464ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:35:59.709 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:00.229 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:35:59.709 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:00.339 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=41] [2024/05/06 16:36:00.339 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:00.341 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.651495619\n# Parse_time: 0\n# Compile_time: 0.002833728\n# Rewrite_time: 0.000012551\n# Optimize_time: 0\n# Wait_TS: 0.000104052\n# DB: mysql\n# Is_internal: true\n# Digest: 04a90564803373a6eb3f5a52e8794d25c4d28f6c18af7899b0b9f1bf1539ec72\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_top_n ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, value LONGBLOB, count BIGINT(64) UNSIGNED NOT NULL, INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:36:00.345 +08:00] [INFO] [session.go:3817] ["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 16:36:00.432 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:00.366 +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 16:36:00.478 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:00.366 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:00.664 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:00.366 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:00.741 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=2.061523ms] [phyTblIDs="[42]"] [actionTypes="[8]"] [2024/05/06 16:36:00.769 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:00.769 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=43] [version=21] [2024/05/06 16:36:00.769 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=31.010929ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:00.366 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:00.832 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:00.366 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:00.918 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=43] [2024/05/06 16:36:00.919 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:00.921 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.577654395\n# Parse_time: 0\n# Compile_time: 0.001786757\n# Rewrite_time: 0.000012011\n# Optimize_time: 0\n# Wait_TS: 0.000072846\n# DB: mysql\n# Is_internal: true\n# Digest: 3e05fb8977f83f4e32022552aded3680a039cddc4239c339119a655dc1cffdbb\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist ( name CHAR(100) NOT NULL, store_type CHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb', reason VARCHAR(200) );"] [2024/05/06 16:36:00.924 +08:00] [INFO] [session.go:3817] ["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 16:36:00.976 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:00.937 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:00.976 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:00.937 +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 16:36:01.144 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:00.937 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:01.381 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=1.536322ms] [phyTblIDs="[44]"] [actionTypes="[8]"] [2024/05/06 16:36:01.419 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:01.419 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=45] [version=22] [2024/05/06 16:36:01.419 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=40.232335ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:00.937 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:01.486 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:00.937 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:01.566 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=45] [2024/05/06 16:36:01.583 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:01.585 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.662232829\n# Parse_time: 0\n# Compile_time: 0.001265622\n# Rewrite_time: 0.000013585\n# Optimize_time: 0\n# Wait_TS: 0.0000859\n# DB: mysql\n# Is_internal: true\n# Digest: aee36d5dc7131e4b6e3321cc046ae8b5ec8156ec1ef82481df0b97b8c734325f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist ( name CHAR(100) NOT NULL );"] [2024/05/06 16:36:01.678 +08:00] [INFO] [session.go:3817] ["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 16:36:01.776 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:01.705 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:01.776 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:01.705 +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 16:36:01.855 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:01.705 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:02.038 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=3.043406ms] [phyTblIDs="[46]"] [actionTypes="[8]"] [2024/05/06 16:36:02.075 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:02.075 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=47] [version=23] [2024/05/06 16:36:02.079 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=44.432219ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:01.705 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:02.228 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:01.705 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:02.378 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=47] [2024/05/06 16:36:02.378 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:02.382 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.769533781\n# Parse_time: 0\n# Compile_time: 0.066282037\n# Rewrite_time: 0.000017643\n# Optimize_time: 0\n# Wait_TS: 0.000096006\n# DB: mysql\n# Is_internal: true\n# Digest: bd2a0d9809689d30e22f8d82b29b4ee110d16cda3353b77d74a1938afb746386\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_extended ( name varchar(32) NOT NULL, type tinyint(4) NOT NULL, table_id bigint(64) NOT NULL, column_ids varchar(32) NOT NULL, stats blob DEFAULT NULL, version bigint(64) unsigned NOT NULL, status tinyint(4) NOT NULL, PRIMARY KEY(name, table_id), KEY idx_1 (table_id, status, version), KEY idx_2 (status, version) );"] [2024/05/06 16:36:02.389 +08:00] [INFO] [session.go:3817] ["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 16:36:02.466 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:02.403 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:02.466 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:02.403 +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 16:36:02.555 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:02.403 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:02.707 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=2.631108ms] [phyTblIDs="[48]"] [actionTypes="[8]"] [2024/05/06 16:36:02.769 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:02.769 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=49] [version=24] [2024/05/06 16:36:02.769 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=66.294638ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:02.403 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:02.861 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:02.403 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:02.979 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=49] [2024/05/06 16:36:02.979 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:02.981 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.593426972\n# Parse_time: 0\n# Compile_time: 0.002271912\n# Rewrite_time: 0.000012641\n# Optimize_time: 0\n# Wait_TS: 0.000088008\n# DB: mysql\n# Is_internal: true\n# Digest: f72fffa4e6072164db3e01e2e29568b0b93c5045737047be527343b1737b0882\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.schema_index_usage ( TABLE_ID bigint(64), INDEX_ID bigint(21), QUERY_COUNT bigint(64), ROWS_SELECTED bigint(64), LAST_USED_AT timestamp, PRIMARY KEY(TABLE_ID, INDEX_ID) );"] [2024/05/06 16:36:02.986 +08:00] [INFO] [session.go:3817] ["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 16:36:03.086 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:03.008 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:03.086 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:03.008 +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 16:36:03.205 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:03.008 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:03.364 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=2.251568ms] [phyTblIDs="[50]"] [actionTypes="[8]"] [2024/05/06 16:36:03.419 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:03.419 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=51] [version=25] [2024/05/06 16:36:03.421 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=60.669831ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:03.008 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:03.484 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:03.008 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:03.572 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=51] [2024/05/06 16:36:03.573 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:03.574 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.590692775\n# Parse_time: 0\n# Compile_time: 0.002149778\n# Rewrite_time: 0.000013633\n# Optimize_time: 0\n# Wait_TS: 0.000091407\n# DB: mysql\n# Is_internal: true\n# Digest: 27ef2533f9d97f96c8c86a69a0de51aad04499856acd05fe4a4b93fb5b6043d0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, value LONGBLOB, INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:36:03.609 +08:00] [INFO] [session.go:3817] ["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 16:36:03.699 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:03.641 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:03.699 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:03.641 +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 16:36:03.784 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:03.641 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:03.964 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=2.400513ms] [phyTblIDs="[52]"] [actionTypes="[8]"] [2024/05/06 16:36:04.019 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:04.019 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=53] [version=26] [2024/05/06 16:36:04.021 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=60.614123ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:03.641 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:04.090 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:03.641 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:04.158 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=53] [2024/05/06 16:36:04.158 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:04.160 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.573649524\n# Parse_time: 0\n# Compile_time: 0.022537327\n# Rewrite_time: 0.000013142\n# Optimize_time: 0\n# Wait_TS: 0.000092352\n# DB: mysql\n# Is_internal: true\n# Digest: 79c6e54229df7b01d20ffaf8ac1077aa9ef39e604df30d5ce852dd7049cc3ddd\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.global_grants ( USER char(32) NOT NULL DEFAULT '', HOST char(255) NOT NULL DEFAULT '', PRIV char(32) NOT NULL DEFAULT '', WITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N', PRIMARY KEY (USER,HOST,PRIV) );"] [2024/05/06 16:36:04.174 +08:00] [INFO] [session.go:3817] ["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 16:36:04.246 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:04.19 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:04.246 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:04.19 +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 16:36:04.413 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:04.19 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:04.562 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=1.866123ms] [phyTblIDs="[54]"] [actionTypes="[8]"] [2024/05/06 16:36:04.619 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:04.619 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=55] [version=27] [2024/05/06 16:36:04.619 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=60.081112ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:04.19 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:04.698 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:04.19 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:04.862 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=55] [2024/05/06 16:36:04.862 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:04.864 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.694689216\n# Parse_time: 0\n# Compile_time: 0.004704055\n# Rewrite_time: 0.000019755\n# Optimize_time: 0\n# Wait_TS: 0.000106608\n# DB: mysql\n# Is_internal: true\n# Digest: 08f858a5bd3a1fd5dfd809dd4b9d6c72db69f874b06ad0e91987f9e89a5cf89a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist ( id bigint(64) auto_increment, filter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\", filter_value varchar(32) NOT NULL, key idx(filter_type), primary key(id) );"] [2024/05/06 16:36:04.892 +08:00] [INFO] [session.go:3817] ["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 16:36:05.007 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:04.915 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:05.007 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:04.915 +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 16:36:05.123 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:04.915 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:05.239 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=2.289523ms] [phyTblIDs="[56]"] [actionTypes="[8]"] [2024/05/06 16:36:05.273 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:05.273 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=57] [version=28] [2024/05/06 16:36:05.274 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=37.896833ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:04.915 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:05.335 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:04.915 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:05.451 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=57] [2024/05/06 16:36:05.451 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:05.453 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.565098268\n# Parse_time: 0\n# Compile_time: 0.004777354\n# Rewrite_time: 0.000018871\n# Optimize_time: 0\n# Wait_TS: 0.000093867\n# DB: mysql\n# Is_internal: true\n# Digest: 3a5634ff31bd7d32849c5404b7ffc419c7a7074307b815e5369eb6ca363cbcd0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.column_stats_usage ( table_id BIGINT(64) NOT NULL, column_id BIGINT(64) NOT NULL, last_used_at TIMESTAMP, last_analyzed_at TIMESTAMP, PRIMARY KEY (table_id, column_id) CLUSTERED );"] [2024/05/06 16:36:05.473 +08:00] [INFO] [session.go:3817] ["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 16:36:05.555 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:05.489 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:05.555 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:05.489 +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 16:36:05.699 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:05.489 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:05.782 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=2.099413ms] [phyTblIDs="[58]"] [actionTypes="[8]"] [2024/05/06 16:36:05.819 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:05.820 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=59] [version=29] [2024/05/06 16:36:05.826 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=46.621604ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:05.489 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:05.887 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:05.489 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:05.984 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=59] [2024/05/06 16:36:05.985 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:05.986 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.5163545\n# Parse_time: 0\n# Compile_time: 0.002753837\n# Rewrite_time: 0.000012172\n# Optimize_time: 0\n# Wait_TS: 0.000088626\n# DB: mysql\n# Is_internal: true\n# Digest: d5bebde055ca14bff3e131e086a86c4095b9d04ea6fc326b4c2f16ffd61fbd2d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.table_cache_meta ( tid bigint(11) NOT NULL DEFAULT 0, lock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE', lease bigint(20) NOT NULL DEFAULT 0, oldReadLease bigint(20) NOT NULL DEFAULT 0, PRIMARY KEY (tid) );"] [2024/05/06 16:36:06.031 +08:00] [INFO] [session.go:3817] ["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 16:36:06.033 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [2024/05/06 16:36:06.123 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:06.046 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:06.123 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:06.046 +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 16:36:06.241 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:06.046 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:06.361 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=2.471762ms] [phyTblIDs="[60]"] [actionTypes="[8]"] [2024/05/06 16:36:06.421 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:06.422 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=61] [version=30] [2024/05/06 16:36:06.422 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=64.166454ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:06.046 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:06.482 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:06.046 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:06.561 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=61] [2024/05/06 16:36:06.563 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:06.565 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.573072674\n# Parse_time: 0\n# Compile_time: 0.039237163\n# Rewrite_time: 0.000020006\n# Optimize_time: 0\n# Wait_TS: 0.000088285\n# DB: mysql\n# Is_internal: true\n# Digest: 987fcd9b9a604209ec1101d918419b993c42f84fe228e20aee2fcca2931ff93e\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.analyze_options ( table_id BIGINT(64) NOT NULL, sample_num BIGINT(64) NOT NULL DEFAULT 0, sample_rate DOUBLE NOT NULL DEFAULT -1, buckets BIGINT(64) NOT NULL DEFAULT 0, topn BIGINT(64) NOT NULL DEFAULT -1, column_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT', column_ids TEXT(19372), PRIMARY KEY (table_id) CLUSTERED );"] [2024/05/06 16:36:06.599 +08:00] [INFO] [session.go:3817] ["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\t);"] [user=] [2024/05/06 16:36:06.732 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:06.616 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:06.733 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:06.616 +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\t);"] [2024/05/06 16:36:06.836 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:06.616 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:07.035 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=2.936964ms] [phyTblIDs="[62]"] [actionTypes="[8]"] [2024/05/06 16:36:07.077 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:07.078 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=63] [version=31] [2024/05/06 16:36:07.078 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=46.625747ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:06.616 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:07.364 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:06.616 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:07.550 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=63] [2024/05/06 16:36:07.551 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:07.553 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.956425439\n# Parse_time: 0\n# Compile_time: 0.003264961\n# Rewrite_time: 0.000013221\n# Optimize_time: 0\n# Wait_TS: 0.000089342\n# DB: mysql\n# Is_internal: true\n# Digest: 11757f6de6b3d2a64e92f14cd7b7f739729563ede3b0139d016148eba0b27ebf\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_history ( table_id bigint(64) NOT NULL, stats_data longblob NOT NULL, seq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice', version bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN', create_time datetime(6) NOT NULL, UNIQUE KEY table_version_seq (table_id, version, seq_no), KEY table_create_time (table_id, create_time, seq_no) );"] [2024/05/06 16:36:07.584 +08:00] [INFO] [session.go:3817] ["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\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\t);"] [user=] [2024/05/06 16:36:07.696 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:07.603 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:07.697 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:07.603 +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\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\t);"] [2024/05/06 16:36:07.765 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:07.603 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:07.896 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=2.91858ms] [phyTblIDs="[64]"] [actionTypes="[8]"] [2024/05/06 16:36:07.919 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:07.919 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=65] [version=32] [2024/05/06 16:36:07.921 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=28.446318ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:07.603 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:08.032 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:07.603 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:08.162 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=65] [2024/05/06 16:36:08.163 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:08.164 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.584875292\n# Parse_time: 0\n# Compile_time: 0.004399839\n# Rewrite_time: 0.000012654\n# Optimize_time: 0\n# Wait_TS: 0.000098693\n# DB: mysql\n# Is_internal: true\n# Digest: ebccd6f5d49fb0fcff4d7dc20bb3ae798d172a92ba5f6709445c980166f7e32f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_meta_history ( table_id bigint(64) NOT NULL, modify_count bigint(64) NOT NULL, count bigint(64) NOT NULL, version bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN', create_time datetime(6) NOT NULL, UNIQUE KEY table_version (table_id, version), KEY table_create_time (table_id, create_time) );"] [2024/05/06 16:36:08.184 +08:00] [INFO] [session.go:3817] ["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 16:36:08.354 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:08.207 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:08.354 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:08.207 +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 16:36:08.440 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:08.207 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:08.750 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=4.287802ms] [phyTblIDs="[66]"] [actionTypes="[8]"] [2024/05/06 16:36:08.820 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:08.834 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=67] [version=33] [2024/05/06 16:36:08.835 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=90.363801ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:08.207 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:08.935 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:08.207 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:09.242 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=67] [2024/05/06 16:36:09.251 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:09.253 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.079750395\n# Parse_time: 0\n# Compile_time: 0.011418534\n# Rewrite_time: 0.000016523\n# Optimize_time: 0\n# Wait_TS: 0.000091612\n# DB: mysql\n# Is_internal: true\n# Digest: bfb9a3ff60c3c60c054a207c0a0db06c87e29edbe94005d8d5c89fe484f4f90a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.analyze_jobs ( id BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT, update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, table_schema CHAR(64) NOT NULL DEFAULT '', table_name CHAR(64) NOT NULL DEFAULT '', partition_name CHAR(64) NOT NULL DEFAULT '', job_info TEXT NOT NULL, processed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, start_time TIMESTAMP, end_time TIMESTAMP, state ENUM('pending', 'running', 'finished', 'failed') NOT NULL, fail_reason TEXT, instance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job', process_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job', PRIMARY KEY (id), KEY (update_time) );"] [2024/05/06 16:36:09.259 +08:00] [INFO] [session.go:3817] ["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 16:36:09.379 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:09.334 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:09.379 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:09.334 +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 16:36:09.489 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:09.334 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:09.611 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=1.722865ms] [phyTblIDs="[68]"] [actionTypes="[8]"] [2024/05/06 16:36:09.669 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:09.669 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=69] [version=34] [2024/05/06 16:36:09.672 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=63.072114ms] [job="ID:69, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:09.334 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:09.730 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:69, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:09.334 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:09.830 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=69] [2024/05/06 16:36:09.830 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:09.832 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.573426385\n# Parse_time: 0\n# Compile_time: 0.001423843\n# Rewrite_time: 0.00001288\n# Optimize_time: 0\n# Wait_TS: 0.000093632\n# DB: mysql\n# Is_internal: true\n# Digest: 85d0480e8afeca7d94d07ca1a681df6c7f89f1fda753ceb6e02b51caf3714c1c\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.advisory_locks ( lock_name VARCHAR(64) NOT NULL PRIMARY KEY );"] [2024/05/06 16:36:10.008 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:36:09.9 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] [2024/05/06 16:36:10.008 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:09.9 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:10.198 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:09.9 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:10.466 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=2.732321ms] [phyTblIDs="[70]"] [actionTypes="[2097152]"] [2024/05/06 16:36:10.519 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:10.519 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=71] [version=35] [2024/05/06 16:36:10.519 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=56.812074ms] [job="ID:71, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:36:09.9 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:10.574 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:71, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:09.9 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:10.706 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=71] [2024/05/06 16:36:10.707 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:10.708 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.866320995\n# Parse_time: 0\n# Compile_time: 0.025486847\n# Rewrite_time: 0.009525725\n# Optimize_time: 0\n# Wait_TS: 0.000157951\n# DB: mysql\n# Is_internal: true\n# Digest: 812c81f344f5d0c8b8aedcb68ff1dca865b59104853273f7e66b8abff5429992\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE OR REPLACE VIEW mysql.tidb_mdl_view as ( select JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID );"] [2024/05/06 16:36:10.737 +08:00] [INFO] [session.go:3817] ["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 16:36:10.831 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:10.752 +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 16:36:10.832 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:10.752 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:10.932 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:10.752 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:11.110 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=2.643667ms] [phyTblIDs="[72]"] [actionTypes="[8]"] [2024/05/06 16:36:11.169 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:11.169 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=73] [version=36] [2024/05/06 16:36:11.169 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=62.308567ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:10.752 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:11.232 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:10.752 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:11.335 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=73] [2024/05/06 16:36:11.335 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:11.337 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.606710135\n# Parse_time: 0\n# Compile_time: 0.007393733\n# Rewrite_time: 0.000013508\n# Optimize_time: 0\n# Wait_TS: 0.000078018\n# DB: mysql\n# Is_internal: true\n# Digest: 3d2f349b1c68ee2b30e34bad8bb3838af6c40d7a26072b2d29d801d7fedbac48\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.plan_replayer_status ( sql_digest VARCHAR(128), plan_digest VARCHAR(128), origin_sql TEXT, token VARCHAR(128), update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fail_reason TEXT, instance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 16:36:11.346 +08:00] [INFO] [session.go:3817] ["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 16:36:11.399 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:11.36 +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 16:36:11.418 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:11.36 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:11.470 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:11.36 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:11.668 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=1.875469ms] [phyTblIDs="[74]"] [actionTypes="[8]"] [2024/05/06 16:36:11.719 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:11.719 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=75] [version=37] [2024/05/06 16:36:11.720 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=54.208968ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:11.36 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:11.774 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:11.36 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:11.908 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=75] [2024/05/06 16:36:11.908 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:11.910 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.566242518\n# Parse_time: 0\n# Compile_time: 0.002536826\n# Rewrite_time: 0.000013072\n# Optimize_time: 0\n# Wait_TS: 0.000087709\n# DB: mysql\n# Is_internal: true\n# Digest: 8d9754df14c826803fed84f1ae3eb8fc9729e76a793b6be6bf25967f1929d039\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.plan_replayer_task ( sql_digest VARCHAR(128) NOT NULL, plan_digest VARCHAR(128) NOT NULL, update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 16:36:11.920 +08:00] [INFO] [session.go:3817] ["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 16:36:12.043 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:11.959 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:12.043 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:11.959 +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 16:36:12.163 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:11.959 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:12.342 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=2.127494ms] [phyTblIDs="[76]"] [actionTypes="[8]"] [2024/05/06 16:36:12.420 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:12.420 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=77] [version=38] [2024/05/06 16:36:12.422 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=38] ["take time"=82.72633ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:11.959 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:12.478 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:11.959 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:12.613 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=77] [2024/05/06 16:36:12.613 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:12.615 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.698219032\n# Parse_time: 0\n# Compile_time: 0.003495396\n# Rewrite_time: 0.000013332\n# Optimize_time: 0\n# Wait_TS: 0.000079068\n# DB: mysql\n# Is_internal: true\n# Digest: b57fdc4b14aba5f29d915d04e5e4557f60a758fd65ec571368527cd45c6ef82a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_table_locked( table_id bigint(64) NOT NULL, modify_count bigint(64) NOT NULL DEFAULT 0, count bigint(64) NOT NULL DEFAULT 0, version bigint(64) UNSIGNED NOT NULL DEFAULT 0, PRIMARY KEY (table_id));"] [2024/05/06 16:36:12.648 +08:00] [INFO] [session.go:3817] ["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 16:36:12.799 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:12.674 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:12.799 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:12.674 +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 16:36:13.020 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 55, tp general"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:12.674 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:13.888 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=5.050133ms] [phyTblIDs="[78]"] [actionTypes="[8]"] [2024/05/06 16:36:13.920 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:13.920 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=79] [version=39] [2024/05/06 16:36:13.925 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=39] ["take time"=43.31291ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:12.674 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:14.063 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 55, tp general"] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:12.674 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:14.380 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=79] [2024/05/06 16:36:14.381 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:14.387 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.7443314\n# Parse_time: 0\n# Compile_time: 0.005614625\n# Rewrite_time: 0.000013203\n# Optimize_time: 0\n# Wait_TS: 0.000103364\n# DB: mysql\n# Is_internal: true\n# Digest: a30bd3c3a49070c554e65922e84c6b76e646842e3925a859fcde73941a7cb423\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status ( table_id bigint(64) PRIMARY KEY, parent_table_id bigint(64), table_statistics text DEFAULT NULL, last_job_id varchar(64) DEFAULT NULL, last_job_start_time timestamp NULL DEFAULT NULL, last_job_finish_time timestamp NULL DEFAULT NULL, last_job_ttl_expire timestamp NULL DEFAULT NULL, last_job_summary text DEFAULT NULL, current_job_id varchar(64) DEFAULT NULL, current_job_owner_id varchar(64) DEFAULT NULL, current_job_owner_addr varchar(256) DEFAULT NULL, current_job_owner_hb_time timestamp, current_job_start_time timestamp NULL DEFAULT NULL, current_job_ttl_expire timestamp NULL DEFAULT NULL, current_job_state text DEFAULT NULL, current_job_status varchar(64) DEFAULT NULL, current_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 16:36:15.228 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572916269154304\n# Query_time: 0.551687734\n# Parse_time: 0\n# Compile_time: 0.260779899\n# Rewrite_time: 0.007648501\n# Optimize_time: 0\n# Wait_TS: 0.00009963\n# DB: mysql\n# Is_internal: true\n# Digest: ca2019e08a331284bd0c64be228a0537fcf9f5983e95d94b67ef42dcb8f54385\n# Num_cop_tasks: 0\n# Mem_max: 353081\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: true\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('oAPoMAkyN18xCTAJMAlOL0EJMAl0aW1lOjI0OS4zbXMsIGxvb3BzOjEsIHByZXBhcmU6IHt0b3RhbDogMzYBIExhdXRvX2lkX2FsbG9jYXRvcjogewUMZF9jbnQ6IDEsIEdldDp7bnVtX3JwYzo0LCB0AT8AXwVmsDQyNC4ywrVzfSwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjQ1McK1cywgZ2V0XxEiEHM6MjEuCRcJEww6NTU0DREcc2xvd2VzdF8RQQV0BCB7BXNoOiAwLjAwMHMsIHJlZ2lvbl9pZDogMiwgc3RvAdcFBwgxLCAZjBhwcmltYXJ51kQADWQYbnVtOjEsIAXODF9rZXklSwkOmGJ5dGU6MzJ9fX0sIGluc2VydDoyMTMuM21zCTk2LjggS0IJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('rAPwWwqnAwoISW5zZXJ0XzE4AUABUgNOL0FaFXRpbWU6MjQ5LjNtcywgbG9vcHM6MWLrAnByZXBhcmU6IHt0b3RhbDogMzZtcywgYXV0b19pZF9hbGxvY2F0b3I6IHthAQxkX2NudDogMSwgR2V0OntudW1fcnBjOjQsIHQBPwBfBWewNDI0LjLCtXN9LCBjb21taXRfdHhuOiB7cHJld3JpdGU6NDUxwrVzLCBnZXRfESIQczoyMS4JFwkTDDo1NTQNERxzbG93ZXN0XxFBBXQEIHsFc2g6IDAuMDAwcywgcmVnaW9uX2lkOiAyLCBzdG8B1wUHCDEsIBmMGHByaW1hcnnWRAANZBhudW06MSwgBc4QX2tleXMZDqhieXRlOjMyfX19LCBpbnNlcnQ6MjEzLjNtc3C5hgZ4////////////ARgB')\nINSERT HIGH_PRIORITY INTO mysql.GLOBAL_VARIABLES VALUES (\"innodb_ft_user_stopword_table\", \"\"), (\"tidb_window_concurrency\", \"-1\"), (\"innodb_online_alter_log_max_size\", \"134217728\"), (\"tidb_enable_concurrent_ddl\", \"ON\"), (\"tidb_ignore_prepared_cache_close_stmt\", \"OFF\"), (\"log_timestamps\", \"\"), (\"tidb_evolve_plan_task_end_time\", \"23:59 +0000\"), (\"tidb_capture_plan_baselines\", \"OFF\"), (\"default_week_format\", \"0\"), (\"innodb_file_format_max\", \"Antelope\"), (\"keep_files_on_create\", \"OFF\"), (\"validate_password.dictionary\", \"\"), (\"innodb_autoextend_increment\", \"64\"), (\"rpl_stop_slave_timeout\", \"31536000\"), (\"log_syslog_include_pid\", \"\"), (\"tidb_ddl_error_count_limit\", \"512\"), (\"log_backward_compatible_user_definitions\", \"\"), (\"tidb_store_limit\", \"0\"), (\"ndb_eventbuffer_max_alloc\", \"\"), (\"rpl_semi_sync_master_wait_no_slave\", \"ON\"), (\"rpl_semi_sync_master_wait_point\", \"AFTER_SYNC\"), (\"big_tables\", \"OFF\"), (\"innodb_buffer_pool_dump_at_shutdown\", \"0\"), (\"tidb_restricted_read_only\", \"OFF\"), (\"auto_increment_increment\", \"1\"), (\"tidb_opt_force_inline_cte\", \"OFF\"), (\"sql_mode\", \"ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION\"), (\"tidb_tmp_table_max_size\", \"67108864\"), (\"optimizer_prune_level\", \"1\"), (\"ndb_log_empty_epochs\", \"\"), (\"tidb_enable_external_ts_read\", \"OFF\"), (\"ndb_index_stat_enable\", \"\"), (\"innodb_checksum_algorithm\", \"innodb\"), (\"innodb_sync_spin_loops\", \"30\"), (\"character_set_client\", \"utf8mb4\"), (\"sql_buffer_result\", \"OFF\"), (\"tidb_ddl_reorg_batch_size\", \"256\"), (\"innodb_compression_pad_pct_max\", \"50\"), (\"innodb_status_output_locks\", \"OFF\"), (\"innodb_read_ahead_threshold\", \"56\"), (\"slave_compressed_protocol\", \"OFF\"), (\"delay_key_write\", \"ON\"), (\"slave_pending_jobs_size_max\", \"16777216\"), (\"innodb_undo_logs\", \"128\"), (\"sync_relay_log\", \"10000\"), (\"range_alloc_block_size\", \"4096\"), (\"tidb_allow_mpp\", \"ON\"), (\"query_cache_type\", \"OFF\"), (\"myisam_stats_method\", \"nulls_unequal\"), (\"tidb_memory_usage_alarm_keep_record_num\", \"5\"), (\"tidb_redact_log\", \"OFF\"), (\"rpl_semi_sync_master_enabled\", \"OFF\"), (\"default_tmp_storage_engine\", \"InnoDB\"), (\"tidb_default_string_match_selectivity\", \"0.8\"), (\"tidb_constraint_check_in_place\", \"OFF\"), (\"tidb_evolve_plan_task_max_time\", \"600\"), (\"tidb_enable_batch_dml\", \"OFF\"), (\"tidb_gc_life_time\", \"10m0s\"), (\"slave_exec_mode\", \"STRICT\"), (\"key_buffer_size\", \"8388608\"), (\"innodb_flush_log_at_timeout\", \"1\"), (\"foreign_key_checks\", \"OFF\"), (\"session_track_gtids\", \"OFF\"), (\"validate_password.number_count\", \"1\"), (\"innodb_rollback_segments\", \"128\"), (\"optimizer_trace_limit\", \"1\"), (\"tidb_opt_concurrency_factor\", \"3\"), (\"character_set_database\", \"utf8mb4\"), (\"tidb_index_join_batch_size\", \"25000\"), (\"sql_select_limit\", \"18446744073709551615\"), (\"innodb_support_xa\", \"1\"), (\"innodb_adaptive_hash_index\", \"ON\"), (\"rpl_semi_sync_slave_enabled\", \"OFF\"), (\"password_reuse_interval\", \"0\"), (\"innodb_adaptive_flushing_lwm\", \"10\"), (\"log_slow_slave_statements\", \"OFF\"), (\"tidb_enable_extended_stats\", \"OFF\"), (\"tidb_sysdate_is_now\", \"OFF\"), (\"innodb_ft_num_word_optimize\", \"2000\"), (\"tidb_opt_agg_push_down\", \"OFF\"), (\"password_history\", \"0\"), (\"init_slave\", \"\"), (\"tidb_opt_join_reorder_threshold\", \"0\"), (\"innodb_flush_neighbors\", \"1\"), (\"tidb_enable_tiflash_read_for_write_stmt\", \"OFF\"), (\"tidb_skip_isolation_level_check\", \"OFF\"), (\"innodb_ft_result_cache_limit\", \"2000000000\"), (\"tidb_max_auto_analyze_time\", \"43200\"), (\"tidb_max_tiflash_threads\", \"-1\"), (\"tidb_enable_noop_functions\", \"OFF\"), (\"innodb_thread_sleep_delay\", \"10000\"), (\"tidb_opt_correlation_exp_factor\", \"1\"), (\"tidb_init_chunk_size\", \"32\"), (\"tidb_enable_auto_analyze\", \"OFF\"), (\"tidb_opt_advanced_join_hint\", \"OFF\"), (\"tidb_persist_analyze_options\", \"ON\"), (\"character_set_results\", \"utf8mb4\"), (\"tidb_build_stats_concurrency\", \"4\"), (\"myisam_use_mmap\", \"OFF\"), (\"tidb_stmt_summary_max_stmt_count\", \"3000\"), (\"tidb_enable_index_merge_join\", \"OFF\"), (\"tidb_analyze_partition_concurrency\", \"1\"), (\"tidb_source_id\", \"1\"), (\"innodb_cmp_per_index_enabled\", \"OFF\"), (\"tidb_enable_new_c(len:21519);"] [2024/05/06 16:36:15.618 +08:00] [INFO] [bootstrap.go:529] ["bootstrap successful"] ["take time"=31.549494881s] [2024/05/06 16:36:15.642 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:36:15.642 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 64, tp add index"] ["take time"=21.636µs] [2024/05/06 16:36:15.642 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 65, tp add index"] ["take time"=27.388µs] [2024/05/06 16:36:15.643 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 56, tp add index"] ["take time"=17.702µs] [2024/05/06 16:36:15.643 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 57, tp add index"] ["take time"=15.916µs] [2024/05/06 16:36:15.643 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 58, tp add index"] ["take time"=14.508µs] [2024/05/06 16:36:15.643 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 59, tp add index"] ["take time"=17.767µs] [2024/05/06 16:36:15.643 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 60, tp add index"] ["take time"=19.984µs] [2024/05/06 16:36:15.643 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 61, tp add index"] ["take time"=15.66µs] [2024/05/06 16:36:15.643 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 62, tp add index"] ["take time"=15.957µs] [2024/05/06 16:36:15.643 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 63, tp add index"] ["take time"=15.844µs] [2024/05/06 16:36:15.643 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:36:15.643 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 55, tp general"] ["take time"=14.632µs] [2024/05/06 16:36:15.643 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 53, tp general"] ["take time"=5.862µs] [2024/05/06 16:36:15.645 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 54, tp add index"] ["take time"=1.611783ms] [2024/05/06 16:36:15.646 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:36:15.646 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:36:15.666 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=48805229-4eaf-4afd-88a9-7154e5d2b974] ["take time"=23.714184ms] [2024/05/06 16:36:15.666 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=48805229-4eaf-4afd-88a9-7154e5d2b974] [2024/05/06 16:36:15.668 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:36:15.668 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:36:15.669 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:36:15.669 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:36:15.669 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:36:15.670 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=27.766074ms] [2024/05/06 16:36:15.670 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=a996a5ec-29a9-4879-bf18-1af962a9da23] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 16:36:15.685 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:36:15.835 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=39] ["start time"=163.005449ms] [2024/05/06 16:36:15.841 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:36:15.841 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=b16ee4fc-819b-4335-937a-ac628bfcab29] [runWorker=true] [2024/05/06 16:36:15.842 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:36:15.842 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:36:15.843 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 66, tp general"] [2024/05/06 16:36:15.844 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 67, tp add index"] [2024/05/06 16:36:15.847 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:36:15.848 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:36:15.848 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:36:15.849 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:36:15.894 +08:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 16:36:16.300 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=39] [cur_db=test] [sql="drop table if exists t1,t2"] [user=] [2024/05/06 16:36:16.303 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=39] [cur_db=test] [sql="create table t1 (id int primary key, v int)"] [user=] [2024/05/06 16:36:16.348 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:16.317 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:16.348 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:16.317 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t1 (id int primary key, v int)"] [2024/05/06 16:36:16.977 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 68, tp general"] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:16.317 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:17.051 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=1.575262ms] [phyTblIDs="[80]"] [actionTypes="[8]"] [2024/05/06 16:36:17.104 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=81] [version=40] [2024/05/06 16:36:17.106 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=40] ["take time"=57.360252ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:16.317 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:17.192 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 68, tp general"] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:16.317 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:17.302 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=81] [2024/05/06 16:36:17.302 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:17.304 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Conn_ID: 7\n# Query_time: 1.00204373\n# Parse_time: 0.000950037\n# Compile_time: 0.000995779\n# Rewrite_time: 0.000012096\n# Optimize_time: 0.000479198\n# Wait_TS: 0.000076122\n# DB: test\n# Is_internal: false\n# Digest: 58adff4e53b4dc3a2102ff826681d219bcf79edb1d10a7d7eddd3da56fcd9ce6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\ncreate table t1 (id int primary key, v int);"] [2024/05/06 16:36:17.314 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=40] [cur_db=test] [sql="create table t2 (id int)"] [user=] [2024/05/06 16:36:17.439 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:17.329 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:17.439 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:17.329 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t2 (id int)"] [2024/05/06 16:36:17.622 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 68, tp general"] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:17.329 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:17.721 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=1.355926ms] [phyTblIDs="[82]"] [actionTypes="[8]"] [2024/05/06 16:36:17.749 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=83] [version=41] [2024/05/06 16:36:17.751 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=41] ["take time"=33.107626ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:17.329 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:17.806 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 68, tp general"] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:17.329 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:17.848 +08:00] [INFO] [info.go:1114] [SetTiFlashGroupConfig] [2024/05/06 16:36:17.895 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=83] [2024/05/06 16:36:17.895 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:17.897 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Conn_ID: 7\n# Query_time: 0.584853533\n# Parse_time: 0.000594579\n# Compile_time: 0.00087862\n# Rewrite_time: 0.000013022\n# Optimize_time: 0.000479198\n# Wait_TS: 0.000086811\n# DB: test\n# Is_internal: false\n# Digest: 022ec70336ed50328c0e53dd0419219aeef85a72279ec430eea3ccf10d0811fe\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\ncreate table t2 (id int);"] [2024/05/06 16:36:17.899 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=41] [cur_db=test] [sql="create temporary table tmp (id int)"] [user=] [2024/05/06 16:36:17.961 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=41] [cur_db=test] [sql="alter table t2 add column(c1 int)"] [user=] [2024/05/06 16:36:18.010 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:85, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:36:17.986 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:18.011 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:85, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:36:17.986 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="alter table t2 add column(c1 int)"] [2024/05/06 16:36:18.094 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 68, tp general"] [job="ID:85, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:17.986 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:18.096 +08:00] [INFO] [column.go:133] ["[ddl] run add column job"] [job="ID:85, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:36:17.986 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [columnInfo="{\"id\":2,\"name\":{\"O\":\"c1\",\"L\":\"c1\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 16:36:18.140 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=1.63437ms] [phyTblIDs="[82]"] [actionTypes="[32]"] [2024/05/06 16:36:18.257 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=42] [2024/05/06 16:36:18.260 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=42] ["take time"=125.842741ms] [job="ID:85, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:36:17.986 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:18.414 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 68, tp general"] [job="ID:85, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:17.986 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:18.466 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=1.873346ms] [phyTblIDs="[82]"] [actionTypes="[32]"] [2024/05/06 16:36:18.499 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=43] [2024/05/06 16:36:18.500 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=43] ["take time"=37.003114ms] [job="ID:85, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:36:17.986 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:18.569 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 68, tp general"] [job="ID:85, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:17.986 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:18.640 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=1.642656ms] [phyTblIDs="[82]"] [actionTypes="[32]"] [2024/05/06 16:36:18.700 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=44] [2024/05/06 16:36:18.703 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=44] ["take time"=66.035144ms] [job="ID:85, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:36:17.986 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:18.751 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 68, tp general"] [job="ID:85, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:17.986 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:18.921 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=7.27284ms] [phyTblIDs="[82]"] [actionTypes="[32]"] [2024/05/06 16:36:19.001 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=45] [2024/05/06 16:36:19.003 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=45] ["take time"=108.716075ms] [job="ID:85, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:36:17.986 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:19.175 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 68, tp general"] [job="ID:85, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:17.986 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:19.307 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=85] [2024/05/06 16:36:19.307 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:19.310 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Conn_ID: 9\n# Query_time: 1.350175767\n# Parse_time: 0.00078572\n# Compile_time: 0.001177491\n# Rewrite_time: 0.00001854\n# Optimize_time: 0.000535335\n# Wait_TS: 0.000141606\n# DB: test\n# Is_internal: false\n# Digest: 177e330fc6e13ff4b1b9f51ae04b524c419feabb143557fdc6a5807ebb58aed3\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\nalter table t2 add column(c1 int);"] [2024/05/06 16:36:19.317 +08:00] [WARN] [2pc.go:1900] ["schemaLeaseChecker is not set for this transaction"] [sessionID=8] [startTS=449572917559951360] [checkTS=449572917560475648] [2024/05/06 16:36:19.361 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:36:19.362 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 74, tp add index"] ["take time"=23.262µs] [2024/05/06 16:36:19.362 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 75, tp add index"] ["take time"=22.724µs] [2024/05/06 16:36:19.362 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 76, tp add index"] ["take time"=12.81µs] [2024/05/06 16:36:19.363 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 77, tp add index"] ["take time"=8.574µs] [2024/05/06 16:36:19.363 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 78, tp add index"] ["take time"=6.784µs] [2024/05/06 16:36:19.364 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 69, tp add index"] ["take time"=22.115µs] [2024/05/06 16:36:19.364 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 70, tp add index"] ["take time"=23.082µs] [2024/05/06 16:36:19.364 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 71, tp add index"] ["take time"=26.628µs] [2024/05/06 16:36:19.365 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 72, tp add index"] ["take time"=19.283µs] [2024/05/06 16:36:19.365 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 73, tp add index"] ["take time"=20.072µs] [2024/05/06 16:36:19.365 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:36:19.366 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 68, tp general"] ["take time"=7.913µs] [2024/05/06 16:36:19.366 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 66, tp general"] ["take time"=2.848µs] [2024/05/06 16:36:19.366 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 67, tp add index"] ["take time"=2.673µs] [2024/05/06 16:36:19.366 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:36:19.366 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:36:19.368 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=b16ee4fc-819b-4335-937a-ac628bfcab29] ["take time"=23.990809ms] [2024/05/06 16:36:19.368 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=b16ee4fc-819b-4335-937a-ac628bfcab29] [2024/05/06 16:36:19.369 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:36:19.369 +08:00] [INFO] [domain.go:1525] ["globalBindHandleWorkerLoop exited."] [2024/05/06 16:36:19.369 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:36:19.369 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:36:19.369 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:36:19.369 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:36:19.369 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:36:19.369 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:36:19.369 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:36:19.369 +08:00] [INFO] [domain.go:1394] ["loadPrivilegeInLoop exited."] [2024/05/06 16:36:19.369 +08:00] [INFO] [domain.go:1444] ["LoadSysVarCacheLoop exited."] [2024/05/06 16:36:19.369 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:36:19.370 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:36:19.370 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:36:19.369 +08:00] [INFO] [domain.go:1748] ["dumpFileGcChecker exited."] [2024/05/06 16:36:19.370 +08:00] [INFO] [domain.go:1569] ["handleEvolvePlanTasksLoop exited."] [2024/05/06 16:36:19.376 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=31.849838ms] [2024/05/06 16:36:19.380 +08:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 16:36:19.381 +08:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 16:36:19.381 +08:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 16:36:19.382 +08:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 16:36:19.382 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 16:36:19.382 +08:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestTxnContextInRC (35.46s) === RUN TestTxnContextInOptimisticRetry [2024/05/06 16:36:19.403 +08:00] [INFO] [region_cache.go:2484] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 16:36:19.407 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:36:19.407 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:36:19.417 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:36:19.417 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:36:19.424 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:36:19.427 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=37669506-02a2-4b71-a735-1d2f917eb245] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 16:36:19.428 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).Init\n\tdomain/domain.go:1074\ngithub.com/pingcap/tidb/session.(*domainMap).Get.func1\n\tsession/tidb.go:90\ngithub.com/pingcap/tidb/util.RunWithRetry\n\tutil/misc.go:69\ngithub.com/pingcap/tidb/session.(*domainMap).Get\n\tsession/tidb.go:76\ngithub.com/pingcap/tidb/session.createSessionWithOpt\n\tsession/session.go:3520\ngithub.com/pingcap/tidb/session.createSession\n\tsession/session.go:3516\ngithub.com/pingcap/tidb/session.runInBootstrapSession\n\tsession/session.go:3480\ngithub.com/pingcap/tidb/session.BootstrapSession\n\tsession/session.go:3309\ngithub.com/pingcap/tidb/testkit.bootstrap\n\ttestkit/mockstore.go:84\ngithub.com/pingcap/tidb/testkit.CreateMockStoreAndDomain\n\ttestkit/mockstore.go:69\nsessiontxn/sessiontxn_test_test.setupTxnContextTest\n\tsessiontxn/txn_context_test.go:61\nsessiontxn/sessiontxn_test_test.TestTxnContextInOptimisticRetry\n\tsessiontxn/txn_context_test.go:362\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1446\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:36:19.469 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=40.731606ms] [2024/05/06 16:36:19.475 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:36:19.476 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=82a7a1e7-3c52-46a8-a65b-00787cedf380] [runWorker=true] [2024/05/06 16:36:19.477 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:36:19.477 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:36:19.478 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 79, tp general"] [2024/05/06 16:36:19.478 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 80, tp add index"] [2024/05/06 16:36:19.479 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:36:19.480 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:36:19.480 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:36:19.481 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:36:19.488 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 16:36:19.530 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:19.515 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:19.531 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:36:19.515 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 16:36:19.732 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:36:19.982 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:36:20.232 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:36:20.486 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:36:20.630 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:19.515 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:20.741 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=59.49998ms] [2024/05/06 16:36:20.779 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:36:20.832 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:20.832 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=3] [version=1] [2024/05/06 16:36:20.832 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=151.237609ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:36:19.515 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:20.885 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:19.515 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:20.928 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=3] [2024/05/06 16:36:20.928 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:20.930 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.442475565\n# Parse_time: 0\n# Compile_time: 0.000725346\n# Rewrite_time: 0.000012463\n# Optimize_time: 0\n# Wait_TS: 0.000085129\n# DB: mysql\n# Is_internal: true\n# Digest: 0a22979ad136f741465cf206b13e5717b9758dda34f7cae5a7a925f91711d6a0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse mysql;\nCREATE DATABASE IF NOT EXISTS test;"] [2024/05/06 16:36:20.932 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 16:36:21.110 +08:00] [INFO] [session.go:3817] ["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 16:36:21.431 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:21.144 +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 16:36:21.435 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:21.144 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:21.480 +08:00] [INFO] [info.go:1114] [SetTiFlashGroupConfig] [2024/05/06 16:36:21.516 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:21.144 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:22.182 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=25.189229ms] [phyTblIDs="[4]"] [actionTypes="[8]"] [2024/05/06 16:36:22.238 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:22.238 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=5] [version=2] [2024/05/06 16:36:22.240 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=84.815383ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:21.144 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:22.314 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:21.144 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:22.653 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=5] [2024/05/06 16:36:22.654 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:22.656 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.643008775\n# Parse_time: 0\n# Compile_time: 0.097501812\n# Rewrite_time: 0.000015148\n# Optimize_time: 0\n# Wait_TS: 0.000090619\n# DB: mysql\n# Is_internal: true\n# Digest: 14c6b489558060bdbede877927034270db5af07c6621aa28f87eeaec8727e925\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.user ( Host CHAR(255), User CHAR(32), authentication_string TEXT, plugin CHAR(64), Select_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Insert_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Update_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Delete_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Process_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Grant_priv ENUM('N','Y') NOT NULL DEFAULT 'N', References_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_db_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Super_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Index_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_user_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Event_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_slave_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_client_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Trigger_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Account_locked ENUM('N','Y') NOT NULL DEFAULT 'N', Shutdown_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Reload_priv ENUM('N','Y') NOT NULL DEFAULT 'N', FILE_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Config_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N', Password_reuse_history smallint unsigned DEFAULT NULL, Password_reuse_time smallint unsigned DEFAULT NULL, User_attributes json, Token_issuer VARCHAR(255), Password_expired ENUM('N','Y') NOT NULL DEFAULT 'N', Password_last_changed TIMESTAMP DEFAULT CURRENT_TIMESTAMP(), Password_lifetime SMALLINT UNSIGNED DEFAULT NULL, PRIMARY KEY (Host, User));"] [2024/05/06 16:36:22.663 +08:00] [INFO] [session.go:3817] ["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 16:36:22.723 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:22.677 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:22.723 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:22.677 +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 16:36:22.828 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:22.677 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:22.927 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=2.150592ms] [phyTblIDs="[6]"] [actionTypes="[8]"] [2024/05/06 16:36:22.982 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:22.982 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=7] [version=3] [2024/05/06 16:36:22.986 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=61.800642ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:22.677 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:23.121 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:22.677 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:23.237 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=7] [2024/05/06 16:36:23.256 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:23.258 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.597363509\n# Parse_time: 0\n# Compile_time: 0.002974313\n# Rewrite_time: 0.000013647\n# Optimize_time: 0\n# Wait_TS: 0.0000897\n# DB: mysql\n# Is_internal: true\n# Digest: eeb59bc0d98f65a2a5aef8eaa99596260e746b00eed183baf856558ef03533ac\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.password_history ( Host char(255) NOT NULL DEFAULT '', User char(32) NOT NULL DEFAULT '', Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6), Password text, PRIMARY KEY (Host,User,Password_timestamp ) ) COMMENT='Password history for user accounts' ;"] [2024/05/06 16:36:23.262 +08:00] [INFO] [session.go:3817] ["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 16:36:23.321 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:23.279 +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 16:36:23.323 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:23.279 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:23.388 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:23.279 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:23.528 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=1.90594ms] [phyTblIDs="[8]"] [actionTypes="[8]"] [2024/05/06 16:36:23.581 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:23.581 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=9] [version=4] [2024/05/06 16:36:23.583 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=56.990468ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:23.279 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:23.655 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:23.279 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:23.804 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=9] [2024/05/06 16:36:23.808 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:23.809 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.548832775\n# Parse_time: 0\n# Compile_time: 0.002050882\n# Rewrite_time: 0.000012935\n# Optimize_time: 0\n# Wait_TS: 0.000093875\n# DB: mysql\n# Is_internal: true\n# Digest: 3bc9b46cf9e300a8d240915cf47216424544ed9f992c07151fba2e2cadc41632\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE 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 16:36:23.829 +08:00] [INFO] [session.go:3817] ["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),\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 16:36:23.963 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:23.848 +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),\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 16:36:23.978 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:23.848 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:24.054 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:23.848 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:24.355 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=6.033327ms] [phyTblIDs="[10]"] [actionTypes="[8]"] [2024/05/06 16:36:24.381 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:24.381 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=11] [version=5] [2024/05/06 16:36:24.382 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=34.34513ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:23.848 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:24.448 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:23.848 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:24.652 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=11] [2024/05/06 16:36:24.653 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:24.657 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.83573375\n# Parse_time: 0\n# Compile_time: 0.008400057\n# Rewrite_time: 0.000013826\n# Optimize_time: 0\n# Wait_TS: 0.000431722\n# DB: mysql\n# Is_internal: true\n# Digest: aeaf612801484f0311f850d36f60f29e6d904828682c1f3bb7307dff25ca3a15\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.db ( Host CHAR(255), DB CHAR(64), User CHAR(32), Select_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Insert_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Update_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Delete_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Grant_priv ENUM('N','Y') NOT NULL DEFAULT 'N', References_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Index_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Event_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Trigger_priv ENUM('N','Y') NOT NULL DEFAULT 'N', PRIMARY KEY (Host, DB, User));"] [2024/05/06 16:36:24.674 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:36:24.853 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:24.688 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:24.853 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:24.688 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:36:24.980 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:24.688 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:25.180 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=3.136468ms] [phyTblIDs="[12]"] [actionTypes="[8]"] [2024/05/06 16:36:25.231 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:25.231 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=13] [version=6] [2024/05/06 16:36:25.231 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=55.132478ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:24.688 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:25.296 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:24.688 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:25.547 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=13] [2024/05/06 16:36:25.551 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:25.555 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.885016538\n# Parse_time: 0\n# Compile_time: 0.003429064\n# Rewrite_time: 0.000021932\n# Optimize_time: 0\n# Wait_TS: 0.000096082\n# DB: mysql\n# Is_internal: true\n# Digest: e8b37dad6cc7f05ee1f0be61455667495826928a93ddd09b94e02fbaed113955\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tables_priv ( Host CHAR(255), DB CHAR(64), User CHAR(32), Table_name CHAR(64), Grantor CHAR(77), Timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, Table_priv SET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'), Column_priv SET('Select','Insert','Update','References'), PRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 16:36:25.582 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:36:25.729 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:25.6 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:25.729 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:25.6 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:36:25.834 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:25.6 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:25.985 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=4.430414ms] [phyTblIDs="[14]"] [actionTypes="[8]"] [2024/05/06 16:36:26.032 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:26.032 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=15] [version=7] [2024/05/06 16:36:26.032 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=52.387405ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:25.6 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:26.085 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:25.6 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:26.175 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=15] [2024/05/06 16:36:26.175 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:26.177 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.609223987\n# Parse_time: 0\n# Compile_time: 0.01422595\n# Rewrite_time: 0.000013765\n# Optimize_time: 0\n# Wait_TS: 0.000107157\n# DB: mysql\n# Is_internal: true\n# Digest: a19edbb3caff8cc57619278ab6eb5f791d7a821432309abe7184d0a7bca66b4d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.columns_priv( Host CHAR(255), DB CHAR(64), User CHAR(32), Table_name CHAR(64), Column_name CHAR(64), Timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, Column_priv SET('Select','Insert','Update','References'), PRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 16:36:26.181 +08:00] [INFO] [session.go:3817] ["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(1024) DEFAULT NULL);"] [user=] [2024/05/06 16:36:26.235 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:26.2 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:26.235 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:26.2 +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(1024) DEFAULT NULL);"] [2024/05/06 16:36:26.299 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:26.2 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:26.378 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=1.725789ms] [phyTblIDs="[16]"] [actionTypes="[8]"] [2024/05/06 16:36:26.434 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:26.434 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=17] [version=8] [2024/05/06 16:36:26.436 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=60.578259ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:26.2 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:26.517 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:26.2 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:26.664 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=17] [2024/05/06 16:36:26.664 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:26.666 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.486972328\n# Parse_time: 0\n# Compile_time: 0.001741323\n# Rewrite_time: 0.000011902\n# Optimize_time: 0\n# Wait_TS: 0.00009171\n# DB: mysql\n# Is_internal: true\n# Digest: 55c1ea537145da60f32339dc7a3b69a3859f3f428fbae4e4023eb71dca836f47\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES( VARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY, VARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [2024/05/06 16:36:26.677 +08:00] [INFO] [session.go:3817] ["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 16:36:26.728 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:26.691 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:26.728 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:26.691 +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 16:36:26.884 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:26.691 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:27.006 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=2.178611ms] [phyTblIDs="[18]"] [actionTypes="[8]"] [2024/05/06 16:36:27.036 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:27.036 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=19] [version=9] [2024/05/06 16:36:27.038 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=34.883975ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:26.691 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:27.093 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:26.691 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:27.159 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=19] [2024/05/06 16:36:27.159 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:27.161 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.491877071\n# Parse_time: 0\n# Compile_time: 0.007538297\n# Rewrite_time: 0.000011902\n# Optimize_time: 0\n# Wait_TS: 0.000174611\n# DB: mysql\n# Is_internal: true\n# Digest: 0cc4a9cf54472ccff7c4fb8d7c6e34e6bd96af08b450ad4c9677473f1f517cf2\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tidb( VARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY, VARIABLE_VALUE VARCHAR(1024) DEFAULT NULL, COMMENT VARCHAR(1024));"] [2024/05/06 16:36:27.172 +08:00] [INFO] [session.go:3817] ["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 16:36:27.285 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:27.189 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:27.285 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:27.189 +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 16:36:27.405 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:27.189 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:27.553 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=2.510382ms] [phyTblIDs="[20]"] [actionTypes="[8]"] [2024/05/06 16:36:27.581 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:27.581 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=21] [version=10] [2024/05/06 16:36:27.582 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=32.414665ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:27.189 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:27.642 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:27.189 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:27.725 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=21] [2024/05/06 16:36:27.726 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:27.728 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.561158354\n# Parse_time: 0\n# Compile_time: 0.005738609\n# Rewrite_time: 0.000012116\n# Optimize_time: 0\n# Wait_TS: 0.000085766\n# DB: mysql\n# Is_internal: true\n# Digest: ca851971407336dad93908a9f88f01d828a4e18f332111987f4a7675bced7ea4\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.help_topic ( help_topic_id INT(10) UNSIGNED NOT NULL, name CHAR(64) NOT NULL, help_category_id SMALLINT(5) UNSIGNED NOT NULL, description TEXT NOT NULL, example TEXT NOT NULL, url TEXT NOT NULL, PRIMARY KEY (help_topic_id) clustered, UNIQUE KEY name (name) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 16:36:27.756 +08:00] [INFO] [session.go:3817] ["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 16:36:27.836 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:27.787 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:27.836 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:27.787 +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 16:36:27.921 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:27.787 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:28.067 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=2.53113ms] [phyTblIDs="[22]"] [actionTypes="[8]"] [2024/05/06 16:36:28.131 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:28.131 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=23] [version=11] [2024/05/06 16:36:28.131 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=68.259755ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:27.787 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:28.205 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:27.787 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:28.338 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=23] [2024/05/06 16:36:28.339 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:28.340 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.588851413\n# Parse_time: 0\n# Compile_time: 0.004670503\n# Rewrite_time: 0.000011113\n# Optimize_time: 0\n# Wait_TS: 0.000092826\n# DB: mysql\n# Is_internal: true\n# Digest: db16a74bd407cb00f071eafe96456094f48fc00e802128fc486ef4847b8910b0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_meta ( version BIGINT(64) UNSIGNED NOT NULL, table_id BIGINT(64) NOT NULL, modify_count BIGINT(64) NOT NULL DEFAULT 0, count BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, snapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, INDEX idx_ver(version), UNIQUE INDEX tbl(table_id) );"] [2024/05/06 16:36:28.405 +08:00] [INFO] [session.go:3817] ["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 16:36:28.408 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [2024/05/06 16:36:28.596 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:28.451 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:28.596 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:28.451 +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 16:36:28.715 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:28.451 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:28.932 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=4.179634ms] [phyTblIDs="[24]"] [actionTypes="[8]"] [2024/05/06 16:36:28.986 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:28.986 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=25] [version=12] [2024/05/06 16:36:28.988 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=61.419024ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:28.451 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:29.065 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:28.451 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:29.170 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=25] [2024/05/06 16:36:29.170 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:29.172 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.773040603\n# Parse_time: 0\n# Compile_time: 0.006389962\n# Rewrite_time: 0.000027287\n# Optimize_time: 0\n# Wait_TS: 0.000167739\n# DB: mysql\n# Is_internal: true\n# Digest: 7780c45a0aac5f123ac85a7e601e79c5d7779e7c09a19953908e547605ed45d2\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_histograms ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, distinct_count BIGINT(64) NOT NULL, null_count BIGINT(64) NOT NULL DEFAULT 0, tot_col_size BIGINT(64) NOT NULL DEFAULT 0, modify_count BIGINT(64) NOT NULL DEFAULT 0, version BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, cm_sketch BLOB(6291456), stats_ver BIGINT(64) NOT NULL DEFAULT 0, flag BIGINT(64) NOT NULL DEFAULT 0, correlation DOUBLE NOT NULL DEFAULT 0, last_analyze_pos LONGBLOB DEFAULT NULL, UNIQUE INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:36:29.180 +08:00] [INFO] [session.go:3817] ["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 16:36:29.266 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:29.196 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:29.266 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:29.196 +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 16:36:29.334 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:29.196 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:29.470 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=3.242895ms] [phyTblIDs="[26]"] [actionTypes="[8]"] [2024/05/06 16:36:29.531 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:29.531 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=27] [version=13] [2024/05/06 16:36:29.532 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=65.089693ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:29.196 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:29.623 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:29.196 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:29.773 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=27] [2024/05/06 16:36:29.773 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:29.775 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.597840225\n# Parse_time: 0\n# Compile_time: 0.003498553\n# Rewrite_time: 0.000014065\n# Optimize_time: 0\n# Wait_TS: 0.000106845\n# DB: mysql\n# Is_internal: true\n# Digest: 5615b5212342304015b027afb253371dae02f19e53871cfbb034deb145dfce32\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_buckets ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, bucket_id BIGINT(64) NOT NULL, count BIGINT(64) NOT NULL, repeats BIGINT(64) NOT NULL, upper_bound LONGBLOB NOT NULL, lower_bound LONGBLOB , ndv BIGINT NOT NULL DEFAULT 0, UNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id) );"] [2024/05/06 16:36:29.791 +08:00] [INFO] [session.go:3817] ["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 16:36:29.870 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:29.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:29.870 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:29.819 +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 16:36:30.046 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:29.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:30.170 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=2.547966ms] [phyTblIDs="[28]"] [actionTypes="[8]"] [2024/05/06 16:36:30.231 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:30.231 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=29] [version=14] [2024/05/06 16:36:30.239 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=72.871808ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:29.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:30.377 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:29.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:30.648 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=29] [2024/05/06 16:36:30.648 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:30.660 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.871605946\n# Parse_time: 0\n# Compile_time: 0.003115198\n# Rewrite_time: 0.000014693\n# Optimize_time: 0\n# Wait_TS: 0.000083979\n# DB: mysql\n# Is_internal: true\n# Digest: 4f764dd084d16197c847e23500fcaf8b96dbbabd598c823de37967bfa2ad51cd\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.gc_delete_range ( job_id BIGINT NOT NULL COMMENT \"the DDL job ID\", element_id BIGINT NOT NULL COMMENT \"the schema element ID\", start_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", end_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", ts BIGINT NOT NULL COMMENT \"timestamp in uint64\", UNIQUE KEY delete_range_index (job_id, element_id) );"] [2024/05/06 16:36:30.667 +08:00] [INFO] [session.go:3817] ["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 16:36:30.730 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:30.683 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:30.740 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:30.683 +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 16:36:30.878 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:30.683 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:31.007 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=2.417158ms] [phyTblIDs="[30]"] [actionTypes="[8]"] [2024/05/06 16:36:31.082 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:31.082 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=31] [version=15] [2024/05/06 16:36:31.082 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=78.408128ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:30.683 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:31.182 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:30.683 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:31.405 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=31] [2024/05/06 16:36:31.407 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:31.409 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.744617452\n# Parse_time: 0\n# Compile_time: 0.003129377\n# Rewrite_time: 0.000013269\n# Optimize_time: 0\n# Wait_TS: 0.000086825\n# DB: mysql\n# Is_internal: true\n# Digest: 532cf71b38f2568975d61180716af7e2b05c9ca11023688224ed0c0eece42fa9\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done ( job_id BIGINT NOT NULL COMMENT \"the DDL job ID\", element_id BIGINT NOT NULL COMMENT \"the schema element ID\", start_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", end_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", ts BIGINT NOT NULL COMMENT \"timestamp in uint64\", UNIQUE KEY delete_range_done_index (job_id, element_id) );"] [2024/05/06 16:36:31.416 +08:00] [INFO] [session.go:3817] ["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 16:36:31.594 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:31.45 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:31.594 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:31.45 +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 16:36:31.726 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:31.45 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:31.879 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=2.125215ms] [phyTblIDs="[32]"] [actionTypes="[8]"] [2024/05/06 16:36:31.931 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:31.932 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=33] [version=16] [2024/05/06 16:36:31.932 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=56.222293ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:31.45 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:31.997 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:31.45 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:32.075 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=33] [2024/05/06 16:36:32.076 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:32.077 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.663740309\n# Parse_time: 0\n# Compile_time: 0.002645618\n# Rewrite_time: 0.000013511\n# Optimize_time: 0\n# Wait_TS: 0.000117132\n# DB: mysql\n# Is_internal: true\n# Digest: 28f04155dca9c7fd3a5e16199cefd152c629a57a64d0ccb2ed0f10309c23c59c\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_feedback ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, feedback BLOB NOT NULL, INDEX hist(table_id, is_index, hist_id) );"] [2024/05/06 16:36:32.087 +08:00] [INFO] [session.go:3817] ["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 16:36:32.188 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:32.102 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:32.188 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:32.102 +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 16:36:32.336 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:32.102 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:32.469 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=2.945829ms] [phyTblIDs="[34]"] [actionTypes="[8]"] [2024/05/06 16:36:32.532 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:32.532 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=35] [version=17] [2024/05/06 16:36:32.533 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=67.298863ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:32.102 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:32.622 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:32.102 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:32.698 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=35] [2024/05/06 16:36:32.698 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:32.700 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.616899915\n# Parse_time: 0\n# Compile_time: 0.003822944\n# Rewrite_time: 0.00001405\n# Optimize_time: 0\n# Wait_TS: 0.000105601\n# DB: mysql\n# Is_internal: true\n# Digest: 13e2fcff943423afddaa84c2d34108628854b5953bc7c41d2879240f077a5bd6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.role_edges ( FROM_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', FROM_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', TO_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', TO_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', WITH_ADMIN_OPTION ENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N', PRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER) );"] [2024/05/06 16:36:32.711 +08:00] [INFO] [session.go:3817] ["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 16:36:32.795 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:32.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:32.795 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:32.736 +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 16:36:32.881 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:32.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:33.014 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=2.415001ms] [phyTblIDs="[36]"] [actionTypes="[8]"] [2024/05/06 16:36:33.032 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:33.032 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=37] [version=18] [2024/05/06 16:36:33.033 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=22.712268ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:32.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:33.085 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:32.736 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:33.177 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=37] [2024/05/06 16:36:33.177 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:33.179 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.470948544\n# Parse_time: 0\n# Compile_time: 0.003153439\n# Rewrite_time: 0.000013602\n# Optimize_time: 0\n# Wait_TS: 0.000091824\n# DB: mysql\n# Is_internal: true\n# Digest: 9e6b544fb0287e9d8a74031560ed0cd6a5b4e54db073b893a68a76b05d929781\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.default_roles ( HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', DEFAULT_ROLE_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%', DEFAULT_ROLE_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', PRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER) );"] [2024/05/06 16:36:33.211 +08:00] [INFO] [session.go:3817] ["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 16:36:33.308 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:33.229 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:33.308 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:33.229 +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 16:36:33.390 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:33.229 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:33.674 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=3.830632ms] [phyTblIDs="[38]"] [actionTypes="[8]"] [2024/05/06 16:36:33.731 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:33.731 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=39] [version=19] [2024/05/06 16:36:33.737 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=67.072343ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:33.229 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:33.811 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:33.229 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:33.919 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=39] [2024/05/06 16:36:33.919 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:33.921 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.714851963\n# Parse_time: 0\n# Compile_time: 0.005030945\n# Rewrite_time: 0.000013389\n# Optimize_time: 0\n# Wait_TS: 0.000099356\n# DB: mysql\n# Is_internal: true\n# Digest: 0a4bc55a9ab72ef62ddaa1ee6472d7872306066fd783a8bb67047a497fbb4dbe\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.bind_info ( original_sql TEXT NOT NULL, bind_sql TEXT NOT NULL, default_db TEXT NOT NULL, status TEXT NOT NULL, create_time TIMESTAMP(3) NOT NULL, update_time TIMESTAMP(3) NOT NULL, charset TEXT NOT NULL, collation TEXT NOT NULL, source VARCHAR(10) NOT NULL DEFAULT 'unknown', sql_digest varchar(64), plan_digest varchar(64), INDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\", INDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\" ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 16:36:33.962 +08:00] [INFO] [session.go:3817] ["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 16:36:34.040 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:33.977 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:34.040 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:33.977 +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 16:36:34.105 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:33.977 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:34.209 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=2.484593ms] [phyTblIDs="[40]"] [actionTypes="[8]"] [2024/05/06 16:36:34.282 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:34.282 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=41] [version=20] [2024/05/06 16:36:34.284 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=78.304354ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:33.977 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:34.341 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:33.977 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:34.472 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=41] [2024/05/06 16:36:34.472 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:34.474 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.514163199\n# Parse_time: 0\n# Compile_time: 0.002401868\n# Rewrite_time: 0.000018862\n# Optimize_time: 0\n# Wait_TS: 0.000095919\n# DB: mysql\n# Is_internal: true\n# Digest: 04a90564803373a6eb3f5a52e8794d25c4d28f6c18af7899b0b9f1bf1539ec72\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_top_n ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, value LONGBLOB, count BIGINT(64) UNSIGNED NOT NULL, INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:36:34.478 +08:00] [INFO] [session.go:3817] ["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 16:36:34.524 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:34.49 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:34.524 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:34.49 +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 16:36:34.588 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:34.49 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:34.678 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=1.855975ms] [phyTblIDs="[42]"] [actionTypes="[8]"] [2024/05/06 16:36:34.732 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:34.733 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=43] [version=21] [2024/05/06 16:36:34.735 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=58.924633ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:34.49 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:34.807 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:34.49 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:34.864 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=43] [2024/05/06 16:36:34.865 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:34.867 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.390092183\n# Parse_time: 0\n# Compile_time: 0.001877386\n# Rewrite_time: 0.0000107\n# Optimize_time: 0\n# Wait_TS: 0.00010217\n# DB: mysql\n# Is_internal: true\n# Digest: 3e05fb8977f83f4e32022552aded3680a039cddc4239c339119a655dc1cffdbb\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist ( name CHAR(100) NOT NULL, store_type CHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb', reason VARCHAR(200) );"] [2024/05/06 16:36:34.870 +08:00] [INFO] [session.go:3817] ["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 16:36:34.925 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:34.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:34.926 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:34.891 +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 16:36:35.050 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:34.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:35.117 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=1.489347ms] [phyTblIDs="[44]"] [actionTypes="[8]"] [2024/05/06 16:36:35.131 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:35.131 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=45] [version=22] [2024/05/06 16:36:35.133 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=17.671087ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:34.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:35.205 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:34.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:35.261 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=45] [2024/05/06 16:36:35.261 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:35.263 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.393750414\n# Parse_time: 0\n# Compile_time: 0.001779316\n# Rewrite_time: 0.00001342\n# Optimize_time: 0\n# Wait_TS: 0.000090095\n# DB: mysql\n# Is_internal: true\n# Digest: aee36d5dc7131e4b6e3321cc046ae8b5ec8156ec1ef82481df0b97b8c734325f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist ( name CHAR(100) NOT NULL );"] [2024/05/06 16:36:35.277 +08:00] [INFO] [session.go:3817] ["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 16:36:35.371 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:35.29 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:35.371 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:35.29 +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 16:36:35.431 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:35.29 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:35.602 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=3.223211ms] [phyTblIDs="[46]"] [actionTypes="[8]"] [2024/05/06 16:36:35.632 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:35.632 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=47] [version=23] [2024/05/06 16:36:35.633 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=34.594123ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:35.29 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:35.682 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:35.29 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:35.787 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=47] [2024/05/06 16:36:35.788 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:35.792 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.515745303\n# Parse_time: 0\n# Compile_time: 0.003440464\n# Rewrite_time: 0.000011513\n# Optimize_time: 0\n# Wait_TS: 0.00008377\n# DB: mysql\n# Is_internal: true\n# Digest: bd2a0d9809689d30e22f8d82b29b4ee110d16cda3353b77d74a1938afb746386\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_extended ( name varchar(32) NOT NULL, type tinyint(4) NOT NULL, table_id bigint(64) NOT NULL, column_ids varchar(32) NOT NULL, stats blob DEFAULT NULL, version bigint(64) unsigned NOT NULL, status tinyint(4) NOT NULL, PRIMARY KEY(name, table_id), KEY idx_1 (table_id, status, version), KEY idx_2 (status, version) );"] [2024/05/06 16:36:35.798 +08:00] [INFO] [session.go:3817] ["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 16:36:35.882 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:35.829 +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 16:36:35.888 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:35.829 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:35.949 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:35.829 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:36.066 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=2.485629ms] [phyTblIDs="[48]"] [actionTypes="[8]"] [2024/05/06 16:36:36.081 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:36.081 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=49] [version=24] [2024/05/06 16:36:36.082 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=18.81611ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:35.829 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:36.152 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:35.829 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:36.245 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=49] [2024/05/06 16:36:36.246 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:36.247 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.45142617\n# Parse_time: 0\n# Compile_time: 0.002256675\n# Rewrite_time: 0.000013761\n# Optimize_time: 0\n# Wait_TS: 0.000082895\n# DB: mysql\n# Is_internal: true\n# Digest: f72fffa4e6072164db3e01e2e29568b0b93c5045737047be527343b1737b0882\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.schema_index_usage ( TABLE_ID bigint(64), INDEX_ID bigint(21), QUERY_COUNT bigint(64), ROWS_SELECTED bigint(64), LAST_USED_AT timestamp, PRIMARY KEY(TABLE_ID, INDEX_ID) );"] [2024/05/06 16:36:36.253 +08:00] [INFO] [session.go:3817] ["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 16:36:36.324 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:36.281 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:36.324 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:36.281 +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 16:36:36.394 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:36.281 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:36.525 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=4.661273ms] [phyTblIDs="[50]"] [actionTypes="[8]"] [2024/05/06 16:36:36.581 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:36.581 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=51] [version=25] [2024/05/06 16:36:36.582 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=68.259549ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:36.281 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:36.667 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:36.281 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:36.726 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=51] [2024/05/06 16:36:36.726 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:36.737 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.47658639\n# Parse_time: 0\n# Compile_time: 0.002194639\n# Rewrite_time: 0.000013378\n# Optimize_time: 0\n# Wait_TS: 0.000071877\n# DB: mysql\n# Is_internal: true\n# Digest: 27ef2533f9d97f96c8c86a69a0de51aad04499856acd05fe4a4b93fb5b6043d0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, value LONGBLOB, INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:36:36.756 +08:00] [INFO] [session.go:3817] ["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 16:36:36.829 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:36.78 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:36.829 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:36.78 +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 16:36:36.905 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:36.78 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:37.024 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=2.331753ms] [phyTblIDs="[52]"] [actionTypes="[8]"] [2024/05/06 16:36:37.081 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:37.081 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=53] [version=26] [2024/05/06 16:36:37.083 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=94.375124ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:36.78 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:37.158 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:36.78 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:37.229 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=53] [2024/05/06 16:36:37.230 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:37.232 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.480717544\n# Parse_time: 0\n# Compile_time: 0.00561499\n# Rewrite_time: 0.000012155\n# Optimize_time: 0\n# Wait_TS: 0.000081956\n# DB: mysql\n# Is_internal: true\n# Digest: 79c6e54229df7b01d20ffaf8ac1077aa9ef39e604df30d5ce852dd7049cc3ddd\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.global_grants ( USER char(32) NOT NULL DEFAULT '', HOST char(255) NOT NULL DEFAULT '', PRIV char(32) NOT NULL DEFAULT '', WITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N', PRIMARY KEY (USER,HOST,PRIV) );"] [2024/05/06 16:36:37.240 +08:00] [INFO] [session.go:3817] ["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 16:36:37.315 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:37.255 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:37.315 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:37.255 +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 16:36:37.382 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:37.255 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:37.462 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=2.065474ms] [phyTblIDs="[54]"] [actionTypes="[8]"] [2024/05/06 16:36:37.485 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:37.486 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=55] [version=27] [2024/05/06 16:36:37.488 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=28.755067ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:37.255 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:37.628 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:37.255 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:37.757 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=55] [2024/05/06 16:36:37.757 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:37.759 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.522585589\n# Parse_time: 0\n# Compile_time: 0.004057039\n# Rewrite_time: 0.000017872\n# Optimize_time: 0\n# Wait_TS: 0.000091664\n# DB: mysql\n# Is_internal: true\n# Digest: 08f858a5bd3a1fd5dfd809dd4b9d6c72db69f874b06ad0e91987f9e89a5cf89a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist ( id bigint(64) auto_increment, filter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\", filter_value varchar(32) NOT NULL, key idx(filter_type), primary key(id) );"] [2024/05/06 16:36:37.764 +08:00] [INFO] [session.go:3817] ["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 16:36:37.858 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:37.778 +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 16:36:37.881 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:37.778 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:37.959 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:37.778 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:38.068 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=2.20008ms] [phyTblIDs="[56]"] [actionTypes="[8]"] [2024/05/06 16:36:38.132 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:38.132 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=57] [version=28] [2024/05/06 16:36:38.134 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=68.93714ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:37.778 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:38.187 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:37.778 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:38.249 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=57] [2024/05/06 16:36:38.249 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:38.252 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.489517936\n# Parse_time: 0\n# Compile_time: 0.002294788\n# Rewrite_time: 0.000014392\n# Optimize_time: 0\n# Wait_TS: 0.000091134\n# DB: mysql\n# Is_internal: true\n# Digest: 3a5634ff31bd7d32849c5404b7ffc419c7a7074307b815e5369eb6ca363cbcd0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.column_stats_usage ( table_id BIGINT(64) NOT NULL, column_id BIGINT(64) NOT NULL, last_used_at TIMESTAMP, last_analyzed_at TIMESTAMP, PRIMARY KEY (table_id, column_id) CLUSTERED );"] [2024/05/06 16:36:38.259 +08:00] [INFO] [session.go:3817] ["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 16:36:38.312 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:38.275 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:38.312 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:38.275 +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 16:36:38.379 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:38.275 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:38.455 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=1.936465ms] [phyTblIDs="[58]"] [actionTypes="[8]"] [2024/05/06 16:36:38.481 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:38.481 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=59] [version=29] [2024/05/06 16:36:38.487 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=34.366524ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:38.275 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:38.639 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:38.275 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:38.810 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=59] [2024/05/06 16:36:38.811 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:38.812 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.556408267\n# Parse_time: 0\n# Compile_time: 0.003289033\n# Rewrite_time: 0.000025077\n# Optimize_time: 0\n# Wait_TS: 0.000092905\n# DB: mysql\n# Is_internal: true\n# Digest: d5bebde055ca14bff3e131e086a86c4095b9d04ea6fc326b4c2f16ffd61fbd2d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.table_cache_meta ( tid bigint(11) NOT NULL DEFAULT 0, lock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE', lease bigint(20) NOT NULL DEFAULT 0, oldReadLease bigint(20) NOT NULL DEFAULT 0, PRIMARY KEY (tid) );"] [2024/05/06 16:36:38.835 +08:00] [INFO] [session.go:3817] ["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 16:36:38.862 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [2024/05/06 16:36:38.996 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:38.875 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:38.997 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:38.875 +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 16:36:39.070 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:38.875 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:39.176 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=2.690703ms] [phyTblIDs="[60]"] [actionTypes="[8]"] [2024/05/06 16:36:39.232 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:39.232 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=61] [version=30] [2024/05/06 16:36:39.233 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=61.054893ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:38.875 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:39.290 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:38.875 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:39.380 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=61] [2024/05/06 16:36:39.384 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:39.386 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.554722644\n# Parse_time: 0\n# Compile_time: 0.003611258\n# Rewrite_time: 0.00001287\n# Optimize_time: 0\n# Wait_TS: 0.000097567\n# DB: mysql\n# Is_internal: true\n# Digest: 987fcd9b9a604209ec1101d918419b993c42f84fe228e20aee2fcca2931ff93e\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.analyze_options ( table_id BIGINT(64) NOT NULL, sample_num BIGINT(64) NOT NULL DEFAULT 0, sample_rate DOUBLE NOT NULL DEFAULT -1, buckets BIGINT(64) NOT NULL DEFAULT 0, topn BIGINT(64) NOT NULL DEFAULT -1, column_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT', column_ids TEXT(19372), PRIMARY KEY (table_id) CLUSTERED );"] [2024/05/06 16:36:39.436 +08:00] [INFO] [session.go:3817] ["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\t);"] [user=] [2024/05/06 16:36:39.574 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:39.473 +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\t);"] [2024/05/06 16:36:39.575 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:39.473 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:39.743 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:39.473 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:39.969 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=2.8403ms] [phyTblIDs="[62]"] [actionTypes="[8]"] [2024/05/06 16:36:40.032 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:40.032 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=63] [version=31] [2024/05/06 16:36:40.032 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=66.543782ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:39.473 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:40.102 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:39.473 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:40.283 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=63] [2024/05/06 16:36:40.284 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:40.289 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.882229507\n# Parse_time: 0\n# Compile_time: 0.019516351\n# Rewrite_time: 0.000015041\n# Optimize_time: 0\n# Wait_TS: 0.000084839\n# DB: mysql\n# Is_internal: true\n# Digest: 11757f6de6b3d2a64e92f14cd7b7f739729563ede3b0139d016148eba0b27ebf\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_history ( table_id bigint(64) NOT NULL, stats_data longblob NOT NULL, seq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice', version bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN', create_time datetime(6) NOT NULL, UNIQUE KEY table_version_seq (table_id, version, seq_no), KEY table_create_time (table_id, create_time, seq_no) );"] [2024/05/06 16:36:40.315 +08:00] [INFO] [session.go:3817] ["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\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\t);"] [user=] [2024/05/06 16:36:40.431 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:40.353 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:40.431 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:40.353 +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\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\t);"] [2024/05/06 16:36:40.518 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:40.353 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:40.735 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=2.656747ms] [phyTblIDs="[64]"] [actionTypes="[8]"] [2024/05/06 16:36:40.781 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:40.781 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=65] [version=32] [2024/05/06 16:36:40.781 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=50.108043ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:40.353 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:40.901 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:40.353 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:41.064 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=65] [2024/05/06 16:36:41.064 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:41.070 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.763877065\n# Parse_time: 0\n# Compile_time: 0.009178843\n# Rewrite_time: 0.000025276\n# Optimize_time: 0\n# Wait_TS: 0.00011266\n# DB: mysql\n# Is_internal: true\n# Digest: ebccd6f5d49fb0fcff4d7dc20bb3ae798d172a92ba5f6709445c980166f7e32f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_meta_history ( table_id bigint(64) NOT NULL, modify_count bigint(64) NOT NULL, count bigint(64) NOT NULL, version bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN', create_time datetime(6) NOT NULL, UNIQUE KEY table_version (table_id, version), KEY table_create_time (table_id, create_time) );"] [2024/05/06 16:36:41.100 +08:00] [INFO] [session.go:3817] ["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 16:36:41.333 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:41.133 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:41.333 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:41.133 +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 16:36:41.420 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:41.133 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:41.791 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=4.295614ms] [phyTblIDs="[66]"] [actionTypes="[8]"] [2024/05/06 16:36:41.831 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:41.831 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=67] [version=33] [2024/05/06 16:36:41.832 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=46.650654ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:41.133 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:41.884 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:41.133 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:42.002 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=67] [2024/05/06 16:36:42.002 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:42.004 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.915612964\n# Parse_time: 0\n# Compile_time: 0.011815997\n# Rewrite_time: 0.000013018\n# Optimize_time: 0\n# Wait_TS: 0.000093026\n# DB: mysql\n# Is_internal: true\n# Digest: bfb9a3ff60c3c60c054a207c0a0db06c87e29edbe94005d8d5c89fe484f4f90a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.analyze_jobs ( id BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT, update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, table_schema CHAR(64) NOT NULL DEFAULT '', table_name CHAR(64) NOT NULL DEFAULT '', partition_name CHAR(64) NOT NULL DEFAULT '', job_info TEXT NOT NULL, processed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, start_time TIMESTAMP, end_time TIMESTAMP, state ENUM('pending', 'running', 'finished', 'failed') NOT NULL, fail_reason TEXT, instance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job', process_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job', PRIMARY KEY (id), KEY (update_time) );"] [2024/05/06 16:36:42.008 +08:00] [INFO] [session.go:3817] ["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 16:36:42.073 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:42.037 +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 16:36:42.074 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:42.037 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:42.187 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:42.037 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:42.275 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=1.562284ms] [phyTblIDs="[68]"] [actionTypes="[8]"] [2024/05/06 16:36:42.332 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:42.332 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=69] [version=34] [2024/05/06 16:36:42.334 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=61.093836ms] [job="ID:69, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:42.037 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:42.396 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:69, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:42.037 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:42.501 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=69] [2024/05/06 16:36:42.501 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:42.503 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.496238056\n# Parse_time: 0\n# Compile_time: 0.00137811\n# Rewrite_time: 0.000015579\n# Optimize_time: 0\n# Wait_TS: 0.000086415\n# DB: mysql\n# Is_internal: true\n# Digest: 85d0480e8afeca7d94d07ca1a681df6c7f89f1fda753ceb6e02b51caf3714c1c\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.advisory_locks ( lock_name VARCHAR(64) NOT NULL PRIMARY KEY );"] [2024/05/06 16:36:42.622 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:42.545 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:42.623 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:36:42.545 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] [2024/05/06 16:36:42.691 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:42.545 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:42.848 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=7.445348ms] [phyTblIDs="[70]"] [actionTypes="[2097152]"] [2024/05/06 16:36:42.881 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:42.881 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=71] [version=35] [2024/05/06 16:36:42.882 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=42.310253ms] [job="ID:71, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:36:42.545 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:42.962 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:71, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:42.545 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:43.120 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=71] [2024/05/06 16:36:43.120 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:43.124 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.616203437\n# Parse_time: 0\n# Compile_time: 0.007086733\n# Rewrite_time: 0.003886205\n# Optimize_time: 0\n# Wait_TS: 0.000111106\n# DB: mysql\n# Is_internal: true\n# Digest: 812c81f344f5d0c8b8aedcb68ff1dca865b59104853273f7e66b8abff5429992\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE OR REPLACE VIEW mysql.tidb_mdl_view as ( select JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID );"] [2024/05/06 16:36:43.141 +08:00] [INFO] [session.go:3817] ["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 16:36:43.237 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:43.16 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:43.237 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:43.16 +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 16:36:43.322 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:43.16 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:43.460 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=2.730511ms] [phyTblIDs="[72]"] [actionTypes="[8]"] [2024/05/06 16:36:43.486 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:43.486 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=73] [version=36] [2024/05/06 16:36:43.489 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=32.229608ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:43.16 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:43.775 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:43.16 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:43.894 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=73] [2024/05/06 16:36:43.894 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:43.895 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.761888733\n# Parse_time: 0\n# Compile_time: 0.007285054\n# Rewrite_time: 0.000013015\n# Optimize_time: 0\n# Wait_TS: 0.000098835\n# DB: mysql\n# Is_internal: true\n# Digest: 3d2f349b1c68ee2b30e34bad8bb3838af6c40d7a26072b2d29d801d7fedbac48\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.plan_replayer_status ( sql_digest VARCHAR(128), plan_digest VARCHAR(128), origin_sql TEXT, token VARCHAR(128), update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fail_reason TEXT, instance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 16:36:43.901 +08:00] [INFO] [session.go:3817] ["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 16:36:43.966 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:43.914 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:43.966 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:43.914 +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 16:36:44.047 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:43.914 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:44.128 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=2.187073ms] [phyTblIDs="[74]"] [actionTypes="[8]"] [2024/05/06 16:36:44.182 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:44.182 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=75] [version=37] [2024/05/06 16:36:44.182 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=57.472897ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:43.914 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:44.240 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:43.914 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:44.329 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=75] [2024/05/06 16:36:44.329 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:44.331 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.431913611\n# Parse_time: 0\n# Compile_time: 0.002556621\n# Rewrite_time: 0.000014148\n# Optimize_time: 0\n# Wait_TS: 0.000102055\n# DB: mysql\n# Is_internal: true\n# Digest: 8d9754df14c826803fed84f1ae3eb8fc9729e76a793b6be6bf25967f1929d039\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.plan_replayer_task ( sql_digest VARCHAR(128) NOT NULL, plan_digest VARCHAR(128) NOT NULL, update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 16:36:44.342 +08:00] [INFO] [session.go:3817] ["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 16:36:44.409 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:44.369 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:44.409 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:44.369 +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 16:36:44.506 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:44.369 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:44.666 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=2.075143ms] [phyTblIDs="[76]"] [actionTypes="[8]"] [2024/05/06 16:36:44.740 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:44.740 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=77] [version=38] [2024/05/06 16:36:44.741 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=38] ["take time"=78.408027ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:44.369 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:44.849 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:44.369 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:44.955 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=77] [2024/05/06 16:36:44.955 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:44.957 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.616711119\n# Parse_time: 0\n# Compile_time: 0.002599755\n# Rewrite_time: 0.000014806\n# Optimize_time: 0\n# Wait_TS: 0.000112038\n# DB: mysql\n# Is_internal: true\n# Digest: b57fdc4b14aba5f29d915d04e5e4557f60a758fd65ec571368527cd45c6ef82a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_table_locked( table_id bigint(64) NOT NULL, modify_count bigint(64) NOT NULL DEFAULT 0, count bigint(64) NOT NULL DEFAULT 0, version bigint(64) UNSIGNED NOT NULL DEFAULT 0, PRIMARY KEY (table_id));"] [2024/05/06 16:36:44.970 +08:00] [INFO] [session.go:3817] ["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 16:36:45.125 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:44.989 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:45.125 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:44.989 +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 16:36:45.210 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 81, tp general"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:44.989 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:45.430 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=6.678883ms] [phyTblIDs="[78]"] [actionTypes="[8]"] [2024/05/06 16:36:45.489 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:45.489 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=79] [version=39] [2024/05/06 16:36:45.491 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=39] ["take time"=68.429374ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:44.989 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:45.665 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 81, tp general"] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:44.989 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:45.813 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=79] [2024/05/06 16:36:45.814 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:45.815 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.850254248\n# Parse_time: 0\n# Compile_time: 0.005468324\n# Rewrite_time: 0.000013828\n# Optimize_time: 0\n# Wait_TS: 0.00008577\n# DB: mysql\n# Is_internal: true\n# Digest: a30bd3c3a49070c554e65922e84c6b76e646842e3925a859fcde73941a7cb423\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status ( table_id bigint(64) PRIMARY KEY, parent_table_id bigint(64), table_statistics text DEFAULT NULL, last_job_id varchar(64) DEFAULT NULL, last_job_start_time timestamp NULL DEFAULT NULL, last_job_finish_time timestamp NULL DEFAULT NULL, last_job_ttl_expire timestamp NULL DEFAULT NULL, last_job_summary text DEFAULT NULL, current_job_id varchar(64) DEFAULT NULL, current_job_owner_id varchar(64) DEFAULT NULL, current_job_owner_addr varchar(256) DEFAULT NULL, current_job_owner_hb_time timestamp, current_job_start_time timestamp NULL DEFAULT NULL, current_job_ttl_expire timestamp NULL DEFAULT NULL, current_job_state text DEFAULT NULL, current_job_status varchar(64) DEFAULT NULL, current_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 16:36:46.705 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572924507291648\n# Query_time: 0.64035409\n# Parse_time: 0\n# Compile_time: 0.309192385\n# Rewrite_time: 0.007477751\n# Optimize_time: 0\n# Wait_TS: 0.000085892\n# DB: mysql\n# Is_internal: true\n# Digest: ca2019e08a331284bd0c64be228a0537fcf9f5983e95d94b67ef42dcb8f54385\n# Num_cop_tasks: 0\n# Mem_max: 350216\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: true\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('ogPwPDAJMjdfMQkwCTAJTi9BCTAJdGltZTozMTYuN21zLCBsb29wczoxLCBwcmVwYXJlOiB7dG90YWw6IDQ4LjkBIkxhdXRvX2lkX2FsbG9jYXRvcjogewUMZF9jbnQ6IDEsIEdldDp7bnVtX3JwYzo0LCB0AUEAXwVouDQ1OS42wrVzfSwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjU1Ni44wrVzLCBnZXRfESQMczoyMwU4ETcQOjIuODkBjhxzbG93ZXN0XxFBBXQEIHsFc2g6IDAuMDAwcywgcmVnaW9uX2lkOiAyLCBzdG8B2QUHCDEsIBmMGHByaW1hcnlGRAAAM4pEAA1kGG51bToxLCAFzgxfa2V5JU0JDphieXRlOjMyfX19LCBpbnNlcnQ6MjY3Ljhtcwk5NC4wIEtCCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('rgPwgQqpAwoISW5zZXJ0XzE4AUABUgNOL0FaFXRpbWU6MzE2LjdtcywgbG9vcHM6MWLtAnByZXBhcmU6IHt0b3RhbDogNDguOW1zLCBhdXRvX2lkX2FsbG9jYXRvcjoge2FsbG9jX2NudDogMSwgR2V0OntudW1fcnBjOjQsIHRvdGFsX3QBabg0NTkuNsK1c30sIGNvbW1pdF90eG46IHtwcmV3cml0ZTo1NTYuOMK1cywgZ2V0XxEkDHM6MjMFOBE3DDoyLjgFjhxzbG93ZXN0XxFBDF9ycGMZtGAwLjAwMHMsIHJlZ2lvbl9pZDogMiwgc3RvAdkFBwgxLCAZjBhwcmltYXJ5RkQAADOKRAANZBhudW06MSwgBc4QX2tleXMZDqhieXRlOjMyfX19LCBpbnNlcnQ6MjY3Ljhtc3CI8AV4////////////ARgB')\nINSERT HIGH_PRIORITY INTO mysql.GLOBAL_VARIABLES VALUES (\"optimizer_search_depth\", \"62\"), (\"innodb_undo_logs\", \"128\"), (\"old_passwords\", \"0\"), (\"optimizer_trace_max_mem_size\", \"16384\"), (\"host_cache_size\", \"279\"), (\"ndb_optimization_delay\", \"\"), (\"disconnect_on_expired_password\", \"ON\"), (\"tidb_scatter_region\", \"OFF\"), (\"expire_logs_days\", \"0\"), (\"slave_parallel_workers\", \"0\"), (\"tidb_auto_analyze_end_time\", \"23:59 +0000\"), (\"innodb_adaptive_flushing\", \"ON\"), (\"tidb_stmt_summary_max_sql_length\", \"4096\"), (\"innodb_buffer_pool_filename\", \"ib_buffer_pool\"), (\"avoid_temporal_upgrade\", \"OFF\"), (\"sql_safe_updates\", \"OFF\"), (\"tidb_sysproc_scan_concurrency\", \"1\"), (\"innodb_adaptive_hash_index\", \"ON\"), (\"tidb_backoff_lock_fast\", \"10\"), (\"tidb_mem_oom_action\", \"LOG\"), (\"table_definition_cache\", \"2000\"), (\"optimizer_prune_level\", \"1\"), (\"tidb_enable_extended_stats\", \"OFF\"), (\"tidb_opt_tiflash_concurrency_factor\", \"24\"), (\"innodb_compression_level\", \"6\"), (\"tidb_stmt_summary_max_stmt_count\", \"3000\"), (\"log_syslog_tag\", \"\"), (\"innodb_random_read_ahead\", \"OFF\"), (\"tidb_enable_amend_pessimistic_txn\", \"OFF\"), (\"innodb_default_row_format\", \"dynamic\"), (\"tidb_opt_scan_factor\", \"1.5\"), (\"tidb_window_concurrency\", \"-1\"), (\"concurrent_insert\", \"AUTO\"), (\"optimizer_trace_offset\", \"-1\"), (\"transaction_read_only\", \"OFF\"), (\"read_only\", \"OFF\"), (\"query_cache_wlock_invalidate\", \"OFF\"), (\"binlog_max_flush_queue_time\", \"0\"), (\"innodb_table_locks\", \"ON\"), (\"tidb_opt_limit_push_down_threshold\", \"100\"), (\"tidb_build_stats_concurrency\", \"4\"), (\"sql_log_bin\", \"ON\"), (\"tidb_tso_client_batch_max_wait_time\", \"0\"), (\"tidb_enable_metadata_lock\", \"ON\"), (\"tidb_allow_fallback_to_tikv\", \"\"), (\"default_password_lifetime\", \"0\"), (\"slave_net_timeout\", \"3600\"), (\"tidb_gc_scan_lock_mode\", \"LEGACY\"), (\"binlog_cache_size\", \"32768\"), (\"innodb_buffer_pool_load_abort\", \"OFF\"), (\"tidb_enable_inl_join_inner_multi_pattern\", \"OFF\"), (\"tidb_row_format_version\", \"2\"), (\"ndb_log_binlog_index\", \"\"), (\"tidb_enable_unsafe_substitute\", \"OFF\"), (\"innodb_buffer_pool_dump_now\", \"OFF\"), (\"tidb_partition_prune_mode\", \"dynamic\"), (\"log_slow_slave_statements\", \"OFF\"), (\"tidb_max_delta_schema_count\", \"1024\"), (\"optimizer_trace\", \"enabled=off,one_line=off\"), (\"tidb_enable_plan_replayer_capture\", \"OFF\"), (\"tidb_regard_null_as_point\", \"ON\"), (\"tidb_enable_noop_functions\", \"OFF\"), (\"tidb_enable_external_ts_read\", \"OFF\"), (\"binlog_order_commits\", \"ON\"), (\"tidb_hash_exchange_with_new_collation\", \"ON\"), (\"ndb_distribution\", \"\"), (\"innodb_fill_factor\", \"\"), (\"max_binlog_cache_size\", \"18446744073709547520\"), (\"tidb_gc_life_time\", \"10m0s\"), (\"tiflash_fine_grained_shuffle_stream_count\", \"0\"), (\"tidb_multi_statement_mode\", \"OFF\"), (\"binlog_direct_non_transactional_updates\", \"OFF\"), (\"tidb_enable_local_txn\", \"OFF\"), (\"tidb_enable_outer_join_reorder\", \"ON\"), (\"tidb_opt_three_stage_distinct_agg\", \"ON\"), (\"init_connect\", \"\"), (\"session_track_system_variables\", \"\"), (\"log_slow_admin_statements\", \"OFF\"), (\"tidb_ddl_enable_fast_reorg\", \"ON\"), (\"innodb_ft_enable_diag_print\", \"OFF\"), (\"innodb_checksum_algorithm\", \"innodb\"), (\"gtid_mode\", \"OFF\"), (\"tidb_auto_build_stats_concurrency\", \"1\"), (\"tidb_min_paging_size\", \"128\"), (\"delay_key_write\", \"ON\"), (\"new\", \"OFF\"), (\"lock_wait_timeout\", \"31536000\"), (\"div_precision_increment\", \"4\"), (\"net_buffer_length\", \"16384\"), (\"tidb_placement_mode\", \"STRICT\"), (\"auto_increment_offset\", \"1\"), (\"tidb_source_id\", \"1\"), (\"tidb_opt_disk_factor\", \"1.5\"), (\"innodb_api_bk_commit_interval\", \"5\"), (\"tidb_simplified_metrics\", \"OFF\"), (\"stored_program_cache\", \"256\"), (\"lc_time_names\", \"en_US\"), (\"transaction_write_set_extraction\", \"\"), (\"tidb_enable_index_merge\", \"ON\"), (\"thread_pool_size\", \"16\"), (\"tidb_enable_auto_increment_in_generated\", \"OFF\"), (\"tidb_stats_load_sync_wait\", \"100\"), (\"binlog_stmt_cache_size\", \"32768\"), (\"tidb_enable_legacy_instance_scope\", \"ON\"), (\"innodb_ft_num_word_optimize\", \"2000\"), (\"show_compatibility_56\", \"\"), (\"session_track_state_change\", \"\"), (\"innodb_file_format_max\", \"Antelope\"), (\"tidb_enable_table_partition\", \"ON\"), (\"innodb_purge_batch_size\", \"300\"), ((len:21519);"] [2024/05/06 16:36:47.083 +08:00] [INFO] [bootstrap.go:529] ["bootstrap successful"] ["take time"=27.60118354s] [2024/05/06 16:36:47.085 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:36:47.085 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 86, tp add index"] ["take time"=24.817µs] [2024/05/06 16:36:47.085 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 87, tp add index"] ["take time"=16.579µs] [2024/05/06 16:36:47.085 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 88, tp add index"] ["take time"=23.7µs] [2024/05/06 16:36:47.085 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 89, tp add index"] ["take time"=16.979µs] [2024/05/06 16:36:47.086 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 90, tp add index"] ["take time"=14.736µs] [2024/05/06 16:36:47.086 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 91, tp add index"] ["take time"=14.659µs] [2024/05/06 16:36:47.086 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 82, tp add index"] ["take time"=14.372µs] [2024/05/06 16:36:47.086 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 83, tp add index"] ["take time"=15.947µs] [2024/05/06 16:36:47.086 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 84, tp add index"] ["take time"=18.163µs] [2024/05/06 16:36:47.086 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 85, tp add index"] ["take time"=18.812µs] [2024/05/06 16:36:47.086 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:36:47.086 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 81, tp general"] ["take time"=25.255µs] [2024/05/06 16:36:47.086 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 80, tp add index"] ["take time"=2.588µs] [2024/05/06 16:36:47.086 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 79, tp general"] ["take time"=2.33µs] [2024/05/06 16:36:47.086 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:36:47.086 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:36:47.094 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=82a7a1e7-3c52-46a8-a65b-00787cedf380] ["take time"=9.326908ms] [2024/05/06 16:36:47.094 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=82a7a1e7-3c52-46a8-a65b-00787cedf380] [2024/05/06 16:36:47.094 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:36:47.094 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:36:47.095 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:36:47.095 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:36:47.095 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:36:47.095 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:36:47.095 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=10.279394ms] [2024/05/06 16:36:47.095 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=37669506-02a2-4b71-a735-1d2f917eb245] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 16:36:47.259 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=39] ["start time"=160.582565ms] [2024/05/06 16:36:47.278 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:36:47.278 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=84af94fc-06e8-46ea-be23-b66863488eb6] [runWorker=true] [2024/05/06 16:36:47.279 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:36:47.279 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:36:47.280 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 92, tp general"] [2024/05/06 16:36:47.281 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 93, tp add index"] [2024/05/06 16:36:47.304 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:36:47.304 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:36:47.305 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:36:47.305 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:36:47.355 +08:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 16:36:47.923 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=39] [cur_db=test] [sql="drop table if exists t1,t2"] [user=] [2024/05/06 16:36:47.926 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=39] [cur_db=test] [sql="create table t1 (id int primary key, v int)"] [user=] [2024/05/06 16:36:47.973 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:47.94 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:47.973 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:47.94 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t1 (id int primary key, v int)"] [2024/05/06 16:36:48.399 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 94, tp general"] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:47.94 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:48.523 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=1.645534ms] [phyTblIDs="[80]"] [actionTypes="[8]"] [2024/05/06 16:36:48.556 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=81] [version=40] [2024/05/06 16:36:48.563 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=40] ["take time"=42.686274ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:47.94 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:48.641 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 94, tp general"] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:47.94 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:48.722 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=81] [2024/05/06 16:36:48.722 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:48.723 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Conn_ID: 10\n# Query_time: 0.798950569\n# Parse_time: 0.000868772\n# Compile_time: 0.001001356\n# Rewrite_time: 0.000011916\n# Optimize_time: 0.000451463\n# Wait_TS: 0.000080455\n# DB: test\n# Is_internal: false\n# Digest: 58adff4e53b4dc3a2102ff826681d219bcf79edb1d10a7d7eddd3da56fcd9ce6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\ncreate table t1 (id int primary key, v int);"] [2024/05/06 16:36:48.733 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=40] [cur_db=test] [sql="create table t2 (id int)"] [user=] [2024/05/06 16:36:48.828 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:48.773 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:48.828 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:48.773 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t2 (id int)"] [2024/05/06 16:36:48.992 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 94, tp general"] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:48.773 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:49.089 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=1.269912ms] [phyTblIDs="[82]"] [actionTypes="[8]"] [2024/05/06 16:36:49.156 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=83] [version=41] [2024/05/06 16:36:49.157 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=41] ["take time"=70.14033ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:48.773 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:49.226 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 94, tp general"] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:48.773 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:49.283 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=83] [2024/05/06 16:36:49.283 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:49.285 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Conn_ID: 10\n# Query_time: 0.553572386\n# Parse_time: 0.000624736\n# Compile_time: 0.000966089\n# Rewrite_time: 0.000012485\n# Optimize_time: 0.000451463\n# Wait_TS: 0.000083877\n# DB: test\n# Is_internal: false\n# Digest: 022ec70336ed50328c0e53dd0419219aeef85a72279ec430eea3ccf10d0811fe\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\ncreate table t2 (id int);"] [2024/05/06 16:36:49.288 +08:00] [INFO] [info.go:1114] [SetTiFlashGroupConfig] [2024/05/06 16:36:49.289 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=41] [cur_db=test] [sql="create temporary table tmp (id int)"] [user=] [2024/05/06 16:36:49.328 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=41] [cur_db=test] [sql="alter table t2 add column(c1 int)"] [user=] [2024/05/06 16:36:49.383 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:85, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:36:49.342 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:49.384 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:85, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:36:49.342 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="alter table t2 add column(c1 int)"] [2024/05/06 16:36:49.497 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 94, tp general"] [job="ID:85, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:49.342 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:49.499 +08:00] [INFO] [column.go:133] ["[ddl] run add column job"] [job="ID:85, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:36:49.342 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [columnInfo="{\"id\":2,\"name\":{\"O\":\"c1\",\"L\":\"c1\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 16:36:49.557 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=1.604671ms] [phyTblIDs="[82]"] [actionTypes="[32]"] [2024/05/06 16:36:49.607 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=42] [2024/05/06 16:36:49.608 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=42] ["take time"=53.24462ms] [job="ID:85, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:36:49.342 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:49.673 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 94, tp general"] [job="ID:85, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:49.342 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:49.716 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=1.468109ms] [phyTblIDs="[82]"] [actionTypes="[32]"] [2024/05/06 16:36:49.756 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=43] [2024/05/06 16:36:49.756 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=43] ["take time"=42.916552ms] [job="ID:85, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:36:49.342 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:49.827 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 94, tp general"] [job="ID:85, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:49.342 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:49.860 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=1.493335ms] [phyTblIDs="[82]"] [actionTypes="[32]"] [2024/05/06 16:36:49.906 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=44] [2024/05/06 16:36:49.909 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=44] ["take time"=51.694129ms] [job="ID:85, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:36:49.342 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:49.956 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 94, tp general"] [job="ID:85, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:49.342 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:50.008 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=1.577326ms] [phyTblIDs="[82]"] [actionTypes="[32]"] [2024/05/06 16:36:50.058 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=45] [2024/05/06 16:36:50.062 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=45] ["take time"=56.479563ms] [job="ID:85, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:36:49.342 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:50.138 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 94, tp general"] [job="ID:85, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:49.342 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:50.205 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=85] [2024/05/06 16:36:50.206 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:50.208 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Conn_ID: 12\n# Query_time: 0.882496298\n# Parse_time: 0.000723092\n# Compile_time: 0.003291264\n# Rewrite_time: 0.000022895\n# Optimize_time: 0.000450834\n# Wait_TS: 0.000088974\n# DB: test\n# Is_internal: false\n# Digest: 177e330fc6e13ff4b1b9f51ae04b524c419feabb143557fdc6a5807ebb58aed3\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\nalter table t2 add column(c1 int);"] [2024/05/06 16:36:50.244 +08:00] [WARN] [session.go:1015] [sql] [label=general] [error="[kv:9007]Write conflict, txnStartTS=449572925422174209, conflictStartTS=449572925425582080, conflictCommitTS=449572925426368512, key={tableID=80, tableName=test.t1, handle=1}, originalKey=7480000000000000505f728000000000000001, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [txn="Txn{state=invalid}"] [2024/05/06 16:36:50.245 +08:00] [WARN] [session.go:1298] [retrying] [schemaVersion=45] [retryCnt=0] [queryNum=0] [sql="begin optimistic"] [2024/05/06 16:36:50.268 +08:00] [WARN] [session.go:1298] [retrying] [schemaVersion=45] [retryCnt=0] [queryNum=1] [sql="update t1 set v=12 where id=1"] [2024/05/06 16:36:50.270 +08:00] [WARN] [session.go:1298] [retrying] [schemaVersion=45] [retryCnt=0] [queryNum=2] [sql=commit] [2024/05/06 16:36:50.275 +08:00] [WARN] [session.go:1321] ["transaction association"] ["retrying txnStartTS"=449572925668065280] ["original txnStartTS"=449572925422174209] [2024/05/06 16:36:50.282 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:36:50.282 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 99, tp add index"] ["take time"=8.533µs] [2024/05/06 16:36:50.282 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 100, tp add index"] ["take time"=6.779µs] [2024/05/06 16:36:50.282 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 101, tp add index"] ["take time"=4.584µs] [2024/05/06 16:36:50.282 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 102, tp add index"] ["take time"=4.488µs] [2024/05/06 16:36:50.282 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 103, tp add index"] ["take time"=5.163µs] [2024/05/06 16:36:50.282 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 104, tp add index"] ["take time"=5.074µs] [2024/05/06 16:36:50.282 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 95, tp add index"] ["take time"=15.778µs] [2024/05/06 16:36:50.282 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 96, tp add index"] ["take time"=13.734µs] [2024/05/06 16:36:50.282 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 97, tp add index"] ["take time"=12.494µs] [2024/05/06 16:36:50.282 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 98, tp add index"] ["take time"=3.632µs] [2024/05/06 16:36:50.282 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:36:50.283 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 94, tp general"] ["take time"=3.966µs] [2024/05/06 16:36:50.283 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 92, tp general"] ["take time"=2.162µs] [2024/05/06 16:36:50.283 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 93, tp add index"] ["take time"=2.277µs] [2024/05/06 16:36:50.283 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:36:50.283 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:36:50.284 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=84af94fc-06e8-46ea-be23-b66863488eb6] ["take time"=3.101171ms] [2024/05/06 16:36:50.285 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=84af94fc-06e8-46ea-be23-b66863488eb6] [2024/05/06 16:36:50.285 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:36:50.285 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:36:50.286 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:36:50.286 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:36:50.286 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:36:50.286 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:36:50.287 +08:00] [INFO] [domain.go:1748] ["dumpFileGcChecker exited."] [2024/05/06 16:36:50.287 +08:00] [INFO] [domain.go:1444] ["LoadSysVarCacheLoop exited."] [2024/05/06 16:36:50.287 +08:00] [INFO] [domain.go:1394] ["loadPrivilegeInLoop exited."] [2024/05/06 16:36:50.287 +08:00] [INFO] [domain.go:1525] ["globalBindHandleWorkerLoop exited."] [2024/05/06 16:36:50.287 +08:00] [INFO] [domain.go:1569] ["handleEvolvePlanTasksLoop exited."] [2024/05/06 16:36:50.288 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:36:50.288 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:36:50.288 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:36:50.288 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:36:50.288 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:36:50.297 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=15.975836ms] [2024/05/06 16:36:50.301 +08:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 16:36:50.302 +08:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 16:36:50.302 +08:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 16:36:50.302 +08:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 16:36:50.302 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 16:36:50.302 +08:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestTxnContextInOptimisticRetry (30.92s) === RUN TestTxnContextForStaleRead [2024/05/06 16:36:50.311 +08:00] [INFO] [region_cache.go:2484] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 16:36:50.316 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:36:50.316 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:36:50.327 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:36:50.328 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:36:50.336 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:36:50.339 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=5a0552e0-e7f8-44f4-9ab2-696d8391b22e] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 16:36:50.341 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).Init\n\tdomain/domain.go:1074\ngithub.com/pingcap/tidb/session.(*domainMap).Get.func1\n\tsession/tidb.go:90\ngithub.com/pingcap/tidb/util.RunWithRetry\n\tutil/misc.go:69\ngithub.com/pingcap/tidb/session.(*domainMap).Get\n\tsession/tidb.go:76\ngithub.com/pingcap/tidb/session.createSessionWithOpt\n\tsession/session.go:3520\ngithub.com/pingcap/tidb/session.createSession\n\tsession/session.go:3516\ngithub.com/pingcap/tidb/session.runInBootstrapSession\n\tsession/session.go:3480\ngithub.com/pingcap/tidb/session.BootstrapSession\n\tsession/session.go:3309\ngithub.com/pingcap/tidb/testkit.bootstrap\n\ttestkit/mockstore.go:84\ngithub.com/pingcap/tidb/testkit.CreateMockStoreAndDomain\n\ttestkit/mockstore.go:69\nsessiontxn/sessiontxn_test_test.setupTxnContextTest\n\tsessiontxn/txn_context_test.go:61\nsessiontxn/sessiontxn_test_test.TestTxnContextForStaleRead\n\tsessiontxn/txn_context_test.go:447\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1446\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:36:50.379 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=36.468512ms] [2024/05/06 16:36:50.385 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:36:50.386 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=23e80579-9194-417d-9046-b84d811262e0] [runWorker=true] [2024/05/06 16:36:50.386 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:36:50.386 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:36:50.388 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 105, tp general"] [2024/05/06 16:36:50.388 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 106, tp add index"] [2024/05/06 16:36:50.389 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:36:50.389 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:36:50.389 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:36:50.390 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:36:50.405 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 16:36:50.450 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:36:50.426 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 16:36:50.449 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:50.426 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:50.641 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:36:50.891 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:36:51.141 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:36:51.397 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:36:51.480 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:50.426 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:51.615 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=70.05424ms] [2024/05/06 16:36:51.621 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:36:51.692 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:51.692 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=3] [version=1] [2024/05/06 16:36:51.694 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=149.008881ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:36:50.426 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:51.756 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:50.426 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:51.792 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=3] [2024/05/06 16:36:51.792 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:51.794 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.396210445\n# Parse_time: 0\n# Compile_time: 0.007913783\n# Rewrite_time: 0.000010832\n# Optimize_time: 0\n# Wait_TS: 0.000145316\n# DB: mysql\n# Is_internal: true\n# Digest: 0a22979ad136f741465cf206b13e5717b9758dda34f7cae5a7a925f91711d6a0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse mysql;\nCREATE DATABASE IF NOT EXISTS test;"] [2024/05/06 16:36:51.795 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 16:36:51.835 +08:00] [INFO] [session.go:3817] ["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 16:36:52.152 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:51.854 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:52.152 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:51.854 +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 16:36:52.255 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:51.854 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:52.389 +08:00] [INFO] [info.go:1114] [SetTiFlashGroupConfig] [2024/05/06 16:36:52.771 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=10.396693ms] [phyTblIDs="[4]"] [actionTypes="[8]"] [2024/05/06 16:36:52.843 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:52.844 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=5] [version=2] [2024/05/06 16:36:52.844 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=84.20984ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:51.854 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:52.943 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:51.854 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:53.380 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=5] [2024/05/06 16:36:53.381 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:53.382 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.562652741\n# Parse_time: 0\n# Compile_time: 0.015651492\n# Rewrite_time: 0.000012032\n# Optimize_time: 0\n# Wait_TS: 0.000090715\n# DB: mysql\n# Is_internal: true\n# Digest: 14c6b489558060bdbede877927034270db5af07c6621aa28f87eeaec8727e925\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.user ( Host CHAR(255), User CHAR(32), authentication_string TEXT, plugin CHAR(64), Select_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Insert_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Update_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Delete_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Process_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Grant_priv ENUM('N','Y') NOT NULL DEFAULT 'N', References_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_db_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Super_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Index_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_user_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Event_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_slave_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_client_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Trigger_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Account_locked ENUM('N','Y') NOT NULL DEFAULT 'N', Shutdown_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Reload_priv ENUM('N','Y') NOT NULL DEFAULT 'N', FILE_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Config_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N', Password_reuse_history smallint unsigned DEFAULT NULL, Password_reuse_time smallint unsigned DEFAULT NULL, User_attributes json, Token_issuer VARCHAR(255), Password_expired ENUM('N','Y') NOT NULL DEFAULT 'N', Password_last_changed TIMESTAMP DEFAULT CURRENT_TIMESTAMP(), Password_lifetime SMALLINT UNSIGNED DEFAULT NULL, PRIMARY KEY (Host, User));"] [2024/05/06 16:36:53.394 +08:00] [INFO] [session.go:3817] ["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 16:36:53.472 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:53.407 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:53.472 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:53.407 +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 16:36:53.574 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:53.407 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:53.727 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=2.687936ms] [phyTblIDs="[6]"] [actionTypes="[8]"] [2024/05/06 16:36:53.791 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:53.791 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=7] [version=3] [2024/05/06 16:36:53.792 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=68.967784ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:53.407 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:53.862 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:53.407 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:53.935 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=7] [2024/05/06 16:36:53.935 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:53.937 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.546921947\n# Parse_time: 0\n# Compile_time: 0.004485137\n# Rewrite_time: 0.000013087\n# Optimize_time: 0\n# Wait_TS: 0.000102592\n# DB: mysql\n# Is_internal: true\n# Digest: eeb59bc0d98f65a2a5aef8eaa99596260e746b00eed183baf856558ef03533ac\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.password_history ( Host char(255) NOT NULL DEFAULT '', User char(32) NOT NULL DEFAULT '', Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6), Password text, PRIMARY KEY (Host,User,Password_timestamp ) ) COMMENT='Password history for user accounts' ;"] [2024/05/06 16:36:53.952 +08:00] [INFO] [session.go:3817] ["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 16:36:54.009 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:53.965 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:54.009 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:53.965 +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 16:36:54.115 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:53.965 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:54.218 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=2.060969ms] [phyTblIDs="[8]"] [actionTypes="[8]"] [2024/05/06 16:36:54.240 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:54.241 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=9] [version=4] [2024/05/06 16:36:54.241 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=26.377936ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:53.965 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:54.291 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:53.965 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:54.381 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=9] [2024/05/06 16:36:54.382 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:54.383 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.433237475\n# Parse_time: 0\n# Compile_time: 0.002132707\n# Rewrite_time: 0.000012174\n# Optimize_time: 0\n# Wait_TS: 0.000122926\n# DB: mysql\n# Is_internal: true\n# Digest: 3bc9b46cf9e300a8d240915cf47216424544ed9f992c07151fba2e2cadc41632\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE 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 16:36:54.451 +08:00] [INFO] [session.go:3817] ["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),\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 16:36:54.662 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:54.467 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:54.662 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:54.467 +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),\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 16:36:54.786 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:54.467 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:55.114 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=6.220546ms] [phyTblIDs="[10]"] [actionTypes="[8]"] [2024/05/06 16:36:55.141 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:55.141 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=11] [version=5] [2024/05/06 16:36:55.141 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=34.962031ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:54.467 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:55.207 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:54.467 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:55.450 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=11] [2024/05/06 16:36:55.450 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:55.452 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.016589475\n# Parse_time: 0\n# Compile_time: 0.015340638\n# Rewrite_time: 0.000013311\n# Optimize_time: 0\n# Wait_TS: 0.000105172\n# DB: mysql\n# Is_internal: true\n# Digest: aeaf612801484f0311f850d36f60f29e6d904828682c1f3bb7307dff25ca3a15\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.db ( Host CHAR(255), DB CHAR(64), User CHAR(32), Select_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Insert_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Update_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Delete_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Grant_priv ENUM('N','Y') NOT NULL DEFAULT 'N', References_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Index_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Event_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Trigger_priv ENUM('N','Y') NOT NULL DEFAULT 'N', PRIMARY KEY (Host, DB, User));"] [2024/05/06 16:36:55.468 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:36:55.602 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:55.496 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:55.603 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:55.496 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:36:55.674 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:55.496 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:55.801 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=3.038073ms] [phyTblIDs="[12]"] [actionTypes="[8]"] [2024/05/06 16:36:55.841 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:55.841 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=13] [version=6] [2024/05/06 16:36:55.844 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=46.727127ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:55.496 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:55.900 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:55.496 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:56.037 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=13] [2024/05/06 16:36:56.037 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:56.039 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.574637331\n# Parse_time: 0\n# Compile_time: 0.004251384\n# Rewrite_time: 0.00001136\n# Optimize_time: 0\n# Wait_TS: 0.000081962\n# DB: mysql\n# Is_internal: true\n# Digest: e8b37dad6cc7f05ee1f0be61455667495826928a93ddd09b94e02fbaed113955\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tables_priv ( Host CHAR(255), DB CHAR(64), User CHAR(32), Table_name CHAR(64), Grantor CHAR(77), Timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, Table_priv SET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'), Column_priv SET('Select','Insert','Update','References'), PRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 16:36:56.050 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:36:56.123 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:56.067 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:36:56.127 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:56.067 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:56.191 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:56.067 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:56.315 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=2.900386ms] [phyTblIDs="[14]"] [actionTypes="[8]"] [2024/05/06 16:36:56.343 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:56.343 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=15] [version=7] [2024/05/06 16:36:56.345 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=33.812134ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:56.067 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:56.425 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:56.067 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:56.536 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=15] [2024/05/06 16:36:56.536 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:56.538 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.491408754\n# Parse_time: 0\n# Compile_time: 0.003163974\n# Rewrite_time: 0.000012555\n# Optimize_time: 0\n# Wait_TS: 0.000087231\n# DB: mysql\n# Is_internal: true\n# Digest: a19edbb3caff8cc57619278ab6eb5f791d7a821432309abe7184d0a7bca66b4d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.columns_priv( Host CHAR(255), DB CHAR(64), User CHAR(32), Table_name CHAR(64), Column_name CHAR(64), Timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, Column_priv SET('Select','Insert','Update','References'), PRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 16:36:56.542 +08:00] [INFO] [session.go:3817] ["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(1024) DEFAULT NULL);"] [user=] [2024/05/06 16:36:56.641 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:56.583 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:56.641 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:56.583 +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(1024) DEFAULT NULL);"] [2024/05/06 16:36:56.820 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:56.583 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:56.994 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=1.656949ms] [phyTblIDs="[16]"] [actionTypes="[8]"] [2024/05/06 16:36:57.040 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:57.040 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=17] [version=8] [2024/05/06 16:36:57.041 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=50.105783ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:56.583 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:57.102 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:56.583 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:57.238 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=17] [2024/05/06 16:36:57.238 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:57.240 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.699247252\n# Parse_time: 0\n# Compile_time: 0.001771514\n# Rewrite_time: 0.000012103\n# Optimize_time: 0\n# Wait_TS: 0.00009055\n# DB: mysql\n# Is_internal: true\n# Digest: 55c1ea537145da60f32339dc7a3b69a3859f3f428fbae4e4023eb71dca836f47\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES( VARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY, VARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [2024/05/06 16:36:57.244 +08:00] [INFO] [session.go:3817] ["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 16:36:57.343 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:57.262 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:57.343 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:57.262 +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 16:36:57.409 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:57.262 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:57.541 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=1.93637ms] [phyTblIDs="[18]"] [actionTypes="[8]"] [2024/05/06 16:36:57.591 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:57.591 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=19] [version=9] [2024/05/06 16:36:57.591 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=52.964522ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:57.262 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:57.705 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:57.262 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:57.811 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=19] [2024/05/06 16:36:57.812 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:57.813 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.570384154\n# Parse_time: 0\n# Compile_time: 0.001740179\n# Rewrite_time: 0.000012895\n# Optimize_time: 0\n# Wait_TS: 0.000078471\n# DB: mysql\n# Is_internal: true\n# Digest: 0cc4a9cf54472ccff7c4fb8d7c6e34e6bd96af08b450ad4c9677473f1f517cf2\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tidb( VARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY, VARIABLE_VALUE VARCHAR(1024) DEFAULT NULL, COMMENT VARCHAR(1024));"] [2024/05/06 16:36:57.822 +08:00] [INFO] [session.go:3817] ["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 16:36:57.914 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:57.838 +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 16:36:57.929 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:57.838 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:57.979 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:57.838 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:58.108 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=2.556143ms] [phyTblIDs="[20]"] [actionTypes="[8]"] [2024/05/06 16:36:58.142 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:58.142 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=21] [version=10] [2024/05/06 16:36:58.143 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=38.126341ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:57.838 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:58.199 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:57.838 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:58.317 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=21] [2024/05/06 16:36:58.318 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:58.319 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.500924653\n# Parse_time: 0\n# Compile_time: 0.00367972\n# Rewrite_time: 0.000014267\n# Optimize_time: 0\n# Wait_TS: 0.000084621\n# DB: mysql\n# Is_internal: true\n# Digest: ca851971407336dad93908a9f88f01d828a4e18f332111987f4a7675bced7ea4\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.help_topic ( help_topic_id INT(10) UNSIGNED NOT NULL, name CHAR(64) NOT NULL, help_category_id SMALLINT(5) UNSIGNED NOT NULL, description TEXT NOT NULL, example TEXT NOT NULL, url TEXT NOT NULL, PRIMARY KEY (help_topic_id) clustered, UNIQUE KEY name (name) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 16:36:58.328 +08:00] [INFO] [session.go:3817] ["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 16:36:58.511 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:58.367 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:58.512 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:58.367 +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 16:36:58.583 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:58.367 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:58.719 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=2.510304ms] [phyTblIDs="[22]"] [actionTypes="[8]"] [2024/05/06 16:36:58.741 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:58.741 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=23] [version=11] [2024/05/06 16:36:58.743 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=26.85679ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:58.367 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:58.809 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:58.367 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:58.899 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=23] [2024/05/06 16:36:58.899 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:58.901 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.576255532\n# Parse_time: 0\n# Compile_time: 0.003104979\n# Rewrite_time: 0.000012092\n# Optimize_time: 0\n# Wait_TS: 0.000086203\n# DB: mysql\n# Is_internal: true\n# Digest: db16a74bd407cb00f071eafe96456094f48fc00e802128fc486ef4847b8910b0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_meta ( version BIGINT(64) UNSIGNED NOT NULL, table_id BIGINT(64) NOT NULL, modify_count BIGINT(64) NOT NULL DEFAULT 0, count BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, snapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, INDEX idx_ver(version), UNIQUE INDEX tbl(table_id) );"] [2024/05/06 16:36:58.915 +08:00] [INFO] [session.go:3817] ["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 16:36:58.917 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [2024/05/06 16:36:59.021 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:58.931 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:59.022 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:58.931 +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 16:36:59.089 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:58.931 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:59.303 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=4.215ms] [phyTblIDs="[24]"] [actionTypes="[8]"] [2024/05/06 16:36:59.340 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:59.341 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=25] [version=12] [2024/05/06 16:36:59.343 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=44.513548ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:58.931 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:59.404 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:58.931 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:59.516 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=25] [2024/05/06 16:36:59.516 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:36:59.518 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.609587133\n# Parse_time: 0\n# Compile_time: 0.006982025\n# Rewrite_time: 0.000014435\n# Optimize_time: 0\n# Wait_TS: 0.000089897\n# DB: mysql\n# Is_internal: true\n# Digest: 7780c45a0aac5f123ac85a7e601e79c5d7779e7c09a19953908e547605ed45d2\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_histograms ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, distinct_count BIGINT(64) NOT NULL, null_count BIGINT(64) NOT NULL DEFAULT 0, tot_col_size BIGINT(64) NOT NULL DEFAULT 0, modify_count BIGINT(64) NOT NULL DEFAULT 0, version BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, cm_sketch BLOB(6291456), stats_ver BIGINT(64) NOT NULL DEFAULT 0, flag BIGINT(64) NOT NULL DEFAULT 0, correlation DOUBLE NOT NULL DEFAULT 0, last_analyze_pos LONGBLOB DEFAULT NULL, UNIQUE INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:36:59.527 +08:00] [INFO] [session.go:3817] ["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 16:36:59.641 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:36:59.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:36:59.641 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:59.543 +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 16:36:59.722 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:59.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:36:59.927 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=3.360522ms] [phyTblIDs="[26]"] [actionTypes="[8]"] [2024/05/06 16:36:59.990 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:36:59.990 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=27] [version=13] [2024/05/06 16:36:59.991 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=67.255073ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:36:59.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:00.072 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:36:59.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:00.197 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=27] [2024/05/06 16:37:00.198 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:00.199 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.676368431\n# Parse_time: 0\n# Compile_time: 0.003774659\n# Rewrite_time: 0.000015216\n# Optimize_time: 0\n# Wait_TS: 0.000093311\n# DB: mysql\n# Is_internal: true\n# Digest: 5615b5212342304015b027afb253371dae02f19e53871cfbb034deb145dfce32\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_buckets ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, bucket_id BIGINT(64) NOT NULL, count BIGINT(64) NOT NULL, repeats BIGINT(64) NOT NULL, upper_bound LONGBLOB NOT NULL, lower_bound LONGBLOB , ndv BIGINT NOT NULL DEFAULT 0, UNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id) );"] [2024/05/06 16:37:00.223 +08:00] [INFO] [session.go:3817] ["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 16:37:00.290 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:00.237 +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 16:37:00.306 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:00.237 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:00.389 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:00.237 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:00.538 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=2.525803ms] [phyTblIDs="[28]"] [actionTypes="[8]"] [2024/05/06 16:37:00.590 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:00.590 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=29] [version=14] [2024/05/06 16:37:00.591 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=56.584648ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:00.237 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:00.650 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:00.237 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:00.753 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=29] [2024/05/06 16:37:00.754 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:00.755 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.538480804\n# Parse_time: 0\n# Compile_time: 0.006704378\n# Rewrite_time: 0.000011751\n# Optimize_time: 0\n# Wait_TS: 0.000081554\n# DB: mysql\n# Is_internal: true\n# Digest: 4f764dd084d16197c847e23500fcaf8b96dbbabd598c823de37967bfa2ad51cd\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.gc_delete_range ( job_id BIGINT NOT NULL COMMENT \"the DDL job ID\", element_id BIGINT NOT NULL COMMENT \"the schema element ID\", start_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", end_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", ts BIGINT NOT NULL COMMENT \"timestamp in uint64\", UNIQUE KEY delete_range_index (job_id, element_id) );"] [2024/05/06 16:37:00.812 +08:00] [INFO] [session.go:3817] ["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 16:37:00.906 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:00.833 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:00.906 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:00.833 +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 16:37:01.047 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:00.833 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:01.187 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=2.446033ms] [phyTblIDs="[30]"] [actionTypes="[8]"] [2024/05/06 16:37:01.241 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:01.241 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=31] [version=15] [2024/05/06 16:37:01.242 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=58.052224ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:00.833 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:01.320 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:00.833 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:01.463 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=31] [2024/05/06 16:37:01.464 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:01.466 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.69160619\n# Parse_time: 0\n# Compile_time: 0.038052484\n# Rewrite_time: 0.000011403\n# Optimize_time: 0\n# Wait_TS: 0.000105617\n# DB: mysql\n# Is_internal: true\n# Digest: 532cf71b38f2568975d61180716af7e2b05c9ca11023688224ed0c0eece42fa9\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done ( job_id BIGINT NOT NULL COMMENT \"the DDL job ID\", element_id BIGINT NOT NULL COMMENT \"the schema element ID\", start_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", end_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", ts BIGINT NOT NULL COMMENT \"timestamp in uint64\", UNIQUE KEY delete_range_done_index (job_id, element_id) );"] [2024/05/06 16:37:01.471 +08:00] [INFO] [session.go:3817] ["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 16:37:01.633 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:01.541 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:01.633 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:01.541 +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 16:37:01.721 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:01.541 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:01.863 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=2.434788ms] [phyTblIDs="[32]"] [actionTypes="[8]"] [2024/05/06 16:37:01.890 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:01.890 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=33] [version=16] [2024/05/06 16:37:01.893 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=32.767825ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:01.541 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:01.947 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:01.541 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:02.044 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=33] [2024/05/06 16:37:02.044 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:02.046 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.576553747\n# Parse_time: 0\n# Compile_time: 0.002229224\n# Rewrite_time: 0.00001353\n# Optimize_time: 0\n# Wait_TS: 0.000092743\n# DB: mysql\n# Is_internal: true\n# Digest: 28f04155dca9c7fd3a5e16199cefd152c629a57a64d0ccb2ed0f10309c23c59c\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_feedback ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, feedback BLOB NOT NULL, INDEX hist(table_id, is_index, hist_id) );"] [2024/05/06 16:37:02.055 +08:00] [INFO] [session.go:3817] ["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 16:37:02.159 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:02.07 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:02.159 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:02.07 +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 16:37:02.280 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:02.07 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:02.418 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=4.129294ms] [phyTblIDs="[34]"] [actionTypes="[8]"] [2024/05/06 16:37:02.446 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:02.446 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=35] [version=17] [2024/05/06 16:37:02.447 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=36.11705ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:02.07 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:02.517 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:02.07 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:02.603 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=35] [2024/05/06 16:37:02.603 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:02.605 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.553052486\n# Parse_time: 0\n# Compile_time: 0.003581319\n# Rewrite_time: 0.000012465\n# Optimize_time: 0\n# Wait_TS: 0.000090922\n# DB: mysql\n# Is_internal: true\n# Digest: 13e2fcff943423afddaa84c2d34108628854b5953bc7c41d2879240f077a5bd6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.role_edges ( FROM_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', FROM_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', TO_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', TO_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', WITH_ADMIN_OPTION ENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N', PRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER) );"] [2024/05/06 16:37:02.612 +08:00] [INFO] [session.go:3817] ["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 16:37:02.719 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:02.659 +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 16:37:02.719 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:02.659 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:02.795 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:02.659 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:02.984 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=2.348706ms] [phyTblIDs="[36]"] [actionTypes="[8]"] [2024/05/06 16:37:03.041 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:03.041 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=37] [version=18] [2024/05/06 16:37:03.043 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=62.625423ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:02.659 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:03.118 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:02.659 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:03.225 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=37] [2024/05/06 16:37:03.225 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:03.227 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.618048961\n# Parse_time: 0\n# Compile_time: 0.003182225\n# Rewrite_time: 0.000013618\n# Optimize_time: 0\n# Wait_TS: 0.000084716\n# DB: mysql\n# Is_internal: true\n# Digest: 9e6b544fb0287e9d8a74031560ed0cd6a5b4e54db073b893a68a76b05d929781\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.default_roles ( HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', DEFAULT_ROLE_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%', DEFAULT_ROLE_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', PRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER) );"] [2024/05/06 16:37:03.261 +08:00] [INFO] [session.go:3817] ["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 16:37:03.399 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:03.289 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:03.399 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:03.289 +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 16:37:03.455 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:03.289 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:03.675 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=3.497574ms] [phyTblIDs="[38]"] [actionTypes="[8]"] [2024/05/06 16:37:03.690 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:03.690 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=39] [version=19] [2024/05/06 16:37:03.691 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=22.052535ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:03.289 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:03.741 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:03.289 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:03.878 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=39] [2024/05/06 16:37:03.878 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:03.904 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.646274294\n# Parse_time: 0\n# Compile_time: 0.027037101\n# Rewrite_time: 0.000013905\n# Optimize_time: 0\n# Wait_TS: 0.000086934\n# DB: mysql\n# Is_internal: true\n# Digest: 0a4bc55a9ab72ef62ddaa1ee6472d7872306066fd783a8bb67047a497fbb4dbe\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.bind_info ( original_sql TEXT NOT NULL, bind_sql TEXT NOT NULL, default_db TEXT NOT NULL, status TEXT NOT NULL, create_time TIMESTAMP(3) NOT NULL, update_time TIMESTAMP(3) NOT NULL, charset TEXT NOT NULL, collation TEXT NOT NULL, source VARCHAR(10) NOT NULL DEFAULT 'unknown', sql_digest varchar(64), plan_digest varchar(64), INDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\", INDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\" ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 16:37:03.939 +08:00] [INFO] [session.go:3817] ["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 16:37:04.017 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:03.952 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:04.017 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:03.952 +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 16:37:04.112 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:03.952 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:04.217 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=2.439846ms] [phyTblIDs="[40]"] [actionTypes="[8]"] [2024/05/06 16:37:04.240 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:04.240 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=41] [version=20] [2024/05/06 16:37:04.240 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=26.241261ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:03.952 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:04.305 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:03.952 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:04.422 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=41] [2024/05/06 16:37:04.423 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:04.424 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.501719737\n# Parse_time: 0\n# Compile_time: 0.016643767\n# Rewrite_time: 0.000012033\n# Optimize_time: 0\n# Wait_TS: 0.000108373\n# DB: mysql\n# Is_internal: true\n# Digest: 04a90564803373a6eb3f5a52e8794d25c4d28f6c18af7899b0b9f1bf1539ec72\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_top_n ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, value LONGBLOB, count BIGINT(64) UNSIGNED NOT NULL, INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:37:04.429 +08:00] [INFO] [session.go:3817] ["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 16:37:04.506 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:04.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:04.507 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:04.443 +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 16:37:04.578 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:04.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:04.679 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=1.836515ms] [phyTblIDs="[42]"] [actionTypes="[8]"] [2024/05/06 16:37:04.741 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:04.741 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=43] [version=21] [2024/05/06 16:37:04.745 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=68.123216ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:04.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:04.791 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:04.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:04.859 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=43] [2024/05/06 16:37:04.859 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:04.861 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.433834074\n# Parse_time: 0\n# Compile_time: 0.00196966\n# Rewrite_time: 0.000012682\n# Optimize_time: 0\n# Wait_TS: 0.000066491\n# DB: mysql\n# Is_internal: true\n# Digest: 3e05fb8977f83f4e32022552aded3680a039cddc4239c339119a655dc1cffdbb\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist ( name CHAR(100) NOT NULL, store_type CHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb', reason VARCHAR(200) );"] [2024/05/06 16:37:04.864 +08:00] [INFO] [session.go:3817] ["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 16:37:04.926 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:04.884 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:04.926 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:04.884 +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 16:37:05.056 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:04.884 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:05.142 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=1.397556ms] [phyTblIDs="[44]"] [actionTypes="[8]"] [2024/05/06 16:37:05.191 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:05.191 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=45] [version=22] [2024/05/06 16:37:05.193 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=52.979544ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:04.884 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:05.250 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:04.884 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:05.343 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=45] [2024/05/06 16:37:05.343 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:05.345 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.481635096\n# Parse_time: 0\n# Compile_time: 0.001253344\n# Rewrite_time: 0.000011361\n# Optimize_time: 0\n# Wait_TS: 0.000083608\n# DB: mysql\n# Is_internal: true\n# Digest: aee36d5dc7131e4b6e3321cc046ae8b5ec8156ec1ef82481df0b97b8c734325f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist ( name CHAR(100) NOT NULL );"] [2024/05/06 16:37:05.355 +08:00] [INFO] [session.go:3817] ["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 16:37:05.472 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:05.381 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:05.472 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:05.381 +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 16:37:05.570 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:05.381 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:05.717 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=3.275537ms] [phyTblIDs="[46]"] [actionTypes="[8]"] [2024/05/06 16:37:05.741 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:05.741 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=47] [version=23] [2024/05/06 16:37:05.741 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=28.245786ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:05.381 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:05.809 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:05.381 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:05.971 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=47] [2024/05/06 16:37:05.971 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:05.974 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.623393552\n# Parse_time: 0\n# Compile_time: 0.004370875\n# Rewrite_time: 0.000013247\n# Optimize_time: 0\n# Wait_TS: 0.000112812\n# DB: mysql\n# Is_internal: true\n# Digest: bd2a0d9809689d30e22f8d82b29b4ee110d16cda3353b77d74a1938afb746386\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_extended ( name varchar(32) NOT NULL, type tinyint(4) NOT NULL, table_id bigint(64) NOT NULL, column_ids varchar(32) NOT NULL, stats blob DEFAULT NULL, version bigint(64) unsigned NOT NULL, status tinyint(4) NOT NULL, PRIMARY KEY(name, table_id), KEY idx_1 (table_id, status, version), KEY idx_2 (status, version) );"] [2024/05/06 16:37:05.983 +08:00] [INFO] [session.go:3817] ["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 16:37:06.102 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:06.002 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:06.113 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:06.002 +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 16:37:06.270 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:06.002 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:06.492 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=2.417297ms] [phyTblIDs="[48]"] [actionTypes="[8]"] [2024/05/06 16:37:06.540 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:06.540 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=49] [version=24] [2024/05/06 16:37:06.541 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=52.266618ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:06.002 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:06.633 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:06.002 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:06.735 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=49] [2024/05/06 16:37:06.736 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:06.738 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.757479075\n# Parse_time: 0\n# Compile_time: 0.003372417\n# Rewrite_time: 0.000013149\n# Optimize_time: 0\n# Wait_TS: 0.000098111\n# DB: mysql\n# Is_internal: true\n# Digest: f72fffa4e6072164db3e01e2e29568b0b93c5045737047be527343b1737b0882\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.schema_index_usage ( TABLE_ID bigint(64), INDEX_ID bigint(21), QUERY_COUNT bigint(64), ROWS_SELECTED bigint(64), LAST_USED_AT timestamp, PRIMARY KEY(TABLE_ID, INDEX_ID) );"] [2024/05/06 16:37:06.749 +08:00] [INFO] [session.go:3817] ["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 16:37:06.818 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:06.774 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:06.818 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:06.774 +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 16:37:06.918 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:06.774 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:07.016 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=2.300004ms] [phyTblIDs="[50]"] [actionTypes="[8]"] [2024/05/06 16:37:07.040 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:07.041 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=51] [version=25] [2024/05/06 16:37:07.042 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=28.934928ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:06.774 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:07.096 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:06.774 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:07.189 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=51] [2024/05/06 16:37:07.190 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:07.192 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.450277971\n# Parse_time: 0\n# Compile_time: 0.005783467\n# Rewrite_time: 0.00001468\n# Optimize_time: 0\n# Wait_TS: 0.000153111\n# DB: mysql\n# Is_internal: true\n# Digest: 27ef2533f9d97f96c8c86a69a0de51aad04499856acd05fe4a4b93fb5b6043d0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, value LONGBLOB, INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:37:07.200 +08:00] [INFO] [session.go:3817] ["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 16:37:07.289 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:07.225 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:07.290 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:07.225 +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 16:37:07.516 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:07.225 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:07.933 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=3.118888ms] [phyTblIDs="[52]"] [actionTypes="[8]"] [2024/05/06 16:37:07.990 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:07.990 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=53] [version=26] [2024/05/06 16:37:07.991 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=66.102405ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:07.225 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:08.090 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:07.225 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:08.233 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=53] [2024/05/06 16:37:08.242 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:08.244 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.046656167\n# Parse_time: 0\n# Compile_time: 0.003323099\n# Rewrite_time: 0.00001219\n# Optimize_time: 0\n# Wait_TS: 0.00010819\n# DB: mysql\n# Is_internal: true\n# Digest: 79c6e54229df7b01d20ffaf8ac1077aa9ef39e604df30d5ce852dd7049cc3ddd\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.global_grants ( USER char(32) NOT NULL DEFAULT '', HOST char(255) NOT NULL DEFAULT '', PRIV char(32) NOT NULL DEFAULT '', WITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N', PRIMARY KEY (USER,HOST,PRIV) );"] [2024/05/06 16:37:08.269 +08:00] [INFO] [session.go:3817] ["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 16:37:08.422 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:08.299 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:08.422 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:08.299 +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 16:37:08.487 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:08.299 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:08.707 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=2.105761ms] [phyTblIDs="[54]"] [actionTypes="[8]"] [2024/05/06 16:37:08.740 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:08.751 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=55] [version=27] [2024/05/06 16:37:08.752 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=48.55218ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:08.299 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:08.816 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:08.299 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:08.928 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=55] [2024/05/06 16:37:08.929 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:08.945 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.66596091\n# Parse_time: 0\n# Compile_time: 0.004852204\n# Rewrite_time: 0.000017601\n# Optimize_time: 0\n# Wait_TS: 0.00008379\n# DB: mysql\n# Is_internal: true\n# Digest: 08f858a5bd3a1fd5dfd809dd4b9d6c72db69f874b06ad0e91987f9e89a5cf89a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist ( id bigint(64) auto_increment, filter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\", filter_value varchar(32) NOT NULL, key idx(filter_type), primary key(id) );"] [2024/05/06 16:37:08.965 +08:00] [INFO] [session.go:3817] ["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 16:37:09.064 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:08.986 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:09.064 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:08.986 +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 16:37:09.169 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:08.986 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:09.375 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=2.203706ms] [phyTblIDs="[56]"] [actionTypes="[8]"] [2024/05/06 16:37:09.390 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:09.390 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=57] [version=28] [2024/05/06 16:37:09.404 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=32.242976ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:08.986 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:09.587 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:08.986 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:09.726 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=57] [2024/05/06 16:37:09.726 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:09.728 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.778695865\n# Parse_time: 0\n# Compile_time: 0.015331628\n# Rewrite_time: 0.000012914\n# Optimize_time: 0\n# Wait_TS: 0.00008965\n# DB: mysql\n# Is_internal: true\n# Digest: 3a5634ff31bd7d32849c5404b7ffc419c7a7074307b815e5369eb6ca363cbcd0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.column_stats_usage ( table_id BIGINT(64) NOT NULL, column_id BIGINT(64) NOT NULL, last_used_at TIMESTAMP, last_analyzed_at TIMESTAMP, PRIMARY KEY (table_id, column_id) CLUSTERED );"] [2024/05/06 16:37:09.743 +08:00] [INFO] [session.go:3817] ["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 16:37:09.848 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:09.758 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:09.848 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:09.758 +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 16:37:09.950 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:09.758 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:10.175 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=2.010279ms] [phyTblIDs="[58]"] [actionTypes="[8]"] [2024/05/06 16:37:10.241 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:10.241 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=59] [version=29] [2024/05/06 16:37:10.243 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=71.054621ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:09.758 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:10.313 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:09.758 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:10.490 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=59] [2024/05/06 16:37:10.491 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:10.493 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.755334273\n# Parse_time: 0\n# Compile_time: 0.005148941\n# Rewrite_time: 0.000013044\n# Optimize_time: 0\n# Wait_TS: 0.000090698\n# DB: mysql\n# Is_internal: true\n# Digest: d5bebde055ca14bff3e131e086a86c4095b9d04ea6fc326b4c2f16ffd61fbd2d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.table_cache_meta ( tid bigint(11) NOT NULL DEFAULT 0, lock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE', lease bigint(20) NOT NULL DEFAULT 0, oldReadLease bigint(20) NOT NULL DEFAULT 0, PRIMARY KEY (tid) );"] [2024/05/06 16:37:10.523 +08:00] [INFO] [session.go:3817] ["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 16:37:10.540 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [2024/05/06 16:37:10.657 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:10.567 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:10.657 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:10.567 +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 16:37:10.701 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:10.567 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:10.806 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=2.457743ms] [phyTblIDs="[60]"] [actionTypes="[8]"] [2024/05/06 16:37:10.845 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:10.845 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=61] [version=30] [2024/05/06 16:37:10.847 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=44.385389ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:10.567 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:10.915 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:10.567 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:11.003 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=61] [2024/05/06 16:37:11.006 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:11.009 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.488467571\n# Parse_time: 0\n# Compile_time: 0.003441004\n# Rewrite_time: 0.000011413\n# Optimize_time: 0\n# Wait_TS: 0.000097905\n# DB: mysql\n# Is_internal: true\n# Digest: 987fcd9b9a604209ec1101d918419b993c42f84fe228e20aee2fcca2931ff93e\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.analyze_options ( table_id BIGINT(64) NOT NULL, sample_num BIGINT(64) NOT NULL DEFAULT 0, sample_rate DOUBLE NOT NULL DEFAULT -1, buckets BIGINT(64) NOT NULL DEFAULT 0, topn BIGINT(64) NOT NULL DEFAULT -1, column_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT', column_ids TEXT(19372), PRIMARY KEY (table_id) CLUSTERED );"] [2024/05/06 16:37:11.043 +08:00] [INFO] [session.go:3817] ["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\t);"] [user=] [2024/05/06 16:37:11.195 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:11.063 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:11.196 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:11.063 +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\t);"] [2024/05/06 16:37:11.378 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:11.063 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:11.525 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=2.766912ms] [phyTblIDs="[62]"] [actionTypes="[8]"] [2024/05/06 16:37:11.590 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:11.590 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=63] [version=31] [2024/05/06 16:37:11.592 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=70.462172ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:11.063 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:11.652 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:11.063 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:11.724 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=63] [2024/05/06 16:37:11.733 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:11.743 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.72788006\n# Parse_time: 0\n# Compile_time: 0.028822233\n# Rewrite_time: 0.000013529\n# Optimize_time: 0\n# Wait_TS: 0.00010626\n# DB: mysql\n# Is_internal: true\n# Digest: 11757f6de6b3d2a64e92f14cd7b7f739729563ede3b0139d016148eba0b27ebf\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_history ( table_id bigint(64) NOT NULL, stats_data longblob NOT NULL, seq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice', version bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN', create_time datetime(6) NOT NULL, UNIQUE KEY table_version_seq (table_id, version, seq_no), KEY table_create_time (table_id, create_time, seq_no) );"] [2024/05/06 16:37:11.757 +08:00] [INFO] [session.go:3817] ["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\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\t);"] [user=] [2024/05/06 16:37:11.921 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:11.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:11.921 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:11.771 +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\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\t);"] [2024/05/06 16:37:12.072 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:11.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:12.318 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=2.968348ms] [phyTblIDs="[64]"] [actionTypes="[8]"] [2024/05/06 16:37:12.398 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:12.398 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=65] [version=32] [2024/05/06 16:37:12.401 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=86.398714ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:11.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:12.614 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:11.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:12.712 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=65] [2024/05/06 16:37:12.712 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:12.735 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.986515283\n# Parse_time: 0\n# Compile_time: 0.008873233\n# Rewrite_time: 0.000013772\n# Optimize_time: 0\n# Wait_TS: 0.000090297\n# DB: mysql\n# Is_internal: true\n# Digest: ebccd6f5d49fb0fcff4d7dc20bb3ae798d172a92ba5f6709445c980166f7e32f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_meta_history ( table_id bigint(64) NOT NULL, modify_count bigint(64) NOT NULL, count bigint(64) NOT NULL, version bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN', create_time datetime(6) NOT NULL, UNIQUE KEY table_version (table_id, version), KEY table_create_time (table_id, create_time) );"] [2024/05/06 16:37:12.777 +08:00] [INFO] [session.go:3817] ["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 16:37:13.173 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:12.822 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:13.173 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:12.822 +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 16:37:13.240 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:12.822 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:13.516 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=3.788448ms] [phyTblIDs="[66]"] [actionTypes="[8]"] [2024/05/06 16:37:13.540 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:13.540 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=67] [version=33] [2024/05/06 16:37:13.542 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=30.932056ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:12.822 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:13.620 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:12.822 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:13.809 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=67] [2024/05/06 16:37:13.809 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:13.811 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.047504924\n# Parse_time: 0\n# Compile_time: 0.014024611\n# Rewrite_time: 0.000013804\n# Optimize_time: 0\n# Wait_TS: 0.0000935\n# DB: mysql\n# Is_internal: true\n# Digest: bfb9a3ff60c3c60c054a207c0a0db06c87e29edbe94005d8d5c89fe484f4f90a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.analyze_jobs ( id BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT, update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, table_schema CHAR(64) NOT NULL DEFAULT '', table_name CHAR(64) NOT NULL DEFAULT '', partition_name CHAR(64) NOT NULL DEFAULT '', job_info TEXT NOT NULL, processed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, start_time TIMESTAMP, end_time TIMESTAMP, state ENUM('pending', 'running', 'finished', 'failed') NOT NULL, fail_reason TEXT, instance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job', process_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job', PRIMARY KEY (id), KEY (update_time) );"] [2024/05/06 16:37:13.829 +08:00] [INFO] [session.go:3817] ["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 16:37:13.969 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:13.848 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:13.969 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:13.848 +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 16:37:14.207 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:13.848 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:14.329 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=1.726427ms] [phyTblIDs="[68]"] [actionTypes="[8]"] [2024/05/06 16:37:14.391 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:14.391 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=69] [version=34] [2024/05/06 16:37:14.393 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=66.841392ms] [job="ID:69, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:13.848 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:14.564 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:69, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:13.848 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:14.697 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=69] [2024/05/06 16:37:14.697 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:14.699 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.877857453\n# Parse_time: 0\n# Compile_time: 0.008594584\n# Rewrite_time: 0.000014297\n# Optimize_time: 0\n# Wait_TS: 0.000087357\n# DB: mysql\n# Is_internal: true\n# Digest: 85d0480e8afeca7d94d07ca1a681df6c7f89f1fda753ceb6e02b51caf3714c1c\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.advisory_locks ( lock_name VARCHAR(64) NOT NULL PRIMARY KEY );"] [2024/05/06 16:37:14.803 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:37:14.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] [2024/05/06 16:37:14.818 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:14.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:14.928 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:14.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:15.057 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=2.684898ms] [phyTblIDs="[70]"] [actionTypes="[2097152]"] [2024/05/06 16:37:15.091 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:15.091 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=71] [version=35] [2024/05/06 16:37:15.091 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=38.167813ms] [job="ID:71, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:37:14.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:15.205 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:71, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:14.746 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:15.324 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=71] [2024/05/06 16:37:15.325 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:15.326 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.619446752\n# Parse_time: 0\n# Compile_time: 0.007037476\n# Rewrite_time: 0.003907979\n# Optimize_time: 0\n# Wait_TS: 0.000081829\n# DB: mysql\n# Is_internal: true\n# Digest: 812c81f344f5d0c8b8aedcb68ff1dca865b59104853273f7e66b8abff5429992\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE OR REPLACE VIEW mysql.tidb_mdl_view as ( select JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID );"] [2024/05/06 16:37:15.396 +08:00] [INFO] [session.go:3817] ["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 16:37:15.476 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:15.422 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:15.476 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:15.422 +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 16:37:15.536 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:15.422 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:15.683 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=2.574107ms] [phyTblIDs="[72]"] [actionTypes="[8]"] [2024/05/06 16:37:15.741 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:15.741 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=73] [version=36] [2024/05/06 16:37:15.741 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=64.877195ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:15.422 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:15.802 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:15.422 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:15.927 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=73] [2024/05/06 16:37:15.928 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:15.930 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.598144297\n# Parse_time: 0\n# Compile_time: 0.064563706\n# Rewrite_time: 0.000011615\n# Optimize_time: 0\n# Wait_TS: 0.000086796\n# DB: mysql\n# Is_internal: true\n# Digest: 3d2f349b1c68ee2b30e34bad8bb3838af6c40d7a26072b2d29d801d7fedbac48\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.plan_replayer_status ( sql_digest VARCHAR(128), plan_digest VARCHAR(128), origin_sql TEXT, token VARCHAR(128), update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fail_reason TEXT, instance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 16:37:15.938 +08:00] [INFO] [session.go:3817] ["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 16:37:15.993 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:15.951 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:15.993 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:15.951 +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 16:37:16.069 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:15.951 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:16.159 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=2.208072ms] [phyTblIDs="[74]"] [actionTypes="[8]"] [2024/05/06 16:37:16.241 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:16.241 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=75] [version=37] [2024/05/06 16:37:16.241 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=90.33231ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:15.951 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:16.324 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:15.951 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:16.436 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=75] [2024/05/06 16:37:16.436 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:16.438 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.50474223\n# Parse_time: 0\n# Compile_time: 0.004700452\n# Rewrite_time: 0.000015111\n# Optimize_time: 0\n# Wait_TS: 0.000085013\n# DB: mysql\n# Is_internal: true\n# Digest: 8d9754df14c826803fed84f1ae3eb8fc9729e76a793b6be6bf25967f1929d039\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.plan_replayer_task ( sql_digest VARCHAR(128) NOT NULL, plan_digest VARCHAR(128) NOT NULL, update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 16:37:16.444 +08:00] [INFO] [session.go:3817] ["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 16:37:16.522 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:16.481 +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 16:37:16.523 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:16.481 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:16.642 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:16.481 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:16.878 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=2.350359ms] [phyTblIDs="[76]"] [actionTypes="[8]"] [2024/05/06 16:37:16.940 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:16.940 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=77] [version=38] [2024/05/06 16:37:16.941 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=38] ["take time"=66.318803ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:16.481 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:16.995 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:16.481 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:17.072 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=77] [2024/05/06 16:37:17.072 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:17.074 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.632064868\n# Parse_time: 0\n# Compile_time: 0.002512455\n# Rewrite_time: 0.000013136\n# Optimize_time: 0\n# Wait_TS: 0.00006662\n# DB: mysql\n# Is_internal: true\n# Digest: b57fdc4b14aba5f29d915d04e5e4557f60a758fd65ec571368527cd45c6ef82a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_table_locked( table_id bigint(64) NOT NULL, modify_count bigint(64) NOT NULL DEFAULT 0, count bigint(64) NOT NULL DEFAULT 0, version bigint(64) UNSIGNED NOT NULL DEFAULT 0, PRIMARY KEY (table_id));"] [2024/05/06 16:37:17.086 +08:00] [INFO] [session.go:3817] ["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 16:37:17.243 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:17.115 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:17.244 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:17.115 +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 16:37:17.304 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 107, tp general"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:17.115 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:17.531 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=4.684798ms] [phyTblIDs="[78]"] [actionTypes="[8]"] [2024/05/06 16:37:17.590 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:17.590 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=79] [version=39] [2024/05/06 16:37:17.592 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=39] ["take time"=66.888774ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:17.115 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:17.654 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 107, tp general"] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:17.115 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:17.847 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=79] [2024/05/06 16:37:17.868 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:17.871 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.789495267\n# Parse_time: 0\n# Compile_time: 0.005130378\n# Rewrite_time: 0.000011707\n# Optimize_time: 0\n# Wait_TS: 0.000089782\n# DB: mysql\n# Is_internal: true\n# Digest: a30bd3c3a49070c554e65922e84c6b76e646842e3925a859fcde73941a7cb423\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status ( table_id bigint(64) PRIMARY KEY, parent_table_id bigint(64), table_statistics text DEFAULT NULL, last_job_id varchar(64) DEFAULT NULL, last_job_start_time timestamp NULL DEFAULT NULL, last_job_finish_time timestamp NULL DEFAULT NULL, last_job_ttl_expire timestamp NULL DEFAULT NULL, last_job_summary text DEFAULT NULL, current_job_id varchar(64) DEFAULT NULL, current_job_owner_id varchar(64) DEFAULT NULL, current_job_owner_addr varchar(256) DEFAULT NULL, current_job_owner_hb_time timestamp, current_job_start_time timestamp NULL DEFAULT NULL, current_job_ttl_expire timestamp NULL DEFAULT NULL, current_job_state text DEFAULT NULL, current_job_status varchar(64) DEFAULT NULL, current_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 16:37:18.837 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572932911890432\n# Query_time: 0.519946063\n# Parse_time: 0\n# Compile_time: 0.271998683\n# Rewrite_time: 0.007027693\n# Optimize_time: 0\n# Wait_TS: 0.00008537\n# DB: mysql\n# Is_internal: true\n# Digest: ca2019e08a331284bd0c64be228a0537fcf9f5983e95d94b67ef42dcb8f54385\n# Num_cop_tasks: 0\n# Mem_max: 348497\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: true\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('pAPgMAkyN18xCTAJMAlOL0EJMAl0aW1lOjIzNC40bXMsIGxvb3BzOjEsIHByZXBhcmU6IHt0b3RhbDogESJMYXV0b19pZF9hbGxvY2F0b3I6IHsFDGRfY250OiAxLCBHZXQ6e251bV9ycGM6NCwgdAFBAF8FaLg0NDMuMcK1c30sIGNvbW1pdF90eG46IHtwcmV3cml0ZTo3MjEuM8K1cywgZ2V0XxEkGHM6MjQuOcIBFwkTDDo1MDIFSSQsIHNsb3dlc3RfEUMFdgQgewV1aDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0bwHbBQcIMSwgGY4YcHJpbWFyeUZEAAAwikQADWQYbnVtOjEsIAXQEF9rZXlzGQ6YYnl0ZTozMn19fSwgaW5zZXJ0OjE5OS45bXMJOTIuMyBLQglOL0EK')\n# Binary_plan: tidb_decode_binary_plan('sAPwQAqrAwoISW5zZXJ0XzE4AUABUgNOL0FaFXRpbWU6MjM0LjRtcywgbG9vcHM6MWLvAnByZXBhcmU6IHt0b3RhbDogESNMYXV0b19pZF9hbGxvY2F0b3I6IHsFDGRfY250OiAxLCBHZXQ6e251bV9ycGM6NCwgdAFBAF8Fabg0NDMuMcK1c30sIGNvbW1pdF90eG46IHtwcmV3cml0ZTo3MjEuM8K1cywgZ2V0XxEkGHM6MjQuOcIBFwkTDDo1MDIFSSQsIHNsb3dlc3RfEUMFdgQgewV1aDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0bwHbBQcIMSwgGY4YcHJpbWFyeUZEAAAwikQADWQYbnVtOjEsIAXQEF9rZXlzGQ6oYnl0ZTozMn19fSwgaW5zZXJ0OjE5OS45bXNw0eIFeP///////////wEYAQ==')\nINSERT HIGH_PRIORITY INTO mysql.GLOBAL_VARIABLES VALUES (\"sync_master_info\", \"10000\"), (\"innodb_compression_level\", \"6\"), (\"tidb_index_lookup_join_concurrency\", \"-1\"), (\"tidb_enable_extended_stats\", \"OFF\"), (\"tidb_opt_skew_distinct_agg\", \"OFF\"), (\"slave_rows_search_algorithms\", \"TABLE_SCAN,INDEX_SCAN\"), (\"tidb_ttl_job_run_interval\", \"1h0m0s\"), (\"gtid_executed_compression_period\", \"\"), (\"flush_time\", \"0\"), (\"lc_messages\", \"en_US\"), (\"windowing_use_high_precision\", \"ON\"), (\"tidb_mem_oom_action\", \"LOG\"), (\"sql_safe_updates\", \"OFF\"), (\"tidb_enable_metadata_lock\", \"ON\"), (\"time_zone\", \"SYSTEM\"), (\"tidb_server_memory_limit_sess_min_size\", \"134217728\"), (\"log_syslog_include_pid\", \"\"), (\"innodb_purge_rseg_truncate_frequency\", \"\"), (\"max_connect_errors\", \"100\"), (\"ndbinfo_max_rows\", \"\"), (\"tidb_window_concurrency\", \"-1\"), (\"innodb_buffer_pool_dump_pct\", \"\"), (\"tidb_merge_partition_stats_concurrency\", \"1\"), (\"tidb_distsql_scan_concurrency\", \"15\"), (\"rpl_semi_sync_master_wait_point\", \"AFTER_SYNC\"), (\"tidb_opt_correlation_exp_factor\", \"1\"), (\"tidb_store_batch_size\", \"0\"), (\"tidb_auto_analyze_partition_batch_size\", \"1\"), (\"tidb_enable_top_sql\", \"OFF\"), (\"sha256_password_proxy_users\", \"\"), (\"myisam_data_pointer_size\", \"6\"), (\"tidb_mem_quota_binding_cache\", \"67108864\"), (\"tidb_top_sql_max_time_series_count\", \"100\"), (\"innodb_max_purge_lag\", \"0\"), (\"validate_password.dictionary\", \"\"), (\"innodb_cmp_per_index_enabled\", \"OFF\"), (\"ndb_eventbuffer_max_alloc\", \"\"), (\"tidb_rc_write_check_ts\", \"OFF\"), (\"tidb_ddl_reorg_worker_cnt\", \"4\"), (\"tidb_evolve_plan_task_end_time\", \"23:59 +0000\"), (\"innodb_commit_concurrency\", \"0\"), (\"mysql_native_password_proxy_users\", \"\"), (\"net_read_timeout\", \"30\"), (\"innodb_thread_concurrency\", \"0\"), (\"innodb_buffer_pool_filename\", \"ib_buffer_pool\"), (\"tidb_enable_gc_aware_memory_track\", \"OFF\"), (\"slave_allow_batching\", \"OFF\"), (\"tidb_txn_commit_batch_size\", \"16384\"), (\"transaction_alloc_block_size\", \"8192\"), (\"tidb_index_lookup_size\", \"20000\"), (\"innodb_buffer_pool_dump_now\", \"OFF\"), (\"innodb_status_output_locks\", \"OFF\"), (\"delay_key_write\", \"ON\"), (\"tidb_ddl_flashback_concurrency\", \"64\"), (\"local_infile\", \"ON\"), (\"log_syslog_facility\", \"\"), (\"interactive_timeout\", \"28800\"), (\"innodb_fast_shutdown\", \"1\"), (\"tiflash_fastscan\", \"OFF\"), (\"tidb_remove_orderby_in_subquery\", \"OFF\"), (\"tidb_enable_stmt_summary\", \"ON\"), (\"innodb_file_format\", \"Barracuda\"), (\"key_cache_block_size\", \"1024\"), (\"lock_wait_timeout\", \"31536000\"), (\"innodb_flush_sync\", \"\"), (\"join_buffer_size\", \"262144\"), (\"enforce_gtid_consistency\", \"OFF\"), (\"tidb_opt_prefer_range_scan\", \"OFF\"), (\"ndbinfo_show_hidden\", \"\"), (\"innodb_strict_mode\", \"ON\"), (\"innodb_adaptive_flushing\", \"ON\"), (\"tidb_auto_analyze_ratio\", \"0.5\"), (\"innodb_stats_on_metadata\", \"0\"), (\"read_buffer_size\", \"131072\"), (\"tidb_enable_plan_replayer_capture\", \"OFF\"), (\"innodb_sync_spin_loops\", \"30\"), (\"tidb_stmt_summary_history_size\", \"24\"), (\"tidb_enable_analyze_snapshot\", \"OFF\"), (\"bulk_insert_buffer_size\", \"8388608\"), (\"tidb_index_serial_scan_concurrency\", \"1\"), (\"tidb_external_ts\", \"0\"), (\"tidb_shard_allocate_step\", \"9223372036854775807\"), (\"group_concat_max_len\", \"1024\"), (\"password_reuse_interval\", \"0\"), (\"query_cache_type\", \"OFF\"), (\"max_length_for_sort_data\", \"1024\"), (\"default_week_format\", \"0\"), (\"lc_time_names\", \"en_US\"), (\"thread_pool_size\", \"16\"), (\"tidb_adaptive_closest_read_threshold\", \"4096\"), (\"sync_frm\", \"ON\"), (\"innodb_flush_log_at_timeout\", \"1\"), (\"tidb_auto_analyze_start_time\", \"00:00 +0000\"), (\"tidb_ignore_prepared_cache_close_stmt\", \"OFF\"), (\"default_authentication_plugin\", \"mysql_native_password\"), (\"log_warnings\", \"1\"), (\"max_points_in_geometry\", \"65536\"), (\"innodb_buffer_pool_size\", \"134217728\"), (\"min_examined_row_limit\", \"0\"), (\"ndb_eventbuffer_free_percent\", \"\"), (\"host_cache_size\", \"279\"), (\"tidb_max_tiflash_threads\", \"-1\"), (\"sql_warnings\", \"OFF\"), (\"tidb_ttl_job_schedule_window_end_time\", \"23:59 +0000\"), (\"tidb_partition_prune_mode\", \"dynamic\"), (\"query_prealloc_size\", \"8192\"), (\"tidb_gogc_tuner_threshold\", \"0.6\"), (\"tidb_store_limit\", \"0\"), (\"tidb_opt_agg_push_dow(len:21519);"] [2024/05/06 16:37:19.162 +08:00] [INFO] [bootstrap.go:529] ["bootstrap successful"] ["take time"=28.771488279s] [2024/05/06 16:37:19.179 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:37:19.179 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 113, tp add index"] ["take time"=25.399µs] [2024/05/06 16:37:19.179 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 114, tp add index"] ["take time"=18.197µs] [2024/05/06 16:37:19.179 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 115, tp add index"] ["take time"=16.154µs] [2024/05/06 16:37:19.180 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 116, tp add index"] ["take time"=13.57µs] [2024/05/06 16:37:19.180 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 117, tp add index"] ["take time"=18.748µs] [2024/05/06 16:37:19.180 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 108, tp add index"] ["take time"=18.31µs] [2024/05/06 16:37:19.180 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 109, tp add index"] ["take time"=18.831µs] [2024/05/06 16:37:19.180 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 110, tp add index"] ["take time"=17.614µs] [2024/05/06 16:37:19.180 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 111, tp add index"] ["take time"=20.005µs] [2024/05/06 16:37:19.180 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 112, tp add index"] ["take time"=17.053µs] [2024/05/06 16:37:19.180 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:37:19.180 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 107, tp general"] ["take time"=14.726µs] [2024/05/06 16:37:19.180 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 105, tp general"] ["take time"=2.041µs] [2024/05/06 16:37:19.180 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 106, tp add index"] ["take time"=2.372µs] [2024/05/06 16:37:19.180 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:37:19.181 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:37:19.191 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=23e80579-9194-417d-9046-b84d811262e0] ["take time"=12.512137ms] [2024/05/06 16:37:19.192 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=23e80579-9194-417d-9046-b84d811262e0] [2024/05/06 16:37:19.200 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:37:19.200 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:37:19.200 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:37:19.200 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:37:19.200 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:37:19.200 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:37:19.200 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=21.349262ms] [2024/05/06 16:37:19.200 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=5a0552e0-e7f8-44f4-9ab2-696d8391b22e] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 16:37:19.390 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=39] ["start time"=185.48228ms] [2024/05/06 16:37:19.396 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:37:19.397 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=6c95920d-e3ee-49d0-b895-b1b14a464aaa] [runWorker=true] [2024/05/06 16:37:19.398 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:37:19.398 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:37:19.399 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 118, tp general"] [2024/05/06 16:37:19.400 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 119, tp add index"] [2024/05/06 16:37:19.403 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:37:19.404 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:37:19.404 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:37:19.405 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:37:19.446 +08:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 16:37:19.815 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=39] [cur_db=test] [sql="drop table if exists t1,t2"] [user=] [2024/05/06 16:37:19.819 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=39] [cur_db=test] [sql="create table t1 (id int primary key, v int)"] [user=] [2024/05/06 16:37:19.882 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:19.834 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:19.882 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:19.834 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t1 (id int primary key, v int)"] [2024/05/06 16:37:20.538 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 120, tp general"] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:19.834 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:20.619 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=1.780195ms] [phyTblIDs="[80]"] [actionTypes="[8]"] [2024/05/06 16:37:20.656 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=81] [version=40] [2024/05/06 16:37:20.671 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=40] ["take time"=54.011946ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:19.834 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:20.742 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 120, tp general"] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:19.834 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:20.795 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=81] [2024/05/06 16:37:20.796 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:20.798 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Conn_ID: 13\n# Query_time: 0.981029044\n# Parse_time: 0.001012987\n# Compile_time: 0.000991269\n# Rewrite_time: 0.000012999\n# Optimize_time: 0.000496782\n# Wait_TS: 0.000083143\n# DB: test\n# Is_internal: false\n# Digest: 58adff4e53b4dc3a2102ff826681d219bcf79edb1d10a7d7eddd3da56fcd9ce6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\ncreate table t1 (id int primary key, v int);"] [2024/05/06 16:37:20.806 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=40] [cur_db=test] [sql="create table t2 (id int)"] [user=] [2024/05/06 16:37:20.843 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:20.82 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:20.843 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:20.82 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t2 (id int)"] [2024/05/06 16:37:20.969 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 120, tp general"] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:20.82 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:21.024 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=1.097933ms] [phyTblIDs="[82]"] [actionTypes="[8]"] [2024/05/06 16:37:21.055 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=83] [version=41] [2024/05/06 16:37:21.055 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=41] ["take time"=32.561148ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:20.82 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:21.129 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 120, tp general"] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:20.82 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:21.212 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=83] [2024/05/06 16:37:21.212 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:21.214 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Conn_ID: 13\n# Query_time: 0.408944591\n# Parse_time: 0.000637635\n# Compile_time: 0.00089423\n# Rewrite_time: 0.000012201\n# Optimize_time: 0.000496782\n# Wait_TS: 0.000098313\n# DB: test\n# Is_internal: false\n# Digest: 022ec70336ed50328c0e53dd0419219aeef85a72279ec430eea3ccf10d0811fe\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\ncreate table t2 (id int);"] [2024/05/06 16:37:21.217 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=41] [cur_db=test] [sql="create temporary table tmp (id int)"] [user=] [2024/05/06 16:37:21.273 +08:00] [WARN] [2pc.go:1900] ["schemaLeaseChecker is not set for this transaction"] [sessionID=14] [startTS=449572933801345024] [checkTS=449572933801869312] [2024/05/06 16:37:21.404 +08:00] [INFO] [info.go:1114] [SetTiFlashGroupConfig] [2024/05/06 16:37:22.588 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=41] [cur_db=test] [sql="alter table t2 add column(c1 int)"] [user=] [2024/05/06 16:37:22.636 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:85, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:37:22.616 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:22.636 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:85, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:37:22.616 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="alter table t2 add column(c1 int)"] [2024/05/06 16:37:22.714 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 120, tp general"] [job="ID:85, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:22.616 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:22.720 +08:00] [INFO] [column.go:133] ["[ddl] run add column job"] [job="ID:85, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:37:22.616 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [columnInfo="{\"id\":2,\"name\":{\"O\":\"c1\",\"L\":\"c1\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 16:37:22.754 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=1.662658ms] [phyTblIDs="[82]"] [actionTypes="[32]"] [2024/05/06 16:37:22.805 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=42] [2024/05/06 16:37:22.818 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=42] ["take time"=66.707997ms] [job="ID:85, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:37:22.616 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:22.946 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 120, tp general"] [job="ID:85, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:22.616 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:23.072 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=1.590647ms] [phyTblIDs="[82]"] [actionTypes="[32]"] [2024/05/06 16:37:23.106 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=43] [2024/05/06 16:37:23.108 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=43] ["take time"=38.750533ms] [job="ID:85, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:37:22.616 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:23.193 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 120, tp general"] [job="ID:85, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:22.616 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:23.279 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=1.631135ms] [phyTblIDs="[82]"] [actionTypes="[32]"] [2024/05/06 16:37:23.355 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=44] [2024/05/06 16:37:23.357 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=44] ["take time"=80.723582ms] [job="ID:85, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:37:22.616 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:23.431 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 120, tp general"] [job="ID:85, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:22.616 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:23.524 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=1.669653ms] [phyTblIDs="[82]"] [actionTypes="[32]"] [2024/05/06 16:37:23.555 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=45] [2024/05/06 16:37:23.556 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=45] ["take time"=34.157094ms] [job="ID:85, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:37:22.616 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:23.689 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 120, tp general"] [job="ID:85, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:22.616 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:23.746 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=85] [2024/05/06 16:37:23.746 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:23.748 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Conn_ID: 14\n# Query_time: 1.161714891\n# Parse_time: 0.000782809\n# Compile_time: 0.001262428\n# Rewrite_time: 0.000017809\n# Optimize_time: 0.000591204\n# Wait_TS: 0.000089387\n# DB: test\n# Is_internal: false\n# Digest: 177e330fc6e13ff4b1b9f51ae04b524c419feabb143557fdc6a5807ebb58aed3\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\nalter table t2 add column(c1 int);"] [2024/05/06 16:37:23.824 +08:00] [INFO] [set.go:308] ["load snapshot info schema"] [conn=14] [SnapshotTS=449572933830967296] [2024/05/06 16:37:23.827 +08:00] [INFO] [session.go:3962] ["use snapshot schema"] [conn=14] [schemaVersion=41] [2024/05/06 16:37:23.836 +08:00] [INFO] [set.go:308] ["load snapshot info schema"] [conn=14] [SnapshotTS=449572933830967296] [2024/05/06 16:37:23.919 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:37:23.919 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 127, tp add index"] ["take time"=34.89µs] [2024/05/06 16:37:23.919 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 128, tp add index"] ["take time"=23.855µs] [2024/05/06 16:37:23.919 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 129, tp add index"] ["take time"=19.827µs] [2024/05/06 16:37:23.920 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 130, tp add index"] ["take time"=26.296µs] [2024/05/06 16:37:23.920 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 121, tp add index"] ["take time"=26.617µs] [2024/05/06 16:37:23.920 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 122, tp add index"] ["take time"=37.291µs] [2024/05/06 16:37:23.920 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 123, tp add index"] ["take time"=21.488µs] [2024/05/06 16:37:23.920 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 124, tp add index"] ["take time"=27.396µs] [2024/05/06 16:37:23.920 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 125, tp add index"] ["take time"=19.921µs] [2024/05/06 16:37:23.920 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 126, tp add index"] ["take time"=20.079µs] [2024/05/06 16:37:23.923 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:37:23.923 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 120, tp general"] ["take time"=26.252µs] [2024/05/06 16:37:23.923 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 118, tp general"] ["take time"=7.884µs] [2024/05/06 16:37:23.923 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 119, tp add index"] ["take time"=2.257µs] [2024/05/06 16:37:23.923 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:37:23.924 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:37:23.928 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=6c95920d-e3ee-49d0-b895-b1b14a464aaa] ["take time"=11.701009ms] [2024/05/06 16:37:23.928 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=6c95920d-e3ee-49d0-b895-b1b14a464aaa] [2024/05/06 16:37:23.928 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:37:23.928 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:37:23.928 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:37:23.928 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:37:23.928 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:37:23.928 +08:00] [INFO] [domain.go:1569] ["handleEvolvePlanTasksLoop exited."] [2024/05/06 16:37:23.928 +08:00] [INFO] [domain.go:1748] ["dumpFileGcChecker exited."] [2024/05/06 16:37:23.928 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:37:23.928 +08:00] [INFO] [domain.go:1444] ["LoadSysVarCacheLoop exited."] [2024/05/06 16:37:23.929 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:37:23.929 +08:00] [INFO] [domain.go:1525] ["globalBindHandleWorkerLoop exited."] [2024/05/06 16:37:23.929 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:37:23.929 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:37:23.929 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:37:23.929 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:37:23.930 +08:00] [INFO] [domain.go:1394] ["loadPrivilegeInLoop exited."] [2024/05/06 16:37:23.937 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=20.950674ms] [2024/05/06 16:37:23.944 +08:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 16:37:23.945 +08:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 16:37:23.945 +08:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 16:37:23.945 +08:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 16:37:23.945 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 16:37:23.945 +08:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestTxnContextForStaleRead (33.64s) === RUN TestTxnContextForStaleReadInPrepare [2024/05/06 16:37:24.001 +08:00] [INFO] [region_cache.go:2484] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 16:37:24.005 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:37:24.006 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:37:24.036 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:37:24.036 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:37:24.053 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:37:24.056 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=91a32eaa-bd1b-4afa-81d1-0e62af968a3f] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 16:37:24.058 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).Init\n\tdomain/domain.go:1074\ngithub.com/pingcap/tidb/session.(*domainMap).Get.func1\n\tsession/tidb.go:90\ngithub.com/pingcap/tidb/util.RunWithRetry\n\tutil/misc.go:69\ngithub.com/pingcap/tidb/session.(*domainMap).Get\n\tsession/tidb.go:76\ngithub.com/pingcap/tidb/session.createSessionWithOpt\n\tsession/session.go:3520\ngithub.com/pingcap/tidb/session.createSession\n\tsession/session.go:3516\ngithub.com/pingcap/tidb/session.runInBootstrapSession\n\tsession/session.go:3480\ngithub.com/pingcap/tidb/session.BootstrapSession\n\tsession/session.go:3309\ngithub.com/pingcap/tidb/testkit.bootstrap\n\ttestkit/mockstore.go:84\ngithub.com/pingcap/tidb/testkit.CreateMockStoreAndDomain\n\ttestkit/mockstore.go:69\nsessiontxn/sessiontxn_test_test.setupTxnContextTest\n\tsessiontxn/txn_context_test.go:61\nsessiontxn/sessiontxn_test_test.TestTxnContextForStaleReadInPrepare\n\tsessiontxn/txn_context_test.go:581\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1446\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:37:24.102 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=43.817218ms] [2024/05/06 16:37:24.113 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:37:24.114 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=24046a78-06f1-41b9-bcb2-caa1c28df616] [runWorker=true] [2024/05/06 16:37:24.116 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:37:24.117 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:37:24.118 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 131, tp general"] [2024/05/06 16:37:24.119 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 132, tp add index"] [2024/05/06 16:37:24.121 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:37:24.121 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:37:24.122 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:37:24.122 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:37:24.130 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 16:37:24.175 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:24.155 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:24.175 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:37:24.155 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 16:37:24.374 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:37:24.626 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:37:24.874 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:37:25.124 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:37:25.247 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:24.155 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:25.413 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=86.863879ms] [2024/05/06 16:37:25.460 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:37:25.523 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:25.523 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=3] [version=1] [2024/05/06 16:37:25.523 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=198.151407ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:37:24.155 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:25.597 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:24.155 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:25.722 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=3] [2024/05/06 16:37:25.722 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:25.724 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.594451973\n# Parse_time: 0\n# Compile_time: 0.000852243\n# Rewrite_time: 0.000011023\n# Optimize_time: 0\n# Wait_TS: 0.000122092\n# DB: mysql\n# Is_internal: true\n# Digest: 0a22979ad136f741465cf206b13e5717b9758dda34f7cae5a7a925f91711d6a0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse mysql;\nCREATE DATABASE IF NOT EXISTS test;"] [2024/05/06 16:37:25.725 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 16:37:25.865 +08:00] [INFO] [session.go:3817] ["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 16:37:26.127 +08:00] [INFO] [info.go:1114] [SetTiFlashGroupConfig] [2024/05/06 16:37:26.305 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:25.899 +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 16:37:26.312 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:25.899 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:26.381 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:25.899 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:26.902 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=10.60927ms] [phyTblIDs="[4]"] [actionTypes="[8]"] [2024/05/06 16:37:26.923 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:26.923 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=5] [version=2] [2024/05/06 16:37:26.925 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=37.147058ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:25.899 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:26.988 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:25.899 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:27.445 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=5] [2024/05/06 16:37:27.448 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:27.450 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.642736881\n# Parse_time: 0\n# Compile_time: 0.057383908\n# Rewrite_time: 0.000015161\n# Optimize_time: 0\n# Wait_TS: 0.000104578\n# DB: mysql\n# Is_internal: true\n# Digest: 14c6b489558060bdbede877927034270db5af07c6621aa28f87eeaec8727e925\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.user ( Host CHAR(255), User CHAR(32), authentication_string TEXT, plugin CHAR(64), Select_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Insert_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Update_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Delete_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Process_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Grant_priv ENUM('N','Y') NOT NULL DEFAULT 'N', References_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_db_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Super_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Index_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_user_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Event_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_slave_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_client_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Trigger_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Account_locked ENUM('N','Y') NOT NULL DEFAULT 'N', Shutdown_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Reload_priv ENUM('N','Y') NOT NULL DEFAULT 'N', FILE_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Config_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N', Password_reuse_history smallint unsigned DEFAULT NULL, Password_reuse_time smallint unsigned DEFAULT NULL, User_attributes json, Token_issuer VARCHAR(255), Password_expired ENUM('N','Y') NOT NULL DEFAULT 'N', Password_last_changed TIMESTAMP DEFAULT CURRENT_TIMESTAMP(), Password_lifetime SMALLINT UNSIGNED DEFAULT NULL, PRIMARY KEY (Host, User));"] [2024/05/06 16:37:27.457 +08:00] [INFO] [session.go:3817] ["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 16:37:27.517 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:27.472 +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 16:37:27.520 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:27.472 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:27.625 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:27.472 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:27.751 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=2.32257ms] [phyTblIDs="[6]"] [actionTypes="[8]"] [2024/05/06 16:37:27.772 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:27.773 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=7] [version=3] [2024/05/06 16:37:27.773 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=24.710604ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:27.472 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:27.858 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:27.472 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:27.940 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=7] [2024/05/06 16:37:27.940 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:27.942 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.487439655\n# Parse_time: 0\n# Compile_time: 0.002921837\n# Rewrite_time: 0.000012276\n# Optimize_time: 0\n# Wait_TS: 0.000095631\n# DB: mysql\n# Is_internal: true\n# Digest: eeb59bc0d98f65a2a5aef8eaa99596260e746b00eed183baf856558ef03533ac\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.password_history ( Host char(255) NOT NULL DEFAULT '', User char(32) NOT NULL DEFAULT '', Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6), Password text, PRIMARY KEY (Host,User,Password_timestamp ) ) COMMENT='Password history for user accounts' ;"] [2024/05/06 16:37:27.952 +08:00] [INFO] [session.go:3817] ["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 16:37:28.028 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:27.972 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:28.028 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:27.972 +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 16:37:28.118 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:27.972 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:28.253 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=1.701557ms] [phyTblIDs="[8]"] [actionTypes="[8]"] [2024/05/06 16:37:28.273 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:28.273 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=9] [version=4] [2024/05/06 16:37:28.275 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=24.665422ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:27.972 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:28.326 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:27.972 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:28.418 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=9] [2024/05/06 16:37:28.418 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:28.420 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.472522597\n# Parse_time: 0\n# Compile_time: 0.004080612\n# Rewrite_time: 0.000012473\n# Optimize_time: 0\n# Wait_TS: 0.000086417\n# DB: mysql\n# Is_internal: true\n# Digest: 3bc9b46cf9e300a8d240915cf47216424544ed9f992c07151fba2e2cadc41632\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE 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 16:37:28.463 +08:00] [INFO] [session.go:3817] ["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),\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 16:37:28.684 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:28.483 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:28.684 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:28.483 +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),\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 16:37:28.752 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:28.483 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:29.122 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=7.030459ms] [phyTblIDs="[10]"] [actionTypes="[8]"] [2024/05/06 16:37:29.173 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:29.173 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=11] [version=5] [2024/05/06 16:37:29.174 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=60.177963ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:28.483 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:29.267 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:28.483 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:29.429 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=11] [2024/05/06 16:37:29.429 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:29.431 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.998695089\n# Parse_time: 0\n# Compile_time: 0.031334379\n# Rewrite_time: 0.000013875\n# Optimize_time: 0\n# Wait_TS: 0.000073329\n# DB: mysql\n# Is_internal: true\n# Digest: aeaf612801484f0311f850d36f60f29e6d904828682c1f3bb7307dff25ca3a15\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.db ( Host CHAR(255), DB CHAR(64), User CHAR(32), Select_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Insert_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Update_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Delete_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Grant_priv ENUM('N','Y') NOT NULL DEFAULT 'N', References_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Index_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Event_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Trigger_priv ENUM('N','Y') NOT NULL DEFAULT 'N', PRIMARY KEY (Host, DB, User));"] [2024/05/06 16:37:29.440 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:37:29.525 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:29.457 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:37:29.527 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:29.457 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:29.595 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:29.457 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:29.762 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=3.26312ms] [phyTblIDs="[12]"] [actionTypes="[8]"] [2024/05/06 16:37:29.823 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:29.823 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=13] [version=6] [2024/05/06 16:37:29.824 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=66.826548ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:29.457 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:29.889 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:29.457 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:29.998 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=13] [2024/05/06 16:37:29.999 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:30.000 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.564188516\n# Parse_time: 0\n# Compile_time: 0.003641853\n# Rewrite_time: 0.000019857\n# Optimize_time: 0\n# Wait_TS: 0.000103872\n# DB: mysql\n# Is_internal: true\n# Digest: e8b37dad6cc7f05ee1f0be61455667495826928a93ddd09b94e02fbaed113955\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tables_priv ( Host CHAR(255), DB CHAR(64), User CHAR(32), Table_name CHAR(64), Grantor CHAR(77), Timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, Table_priv SET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'), Column_priv SET('Select','Insert','Update','References'), PRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 16:37:30.007 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:37:30.109 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:30.023 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:30.109 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:30.023 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:37:30.194 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:30.023 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:30.410 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=2.864493ms] [phyTblIDs="[14]"] [actionTypes="[8]"] [2024/05/06 16:37:30.473 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:30.473 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=15] [version=7] [2024/05/06 16:37:30.473 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=66.761616ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:30.023 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:30.551 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:30.023 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:30.639 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=15] [2024/05/06 16:37:30.640 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:30.641 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.637337999\n# Parse_time: 0\n# Compile_time: 0.002919095\n# Rewrite_time: 0.000013382\n# Optimize_time: 0\n# Wait_TS: 0.000105301\n# DB: mysql\n# Is_internal: true\n# Digest: a19edbb3caff8cc57619278ab6eb5f791d7a821432309abe7184d0a7bca66b4d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.columns_priv( Host CHAR(255), DB CHAR(64), User CHAR(32), Table_name CHAR(64), Column_name CHAR(64), Timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, Column_priv SET('Select','Insert','Update','References'), PRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 16:37:30.646 +08:00] [INFO] [session.go:3817] ["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(1024) DEFAULT NULL);"] [user=] [2024/05/06 16:37:30.701 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:30.659 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:30.701 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:30.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(1024) DEFAULT NULL);"] [2024/05/06 16:37:30.770 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:30.659 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:30.905 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=1.757409ms] [phyTblIDs="[16]"] [actionTypes="[8]"] [2024/05/06 16:37:30.923 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:30.923 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=17] [version=8] [2024/05/06 16:37:30.925 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=22.347901ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:30.659 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:30.975 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:30.659 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:31.031 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=17] [2024/05/06 16:37:31.031 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:31.032 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.38820582\n# Parse_time: 0\n# Compile_time: 0.00174902\n# Rewrite_time: 0.00001352\n# Optimize_time: 0\n# Wait_TS: 0.000091404\n# DB: mysql\n# Is_internal: true\n# Digest: 55c1ea537145da60f32339dc7a3b69a3859f3f428fbae4e4023eb71dca836f47\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES( VARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY, VARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [2024/05/06 16:37:31.037 +08:00] [INFO] [session.go:3817] ["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 16:37:31.157 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:31.088 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:31.157 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:31.088 +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 16:37:31.232 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:31.088 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:31.337 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=2.139038ms] [phyTblIDs="[18]"] [actionTypes="[8]"] [2024/05/06 16:37:31.372 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:31.372 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=19] [version=9] [2024/05/06 16:37:31.374 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=40.103859ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:31.088 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:31.428 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:31.088 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:31.525 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=19] [2024/05/06 16:37:31.526 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:31.530 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.494499642\n# Parse_time: 0\n# Compile_time: 0.00187516\n# Rewrite_time: 0.000017356\n# Optimize_time: 0\n# Wait_TS: 0.000093115\n# DB: mysql\n# Is_internal: true\n# Digest: 0cc4a9cf54472ccff7c4fb8d7c6e34e6bd96af08b450ad4c9677473f1f517cf2\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tidb( VARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY, VARIABLE_VALUE VARCHAR(1024) DEFAULT NULL, COMMENT VARCHAR(1024));"] [2024/05/06 16:37:31.539 +08:00] [INFO] [session.go:3817] ["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 16:37:31.625 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:31.555 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:31.626 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:31.555 +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 16:37:31.716 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:31.555 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:31.823 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=2.431262ms] [phyTblIDs="[20]"] [actionTypes="[8]"] [2024/05/06 16:37:31.873 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:31.873 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=21] [version=10] [2024/05/06 16:37:31.874 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=54.101704ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:31.555 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:31.942 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:31.555 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:32.056 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=21] [2024/05/06 16:37:32.056 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:32.058 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.522527093\n# Parse_time: 0\n# Compile_time: 0.003484381\n# Rewrite_time: 0.000012791\n# Optimize_time: 0\n# Wait_TS: 0.000103343\n# DB: mysql\n# Is_internal: true\n# Digest: ca851971407336dad93908a9f88f01d828a4e18f332111987f4a7675bced7ea4\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.help_topic ( help_topic_id INT(10) UNSIGNED NOT NULL, name CHAR(64) NOT NULL, help_category_id SMALLINT(5) UNSIGNED NOT NULL, description TEXT NOT NULL, example TEXT NOT NULL, url TEXT NOT NULL, PRIMARY KEY (help_topic_id) clustered, UNIQUE KEY name (name) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 16:37:32.065 +08:00] [INFO] [session.go:3817] ["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 16:37:32.151 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:32.097 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:32.151 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:32.097 +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 16:37:32.213 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:32.097 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:32.318 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=2.437356ms] [phyTblIDs="[22]"] [actionTypes="[8]"] [2024/05/06 16:37:32.373 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:32.373 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=23] [version=11] [2024/05/06 16:37:32.374 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=58.936542ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:32.097 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:32.453 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:32.097 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:32.546 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=23] [2024/05/06 16:37:32.546 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:32.548 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.485226466\n# Parse_time: 0\n# Compile_time: 0.002934133\n# Rewrite_time: 0.000012296\n# Optimize_time: 0\n# Wait_TS: 0.000093193\n# DB: mysql\n# Is_internal: true\n# Digest: db16a74bd407cb00f071eafe96456094f48fc00e802128fc486ef4847b8910b0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_meta ( version BIGINT(64) UNSIGNED NOT NULL, table_id BIGINT(64) NOT NULL, modify_count BIGINT(64) NOT NULL DEFAULT 0, count BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, snapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, INDEX idx_ver(version), UNIQUE INDEX tbl(table_id) );"] [2024/05/06 16:37:32.560 +08:00] [INFO] [session.go:3817] ["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 16:37:32.562 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [2024/05/06 16:37:32.673 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:32.574 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:32.673 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:32.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 16:37:32.742 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:32.574 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:33.026 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=4.087626ms] [phyTblIDs="[24]"] [actionTypes="[8]"] [2024/05/06 16:37:33.073 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:33.073 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=25] [version=12] [2024/05/06 16:37:33.075 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=54.961393ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:32.574 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:33.153 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:32.574 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:33.266 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=25] [2024/05/06 16:37:33.267 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:33.269 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.713676715\n# Parse_time: 0\n# Compile_time: 0.004990603\n# Rewrite_time: 0.000012575\n# Optimize_time: 0\n# Wait_TS: 0.000112804\n# DB: mysql\n# Is_internal: true\n# Digest: 7780c45a0aac5f123ac85a7e601e79c5d7779e7c09a19953908e547605ed45d2\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_histograms ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, distinct_count BIGINT(64) NOT NULL, null_count BIGINT(64) NOT NULL DEFAULT 0, tot_col_size BIGINT(64) NOT NULL DEFAULT 0, modify_count BIGINT(64) NOT NULL DEFAULT 0, version BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, cm_sketch BLOB(6291456), stats_ver BIGINT(64) NOT NULL DEFAULT 0, flag BIGINT(64) NOT NULL DEFAULT 0, correlation DOUBLE NOT NULL DEFAULT 0, last_analyze_pos LONGBLOB DEFAULT NULL, UNIQUE INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:37:33.277 +08:00] [INFO] [session.go:3817] ["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 16:37:33.386 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:33.31 +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 16:37:33.391 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:33.31 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:33.464 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:33.31 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:33.616 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=3.242506ms] [phyTblIDs="[26]"] [actionTypes="[8]"] [2024/05/06 16:37:33.673 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:33.673 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=27] [version=13] [2024/05/06 16:37:33.673 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=61.018476ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:33.31 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:33.727 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:33.31 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:33.815 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=27] [2024/05/06 16:37:33.815 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:33.817 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.543099276\n# Parse_time: 0\n# Compile_time: 0.003509019\n# Rewrite_time: 0.000011915\n# Optimize_time: 0\n# Wait_TS: 0.00008845\n# DB: mysql\n# Is_internal: true\n# Digest: 5615b5212342304015b027afb253371dae02f19e53871cfbb034deb145dfce32\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_buckets ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, bucket_id BIGINT(64) NOT NULL, count BIGINT(64) NOT NULL, repeats BIGINT(64) NOT NULL, upper_bound LONGBLOB NOT NULL, lower_bound LONGBLOB , ndv BIGINT NOT NULL DEFAULT 0, UNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id) );"] [2024/05/06 16:37:33.824 +08:00] [INFO] [session.go:3817] ["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 16:37:33.895 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:33.844 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:33.896 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:33.844 +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 16:37:33.966 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:33.844 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:34.109 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=2.467169ms] [phyTblIDs="[28]"] [actionTypes="[8]"] [2024/05/06 16:37:34.173 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:34.173 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=29] [version=14] [2024/05/06 16:37:34.173 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=67.216193ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:33.844 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:34.330 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:33.844 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:34.500 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=29] [2024/05/06 16:37:34.500 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:34.502 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.681167482\n# Parse_time: 0\n# Compile_time: 0.003154061\n# Rewrite_time: 0.000013011\n# Optimize_time: 0\n# Wait_TS: 0.000095894\n# DB: mysql\n# Is_internal: true\n# Digest: 4f764dd084d16197c847e23500fcaf8b96dbbabd598c823de37967bfa2ad51cd\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.gc_delete_range ( job_id BIGINT NOT NULL COMMENT \"the DDL job ID\", element_id BIGINT NOT NULL COMMENT \"the schema element ID\", start_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", end_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", ts BIGINT NOT NULL COMMENT \"timestamp in uint64\", UNIQUE KEY delete_range_index (job_id, element_id) );"] [2024/05/06 16:37:34.554 +08:00] [INFO] [session.go:3817] ["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 16:37:34.668 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:34.578 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:34.668 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:34.578 +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 16:37:34.749 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:34.578 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:34.875 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=2.594799ms] [phyTblIDs="[30]"] [actionTypes="[8]"] [2024/05/06 16:37:34.923 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:34.923 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=31] [version=15] [2024/05/06 16:37:34.925 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=53.054775ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:34.578 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:34.977 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:34.578 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:35.043 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=31] [2024/05/06 16:37:35.043 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:35.045 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.507713867\n# Parse_time: 0\n# Compile_time: 0.01665916\n# Rewrite_time: 0.004281851\n# Optimize_time: 0\n# Wait_TS: 0.000096497\n# DB: mysql\n# Is_internal: true\n# Digest: 532cf71b38f2568975d61180716af7e2b05c9ca11023688224ed0c0eece42fa9\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done ( job_id BIGINT NOT NULL COMMENT \"the DDL job ID\", element_id BIGINT NOT NULL COMMENT \"the schema element ID\", start_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", end_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", ts BIGINT NOT NULL COMMENT \"timestamp in uint64\", UNIQUE KEY delete_range_done_index (job_id, element_id) );"] [2024/05/06 16:37:35.051 +08:00] [INFO] [session.go:3817] ["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 16:37:35.121 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:35.064 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:35.121 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:35.064 +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 16:37:35.253 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:35.064 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:35.346 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=2.334433ms] [phyTblIDs="[32]"] [actionTypes="[8]"] [2024/05/06 16:37:35.374 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:35.374 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=33] [version=16] [2024/05/06 16:37:35.375 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=32.651316ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:35.064 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:35.437 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:35.064 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:35.498 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=33] [2024/05/06 16:37:35.499 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:35.500 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.451154354\n# Parse_time: 0\n# Compile_time: 0.002160937\n# Rewrite_time: 0.00001246\n# Optimize_time: 0\n# Wait_TS: 0.000091357\n# DB: mysql\n# Is_internal: true\n# Digest: 28f04155dca9c7fd3a5e16199cefd152c629a57a64d0ccb2ed0f10309c23c59c\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_feedback ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, feedback BLOB NOT NULL, INDEX hist(table_id, is_index, hist_id) );"] [2024/05/06 16:37:35.521 +08:00] [INFO] [session.go:3817] ["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 16:37:35.664 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:35.545 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:35.664 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:35.545 +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 16:37:35.780 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:35.545 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:35.892 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=2.74845ms] [phyTblIDs="[34]"] [actionTypes="[8]"] [2024/05/06 16:37:35.923 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:35.923 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=35] [version=17] [2024/05/06 16:37:35.925 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=38.638556ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:35.545 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:35.977 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:35.545 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:36.078 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=35] [2024/05/06 16:37:36.078 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:36.080 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.561544511\n# Parse_time: 0\n# Compile_time: 0.003402723\n# Rewrite_time: 0.000012539\n# Optimize_time: 0\n# Wait_TS: 0.00008729\n# DB: mysql\n# Is_internal: true\n# Digest: 13e2fcff943423afddaa84c2d34108628854b5953bc7c41d2879240f077a5bd6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.role_edges ( FROM_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', FROM_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', TO_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', TO_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', WITH_ADMIN_OPTION ENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N', PRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER) );"] [2024/05/06 16:37:36.087 +08:00] [INFO] [session.go:3817] ["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 16:37:36.262 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:36.123 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:36.262 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:36.123 +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 16:37:36.327 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:36.123 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:36.527 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=2.594573ms] [phyTblIDs="[36]"] [actionTypes="[8]"] [2024/05/06 16:37:36.573 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:36.573 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=37] [version=18] [2024/05/06 16:37:36.574 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=49.792993ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:36.123 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:36.644 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:36.123 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:36.746 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=37] [2024/05/06 16:37:36.747 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:36.748 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.664654794\n# Parse_time: 0\n# Compile_time: 0.003257034\n# Rewrite_time: 0.000013164\n# Optimize_time: 0\n# Wait_TS: 0.000090274\n# DB: mysql\n# Is_internal: true\n# Digest: 9e6b544fb0287e9d8a74031560ed0cd6a5b4e54db073b893a68a76b05d929781\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.default_roles ( HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', DEFAULT_ROLE_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%', DEFAULT_ROLE_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', PRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER) );"] [2024/05/06 16:37:36.773 +08:00] [INFO] [session.go:3817] ["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 16:37:36.891 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:36.796 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:36.892 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:36.796 +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 16:37:36.960 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:36.796 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:37.171 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=10.925849ms] [phyTblIDs="[38]"] [actionTypes="[8]"] [2024/05/06 16:37:37.223 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:37.223 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=39] [version=19] [2024/05/06 16:37:37.224 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=64.540824ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:36.796 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:37.292 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:36.796 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:37.403 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=39] [2024/05/06 16:37:37.403 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:37.404 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.649074877\n# Parse_time: 0\n# Compile_time: 0.017865149\n# Rewrite_time: 0.000011794\n# Optimize_time: 0\n# Wait_TS: 0.000079975\n# DB: mysql\n# Is_internal: true\n# Digest: 0a4bc55a9ab72ef62ddaa1ee6472d7872306066fd783a8bb67047a497fbb4dbe\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.bind_info ( original_sql TEXT NOT NULL, bind_sql TEXT NOT NULL, default_db TEXT NOT NULL, status TEXT NOT NULL, create_time TIMESTAMP(3) NOT NULL, update_time TIMESTAMP(3) NOT NULL, charset TEXT NOT NULL, collation TEXT NOT NULL, source VARCHAR(10) NOT NULL DEFAULT 'unknown', sql_digest varchar(64), plan_digest varchar(64), INDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\", INDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\" ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 16:37:37.434 +08:00] [INFO] [session.go:3817] ["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 16:37:37.491 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:37.446 +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 16:37:37.491 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:37.446 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:37.557 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:37.446 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:37.645 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=1.92103ms] [phyTblIDs="[40]"] [actionTypes="[8]"] [2024/05/06 16:37:37.679 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:37.680 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=41] [version=20] [2024/05/06 16:37:37.681 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=38.098316ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:37.446 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:37.745 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:37.446 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:37.817 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=41] [2024/05/06 16:37:37.817 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:37.819 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.386858361\n# Parse_time: 0\n# Compile_time: 0.002218278\n# Rewrite_time: 0.000012875\n# Optimize_time: 0\n# Wait_TS: 0.000082073\n# DB: mysql\n# Is_internal: true\n# Digest: 04a90564803373a6eb3f5a52e8794d25c4d28f6c18af7899b0b9f1bf1539ec72\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_top_n ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, value LONGBLOB, count BIGINT(64) UNSIGNED NOT NULL, INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:37:37.825 +08:00] [INFO] [session.go:3817] ["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 16:37:37.915 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:37.841 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:37.915 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:37.841 +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 16:37:38.067 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:37.841 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:38.165 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=1.785001ms] [phyTblIDs="[42]"] [actionTypes="[8]"] [2024/05/06 16:37:38.223 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:38.223 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=43] [version=21] [2024/05/06 16:37:38.223 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=60.604149ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:37.841 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:38.278 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:37.841 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:38.342 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=43] [2024/05/06 16:37:38.343 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:38.344 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.523051506\n# Parse_time: 0\n# Compile_time: 0.004219027\n# Rewrite_time: 0.000011863\n# Optimize_time: 0\n# Wait_TS: 0.00009119\n# DB: mysql\n# Is_internal: true\n# Digest: 3e05fb8977f83f4e32022552aded3680a039cddc4239c339119a655dc1cffdbb\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist ( name CHAR(100) NOT NULL, store_type CHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb', reason VARCHAR(200) );"] [2024/05/06 16:37:38.347 +08:00] [INFO] [session.go:3817] ["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 16:37:38.399 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:38.36 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:38.399 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:38.36 +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 16:37:38.492 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:38.36 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:38.544 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=1.673359ms] [phyTblIDs="[44]"] [actionTypes="[8]"] [2024/05/06 16:37:38.574 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:38.574 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=45] [version=22] [2024/05/06 16:37:38.575 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=33.023884ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:38.36 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:38.647 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:38.36 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:38.693 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=45] [2024/05/06 16:37:38.693 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:38.695 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.349032809\n# Parse_time: 0\n# Compile_time: 0.001283273\n# Rewrite_time: 0.000012392\n# Optimize_time: 0\n# Wait_TS: 0.000102536\n# DB: mysql\n# Is_internal: true\n# Digest: aee36d5dc7131e4b6e3321cc046ae8b5ec8156ec1ef82481df0b97b8c734325f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist ( name CHAR(100) NOT NULL );"] [2024/05/06 16:37:38.722 +08:00] [INFO] [session.go:3817] ["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 16:37:38.804 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:38.74 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:38.804 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:38.74 +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 16:37:38.889 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:38.74 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:39.024 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=3.012053ms] [phyTblIDs="[46]"] [actionTypes="[8]"] [2024/05/06 16:37:39.073 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:39.073 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=47] [version=23] [2024/05/06 16:37:39.075 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=54.556162ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:38.74 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:39.150 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:38.74 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:39.241 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=47] [2024/05/06 16:37:39.255 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:39.257 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.553786316\n# Parse_time: 0\n# Compile_time: 0.01929811\n# Rewrite_time: 0.000018243\n# Optimize_time: 0\n# Wait_TS: 0.000096483\n# DB: mysql\n# Is_internal: true\n# Digest: bd2a0d9809689d30e22f8d82b29b4ee110d16cda3353b77d74a1938afb746386\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_extended ( name varchar(32) NOT NULL, type tinyint(4) NOT NULL, table_id bigint(64) NOT NULL, column_ids varchar(32) NOT NULL, stats blob DEFAULT NULL, version bigint(64) unsigned NOT NULL, status tinyint(4) NOT NULL, PRIMARY KEY(name, table_id), KEY idx_1 (table_id, status, version), KEY idx_2 (status, version) );"] [2024/05/06 16:37:39.276 +08:00] [INFO] [session.go:3817] ["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 16:37:39.375 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:39.303 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:39.375 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:39.303 +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 16:37:39.496 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:39.303 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:39.647 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=3.668265ms] [phyTblIDs="[48]"] [actionTypes="[8]"] [2024/05/06 16:37:39.679 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:39.679 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=49] [version=24] [2024/05/06 16:37:39.686 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=48.998001ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:39.303 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:39.754 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:39.303 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:39.850 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=49] [2024/05/06 16:37:39.850 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:39.852 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.578341578\n# Parse_time: 0\n# Compile_time: 0.003102307\n# Rewrite_time: 0.000014855\n# Optimize_time: 0\n# Wait_TS: 0.000097757\n# DB: mysql\n# Is_internal: true\n# Digest: f72fffa4e6072164db3e01e2e29568b0b93c5045737047be527343b1737b0882\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.schema_index_usage ( TABLE_ID bigint(64), INDEX_ID bigint(21), QUERY_COUNT bigint(64), ROWS_SELECTED bigint(64), LAST_USED_AT timestamp, PRIMARY KEY(TABLE_ID, INDEX_ID) );"] [2024/05/06 16:37:39.857 +08:00] [INFO] [session.go:3817] ["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 16:37:39.916 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:39.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:39.917 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:39.872 +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 16:37:39.994 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:39.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:40.108 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=2.23005ms] [phyTblIDs="[50]"] [actionTypes="[8]"] [2024/05/06 16:37:40.123 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:40.123 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=51] [version=25] [2024/05/06 16:37:40.124 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=18.269561ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:39.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:40.229 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:39.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:40.292 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=51] [2024/05/06 16:37:40.292 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:40.294 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.439126779\n# Parse_time: 0\n# Compile_time: 0.002255323\n# Rewrite_time: 0.00001416\n# Optimize_time: 0\n# Wait_TS: 0.000096887\n# DB: mysql\n# Is_internal: true\n# Digest: 27ef2533f9d97f96c8c86a69a0de51aad04499856acd05fe4a4b93fb5b6043d0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, value LONGBLOB, INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:37:40.303 +08:00] [INFO] [session.go:3817] ["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 16:37:40.360 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:40.317 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:40.360 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:40.317 +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 16:37:40.439 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:40.317 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:40.538 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=2.232352ms] [phyTblIDs="[52]"] [actionTypes="[8]"] [2024/05/06 16:37:40.574 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:40.574 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=53] [version=26] [2024/05/06 16:37:40.575 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=40.629477ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:40.317 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:40.646 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:40.317 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:40.735 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=53] [2024/05/06 16:37:40.736 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:40.738 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.438501052\n# Parse_time: 0\n# Compile_time: 0.003982096\n# Rewrite_time: 0.000014288\n# Optimize_time: 0\n# Wait_TS: 0.000085808\n# DB: mysql\n# Is_internal: true\n# Digest: 79c6e54229df7b01d20ffaf8ac1077aa9ef39e604df30d5ce852dd7049cc3ddd\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.global_grants ( USER char(32) NOT NULL DEFAULT '', HOST char(255) NOT NULL DEFAULT '', PRIV char(32) NOT NULL DEFAULT '', WITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N', PRIMARY KEY (USER,HOST,PRIV) );"] [2024/05/06 16:37:40.747 +08:00] [INFO] [session.go:3817] ["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 16:37:40.833 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:40.781 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:40.833 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:40.781 +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 16:37:40.910 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:40.781 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:41.000 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=1.985906ms] [phyTblIDs="[54]"] [actionTypes="[8]"] [2024/05/06 16:37:41.023 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:41.023 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=55] [version=27] [2024/05/06 16:37:41.024 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=26.340956ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:40.781 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:41.080 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:40.781 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:41.169 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=55] [2024/05/06 16:37:41.170 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:41.172 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.430924176\n# Parse_time: 0\n# Compile_time: 0.006188888\n# Rewrite_time: 0.000014574\n# Optimize_time: 0\n# Wait_TS: 0.000104406\n# DB: mysql\n# Is_internal: true\n# Digest: 08f858a5bd3a1fd5dfd809dd4b9d6c72db69f874b06ad0e91987f9e89a5cf89a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist ( id bigint(64) auto_increment, filter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\", filter_value varchar(32) NOT NULL, key idx(filter_type), primary key(id) );"] [2024/05/06 16:37:41.178 +08:00] [INFO] [session.go:3817] ["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 16:37:41.245 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:41.195 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:41.245 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:41.195 +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 16:37:41.300 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:41.195 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:41.419 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=2.183178ms] [phyTblIDs="[56]"] [actionTypes="[8]"] [2024/05/06 16:37:41.473 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:41.473 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=57] [version=28] [2024/05/06 16:37:41.475 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=59.024979ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:41.195 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:41.522 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:41.195 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:41.608 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=57] [2024/05/06 16:37:41.608 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:41.610 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.4342291\n# Parse_time: 0\n# Compile_time: 0.002226758\n# Rewrite_time: 0.000012219\n# Optimize_time: 0\n# Wait_TS: 0.000109649\n# DB: mysql\n# Is_internal: true\n# Digest: 3a5634ff31bd7d32849c5404b7ffc419c7a7074307b815e5369eb6ca363cbcd0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.column_stats_usage ( table_id BIGINT(64) NOT NULL, column_id BIGINT(64) NOT NULL, last_used_at TIMESTAMP, last_analyzed_at TIMESTAMP, PRIMARY KEY (table_id, column_id) CLUSTERED );"] [2024/05/06 16:37:41.617 +08:00] [INFO] [session.go:3817] ["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 16:37:41.691 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:41.653 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:41.691 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:41.653 +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 16:37:41.755 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:41.653 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:41.846 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=1.91246ms] [phyTblIDs="[58]"] [actionTypes="[8]"] [2024/05/06 16:37:41.873 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:41.873 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=59] [version=29] [2024/05/06 16:37:41.874 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=30.615782ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:41.653 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:41.940 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:41.653 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:42.037 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=59] [2024/05/06 16:37:42.038 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:42.041 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.426943396\n# Parse_time: 0\n# Compile_time: 0.003518505\n# Rewrite_time: 0.000013082\n# Optimize_time: 0\n# Wait_TS: 0.000081599\n# DB: mysql\n# Is_internal: true\n# Digest: d5bebde055ca14bff3e131e086a86c4095b9d04ea6fc326b4c2f16ffd61fbd2d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.table_cache_meta ( tid bigint(11) NOT NULL DEFAULT 0, lock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE', lease bigint(20) NOT NULL DEFAULT 0, oldReadLease bigint(20) NOT NULL DEFAULT 0, PRIMARY KEY (tid) );"] [2024/05/06 16:37:42.050 +08:00] [INFO] [session.go:3817] ["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 16:37:42.053 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [2024/05/06 16:37:42.127 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:42.068 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:42.127 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:42.068 +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 16:37:42.194 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:42.068 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:42.308 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=2.755427ms] [phyTblIDs="[60]"] [actionTypes="[8]"] [2024/05/06 16:37:42.372 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:42.373 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=61] [version=30] [2024/05/06 16:37:42.373 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=68.7569ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:42.068 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:42.421 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:42.068 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:42.494 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=61] [2024/05/06 16:37:42.495 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:42.496 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.450089081\n# Parse_time: 0\n# Compile_time: 0.004037423\n# Rewrite_time: 0.000014558\n# Optimize_time: 0\n# Wait_TS: 0.000111571\n# DB: mysql\n# Is_internal: true\n# Digest: 987fcd9b9a604209ec1101d918419b993c42f84fe228e20aee2fcca2931ff93e\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.analyze_options ( table_id BIGINT(64) NOT NULL, sample_num BIGINT(64) NOT NULL DEFAULT 0, sample_rate DOUBLE NOT NULL DEFAULT -1, buckets BIGINT(64) NOT NULL DEFAULT 0, topn BIGINT(64) NOT NULL DEFAULT -1, column_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT', column_ids TEXT(19372), PRIMARY KEY (table_id) CLUSTERED );"] [2024/05/06 16:37:42.507 +08:00] [INFO] [session.go:3817] ["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\t);"] [user=] [2024/05/06 16:37:42.601 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:42.52 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:42.602 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:42.52 +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\t);"] [2024/05/06 16:37:42.710 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:42.52 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:42.811 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=3.003033ms] [phyTblIDs="[62]"] [actionTypes="[8]"] [2024/05/06 16:37:42.873 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:42.873 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=63] [version=31] [2024/05/06 16:37:42.874 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=66.645607ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:42.52 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:42.942 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:42.52 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:43.019 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=63] [2024/05/06 16:37:43.019 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:43.021 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.520159022\n# Parse_time: 0\n# Compile_time: 0.006279379\n# Rewrite_time: 0.000017599\n# Optimize_time: 0\n# Wait_TS: 0.000089378\n# DB: mysql\n# Is_internal: true\n# Digest: 11757f6de6b3d2a64e92f14cd7b7f739729563ede3b0139d016148eba0b27ebf\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_history ( table_id bigint(64) NOT NULL, stats_data longblob NOT NULL, seq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice', version bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN', create_time datetime(6) NOT NULL, UNIQUE KEY table_version_seq (table_id, version, seq_no), KEY table_create_time (table_id, create_time, seq_no) );"] [2024/05/06 16:37:43.030 +08:00] [INFO] [session.go:3817] ["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\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\t);"] [user=] [2024/05/06 16:37:43.110 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:43.043 +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\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\t);"] [2024/05/06 16:37:43.111 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:43.043 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:43.169 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:43.043 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:43.272 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=2.400681ms] [phyTblIDs="[64]"] [actionTypes="[8]"] [2024/05/06 16:37:43.322 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:43.323 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=65] [version=32] [2024/05/06 16:37:43.323 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=54.11317ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:43.043 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:43.372 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:43.043 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:43.441 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=65] [2024/05/06 16:37:43.441 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:43.443 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.415895876\n# Parse_time: 0\n# Compile_time: 0.003186315\n# Rewrite_time: 0.000013532\n# Optimize_time: 0\n# Wait_TS: 0.000085868\n# DB: mysql\n# Is_internal: true\n# Digest: ebccd6f5d49fb0fcff4d7dc20bb3ae798d172a92ba5f6709445c980166f7e32f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_meta_history ( table_id bigint(64) NOT NULL, modify_count bigint(64) NOT NULL, count bigint(64) NOT NULL, version bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN', create_time datetime(6) NOT NULL, UNIQUE KEY table_version (table_id, version), KEY table_create_time (table_id, create_time) );"] [2024/05/06 16:37:43.455 +08:00] [INFO] [session.go:3817] ["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 16:37:43.561 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:43.47 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:43.561 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:43.47 +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 16:37:43.627 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:43.47 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:43.789 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=4.056567ms] [phyTblIDs="[66]"] [actionTypes="[8]"] [2024/05/06 16:37:43.823 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:43.823 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=67] [version=33] [2024/05/06 16:37:43.826 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=41.977672ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:43.47 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:43.878 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:43.47 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:44.009 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=67] [2024/05/06 16:37:44.010 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:44.012 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.561737715\n# Parse_time: 0\n# Compile_time: 0.00574389\n# Rewrite_time: 0.000014386\n# Optimize_time: 0\n# Wait_TS: 0.000091359\n# DB: mysql\n# Is_internal: true\n# Digest: bfb9a3ff60c3c60c054a207c0a0db06c87e29edbe94005d8d5c89fe484f4f90a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.analyze_jobs ( id BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT, update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, table_schema CHAR(64) NOT NULL DEFAULT '', table_name CHAR(64) NOT NULL DEFAULT '', partition_name CHAR(64) NOT NULL DEFAULT '', job_info TEXT NOT NULL, processed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, start_time TIMESTAMP, end_time TIMESTAMP, state ENUM('pending', 'running', 'finished', 'failed') NOT NULL, fail_reason TEXT, instance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job', process_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job', PRIMARY KEY (id), KEY (update_time) );"] [2024/05/06 16:37:44.015 +08:00] [INFO] [session.go:3817] ["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 16:37:44.065 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:44.03 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:44.065 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:44.03 +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 16:37:44.132 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:44.03 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:44.195 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=1.71186ms] [phyTblIDs="[68]"] [actionTypes="[8]"] [2024/05/06 16:37:44.222 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:44.223 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=69] [version=34] [2024/05/06 16:37:44.224 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=31.09818ms] [job="ID:69, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:44.03 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:44.281 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:69, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:44.03 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:44.317 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=69] [2024/05/06 16:37:44.318 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:44.319 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.305237439\n# Parse_time: 0\n# Compile_time: 0.001251608\n# Rewrite_time: 0.000011729\n# Optimize_time: 0\n# Wait_TS: 0.000081276\n# DB: mysql\n# Is_internal: true\n# Digest: 85d0480e8afeca7d94d07ca1a681df6c7f89f1fda753ceb6e02b51caf3714c1c\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.advisory_locks ( lock_name VARCHAR(64) NOT NULL PRIMARY KEY );"] [2024/05/06 16:37:44.415 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:44.348 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:44.416 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:37:44.348 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] [2024/05/06 16:37:44.479 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:44.348 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:44.592 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=2.688541ms] [phyTblIDs="[70]"] [actionTypes="[2097152]"] [2024/05/06 16:37:44.622 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:44.623 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=71] [version=35] [2024/05/06 16:37:44.625 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=36.56826ms] [job="ID:71, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:37:44.348 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:44.676 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:71, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:44.348 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:44.745 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=71] [2024/05/06 16:37:44.745 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:44.746 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.421021325\n# Parse_time: 0\n# Compile_time: 0.007287621\n# Rewrite_time: 0.004128971\n# Optimize_time: 0\n# Wait_TS: 0.000104957\n# DB: mysql\n# Is_internal: true\n# Digest: 812c81f344f5d0c8b8aedcb68ff1dca865b59104853273f7e66b8abff5429992\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE OR REPLACE VIEW mysql.tidb_mdl_view as ( select JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID );"] [2024/05/06 16:37:44.752 +08:00] [INFO] [session.go:3817] ["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 16:37:44.821 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:44.766 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:44.821 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:44.766 +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 16:37:44.879 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:44.766 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:44.981 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=2.552011ms] [phyTblIDs="[72]"] [actionTypes="[8]"] [2024/05/06 16:37:45.023 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:45.023 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=73] [version=36] [2024/05/06 16:37:45.024 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=46.717329ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:44.766 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:45.080 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:44.766 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:45.173 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=73] [2024/05/06 16:37:45.173 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:45.175 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.425570829\n# Parse_time: 0\n# Compile_time: 0.00283801\n# Rewrite_time: 0.000013388\n# Optimize_time: 0\n# Wait_TS: 0.000128306\n# DB: mysql\n# Is_internal: true\n# Digest: 3d2f349b1c68ee2b30e34bad8bb3838af6c40d7a26072b2d29d801d7fedbac48\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.plan_replayer_status ( sql_digest VARCHAR(128), plan_digest VARCHAR(128), origin_sql TEXT, token VARCHAR(128), update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fail_reason TEXT, instance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 16:37:45.180 +08:00] [INFO] [session.go:3817] ["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 16:37:45.236 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:45.194 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:45.236 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:45.194 +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 16:37:45.293 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:45.194 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:45.367 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=2.156033ms] [phyTblIDs="[74]"] [actionTypes="[8]"] [2024/05/06 16:37:45.423 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:45.423 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=75] [version=37] [2024/05/06 16:37:45.425 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=60.78503ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:45.194 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:45.470 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:45.194 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:45.527 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=75] [2024/05/06 16:37:45.528 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:45.529 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.350967822\n# Parse_time: 0\n# Compile_time: 0.002326628\n# Rewrite_time: 0.000018643\n# Optimize_time: 0\n# Wait_TS: 0.000100484\n# DB: mysql\n# Is_internal: true\n# Digest: 8d9754df14c826803fed84f1ae3eb8fc9729e76a793b6be6bf25967f1929d039\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.plan_replayer_task ( sql_digest VARCHAR(128) NOT NULL, plan_digest VARCHAR(128) NOT NULL, update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 16:37:45.535 +08:00] [INFO] [session.go:3817] ["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 16:37:45.591 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:45.551 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:45.591 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:45.551 +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 16:37:45.654 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:45.551 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:45.734 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=1.96675ms] [phyTblIDs="[76]"] [actionTypes="[8]"] [2024/05/06 16:37:45.782 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:45.782 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=77] [version=38] [2024/05/06 16:37:45.784 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=38] ["take time"=52.701755ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:45.551 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:45.831 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:45.551 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:45.886 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=77] [2024/05/06 16:37:45.886 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:45.887 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.354464304\n# Parse_time: 0\n# Compile_time: 0.002623677\n# Rewrite_time: 0.000013086\n# Optimize_time: 0\n# Wait_TS: 0.000099844\n# DB: mysql\n# Is_internal: true\n# Digest: b57fdc4b14aba5f29d915d04e5e4557f60a758fd65ec571368527cd45c6ef82a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_table_locked( table_id bigint(64) NOT NULL, modify_count bigint(64) NOT NULL DEFAULT 0, count bigint(64) NOT NULL DEFAULT 0, version bigint(64) UNSIGNED NOT NULL DEFAULT 0, PRIMARY KEY (table_id));"] [2024/05/06 16:37:45.901 +08:00] [INFO] [session.go:3817] ["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 16:37:46.008 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:45.914 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:46.008 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:45.914 +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 16:37:46.062 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 133, tp general"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:45.914 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:46.251 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=4.539745ms] [phyTblIDs="[78]"] [actionTypes="[8]"] [2024/05/06 16:37:46.273 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:46.273 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=79] [version=39] [2024/05/06 16:37:46.275 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=39] ["take time"=28.758679ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:45.914 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:46.341 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 133, tp general"] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:45.914 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:46.451 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=79] [2024/05/06 16:37:46.451 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:46.452 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.556297192\n# Parse_time: 0\n# Compile_time: 0.004918102\n# Rewrite_time: 0.000024873\n# Optimize_time: 0\n# Wait_TS: 0.000070827\n# DB: mysql\n# Is_internal: true\n# Digest: a30bd3c3a49070c554e65922e84c6b76e646842e3925a859fcde73941a7cb423\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status ( table_id bigint(64) PRIMARY KEY, parent_table_id bigint(64), table_statistics text DEFAULT NULL, last_job_id varchar(64) DEFAULT NULL, last_job_start_time timestamp NULL DEFAULT NULL, last_job_finish_time timestamp NULL DEFAULT NULL, last_job_ttl_expire timestamp NULL DEFAULT NULL, last_job_summary text DEFAULT NULL, current_job_id varchar(64) DEFAULT NULL, current_job_owner_id varchar(64) DEFAULT NULL, current_job_owner_addr varchar(256) DEFAULT NULL, current_job_owner_hb_time timestamp, current_job_start_time timestamp NULL DEFAULT NULL, current_job_ttl_expire timestamp NULL DEFAULT NULL, current_job_state text DEFAULT NULL, current_job_status varchar(64) DEFAULT NULL, current_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 16:37:47.077 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572940403179520\n# Query_time: 0.423173796\n# Parse_time: 0\n# Compile_time: 0.196706482\n# Rewrite_time: 0.006059386\n# Optimize_time: 0\n# Wait_TS: 0.000082006\n# DB: mysql\n# Is_internal: true\n# Digest: ca2019e08a331284bd0c64be228a0537fcf9f5983e95d94b67ef42dcb8f54385\n# Num_cop_tasks: 0\n# Mem_max: 346778\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: true\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('ogPwPDAJMjdfMQkwCTAJTi9BCTAJdGltZToyMTIuOG1zLCBsb29wczoxLCBwcmVwYXJlOiB7dG90YWw6IDM0LjkBIkxhdXRvX2lkX2FsbG9jYXRvcjogewUMZF9jbnQ6IDEsIEdldDp7bnVtX3JwYzo0LCB0AUEAXwVouDQ1Ny4xwrVzfSwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjQ3Ni41wrVzLCBnZXRfESQQczoyMMIBFQkREDo2MTQuCSYcc2xvd2VzdF8RQQV0BCB7BXNoOiAwLjAwMHMsIHJlZ2lvbl9pZDogMiwgc3RvAdkFBwgxLCAZjBhwcmltYXJ5RkQAADGKRAANZBhudW06MSwgBc4MX2tleSVNCQ5UYnl0ZTozMn19fSwgaW5zZXJ0OjE3NyFWMAk5MC43IEtCCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('rgPwgQqpAwoISW5zZXJ0XzE4AUABUgNOL0FaFXRpbWU6MjEyLjhtcywgbG9vcHM6MWLtAnByZXBhcmU6IHt0b3RhbDogMzQuOW1zLCBhdXRvX2lkX2FsbG9jYXRvcjoge2FsbG9jX2NudDogMSwgR2V0OntudW1fcnBjOjQsIHRvdGFsX3QBabg0NTcuMcK1c30sIGNvbW1pdF90eG46IHtwcmV3cml0ZTo0NzYuNcK1cywgZ2V0XxEkEHM6MjDCARUJERA6NjE0LgkmHHNsb3dlc3RfEUEMX3JwYxm0YDAuMDAwcywgcmVnaW9uX2lkOiAyLCBzdG8B2QUHCDEsIBmMGHByaW1hcnlGRAAAMYpEAA1kGG51bToxLCAFzhBfa2V5cxkOqGJ5dGU6MzJ9fX0sIGluc2VydDoxNzcuOW1zcJrVBXj///////////8BGAE=')\nINSERT HIGH_PRIORITY INTO mysql.GLOBAL_VARIABLES VALUES (\"tidb_redact_log\", \"OFF\"), (\"low_priority_updates\", \"OFF\"), (\"innodb_buffer_pool_dump_pct\", \"\"), (\"tidb_shard_allocate_step\", \"9223372036854775807\"), (\"range_alloc_block_size\", \"4096\"), (\"tidb_enable_new_cost_interface\", \"ON\"), (\"tidb_auto_analyze_end_time\", \"23:59 +0000\"), (\"max_sort_length\", \"1024\"), (\"master_info_repository\", \"FILE\"), (\"tidb_enable_concurrent_ddl\", \"ON\"), (\"binlogging_impossible_mode\", \"IGNORE_ERROR\"), (\"tidb_use_plan_baselines\", \"ON\"), (\"tidb_enable_amend_pessimistic_txn\", \"OFF\"), (\"lock_wait_timeout\", \"31536000\"), (\"tidb_enable_gogc_tuner\", \"ON\"), (\"innodb_table_locks\", \"ON\"), (\"autocommit\", \"ON\"), (\"innodb_adaptive_hash_index\", \"ON\"), (\"tidb_opt_seek_factor\", \"20\"), (\"event_scheduler\", \"OFF\"), (\"lc_time_names\", \"en_US\"), (\"slave_transaction_retries\", \"10\"), (\"tidb_enable_historical_stats\", \"OFF\"), (\"skip_name_resolve\", \"OFF\"), (\"tidb_store_limit\", \"0\"), (\"tidb_gc_concurrency\", \"-1\"), (\"flush_time\", \"0\"), (\"character_set_server\", \"utf8mb4\"), (\"innodb_monitor_enable\", \"\"), (\"net_buffer_length\", \"16384\"), (\"tidb_ddl_error_count_limit\", \"512\"), (\"tidb_opt_correlation_threshold\", \"0.9\"), (\"tidb_streamagg_concurrency\", \"1\"), (\"log_slow_admin_statements\", \"OFF\"), (\"tidb_hashagg_partial_concurrency\", \"-1\"), (\"tidb_enable_tso_follower_proxy\", \"OFF\"), (\"innodb_buffer_pool_filename\", \"ib_buffer_pool\"), (\"query_cache_size\", \"1048576\"), (\"tidb_evolve_plan_task_end_time\", \"23:59 +0000\"), (\"tidb_nontransactional_ignore_error\", \"OFF\"), (\"auto_increment_offset\", \"1\"), (\"tidb_merge_partition_stats_concurrency\", \"1\"), (\"innodb_log_checksum_algorithm\", \"\"), (\"tidb_ttl_job_schedule_window_end_time\", \"23:59 +0000\"), (\"net_read_timeout\", \"30\"), (\"tidb_ttl_delete_worker_count\", \"4\"), (\"max_seeks_for_key\", \"18446744073709551615\"), (\"read_rnd_buffer_size\", \"262144\"), (\"relay_log_info_repository\", \"FILE\"), (\"tidb_opt_fix_control\", \"\"), (\"end_markers_in_json\", \"OFF\"), (\"rpl_semi_sync_master_wait_no_slave\", \"ON\"), (\"tidb_enable_async_commit\", \"OFF\"), (\"tidb_ddl_disk_quota\", \"107374182400\"), (\"slave_net_timeout\", \"3600\"), (\"tidb_opt_prefix_index_single_scan\", \"ON\"), (\"tidb_mem_oom_action\", \"LOG\"), (\"sync_relay_log\", \"10000\"), (\"tidb_top_sql_max_meta_count\", \"5000\"), (\"innodb_api_bk_commit_interval\", \"5\"), (\"profiling_history_size\", \"15\"), (\"ndb_index_stat_enable\", \"\"), (\"innodb_default_row_format\", \"dynamic\"), (\"innodb_undo_log_truncate\", \"\"), (\"tidb_general_plan_cache_size\", \"100\"), (\"tidb_max_delta_schema_count\", \"1024\"), (\"relay_log_purge\", \"ON\"), (\"tidb_build_stats_concurrency\", \"4\"), (\"tidb_index_join_double_read_penalty_cost_rate\", \"0\"), (\"tidb_ttl_scan_worker_count\", \"4\"), (\"ndb_deferred_constraints\", \"\"), (\"tidb_stmt_summary_max_sql_length\", \"4096\"), (\"tidb_min_paging_size\", \"128\"), (\"delayed_insert_timeout\", \"300\"), (\"tidb_mem_quota_query\", \"1073741824\"), (\"log_slow_slave_statements\", \"OFF\"), (\"myisam_stats_method\", \"nulls_unequal\"), (\"secure_auth\", \"ON\"), (\"ndb_eventbuffer_max_alloc\", \"\"), (\"tidb_sysdate_is_now\", \"OFF\"), (\"sql_mode\", \"ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION\"), (\"tidb_multi_statement_mode\", \"OFF\"), (\"log_queries_not_using_indexes\", \"OFF\"), (\"disconnect_on_expired_password\", \"ON\"), (\"profiling\", \"OFF\"), (\"tidb_enable_index_merge_join\", \"OFF\"), (\"tidb_enable_auto_increment_in_generated\", \"OFF\"), (\"innodb_checksum_algorithm\", \"innodb\"), (\"tidb_auto_build_stats_concurrency\", \"1\"), (\"tidb_mem_quota_analyze\", \"-1\"), (\"tidb_enable_prepared_plan_cache\", \"ON\"), (\"log_error_verbosity\", \"\"), (\"expire_logs_days\", \"0\"), (\"innodb_optimize_fulltext_only\", \"0\"), (\"innodb_support_xa\", \"1\"), (\"ft_boolean_syntax\", \"+ -><()~*:\\\"\\\"&|\"), (\"optimizer_trace_offset\", \"-1\"), (\"innodb_concurrency_tickets\", \"5000\"), (\"sql_select_limit\", \"18446744073709551615\"), (\"tidb_dml_batch_size\", \"0\"), (\"default_storage_engine\", \"InnoDB\"), (\"tidb_analyze_version\", \"2\"), (\"optimizer_trace_limit\", \"1\"), (\"delay_key_write\", \"ON\"), (\"tidb_backoff_weight\", \"2\"), (\"tidb_allow_mpp\", \"ON\"), (\"auto(len:21519);"] [2024/05/06 16:37:47.337 +08:00] [INFO] [bootstrap.go:529] ["bootstrap successful"] ["take time"=23.214285426s] [2024/05/06 16:37:47.339 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:37:47.339 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 134, tp add index"] ["take time"=29.439µs] [2024/05/06 16:37:47.339 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 135, tp add index"] ["take time"=17.942µs] [2024/05/06 16:37:47.339 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 136, tp add index"] ["take time"=17.494µs] [2024/05/06 16:37:47.339 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 137, tp add index"] ["take time"=22.004µs] [2024/05/06 16:37:47.340 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 138, tp add index"] ["take time"=19.772µs] [2024/05/06 16:37:47.340 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 139, tp add index"] ["take time"=23.334µs] [2024/05/06 16:37:47.340 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 140, tp add index"] ["take time"=20.81µs] [2024/05/06 16:37:47.340 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 141, tp add index"] ["take time"=18.171µs] [2024/05/06 16:37:47.340 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 142, tp add index"] ["take time"=18.85µs] [2024/05/06 16:37:47.340 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 143, tp add index"] ["take time"=20.771µs] [2024/05/06 16:37:47.340 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:37:47.340 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 133, tp general"] ["take time"=4.589µs] [2024/05/06 16:37:47.340 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 131, tp general"] ["take time"=1.97µs] [2024/05/06 16:37:47.340 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 132, tp add index"] ["take time"=2.132µs] [2024/05/06 16:37:47.340 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:37:47.341 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:37:47.349 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=24046a78-06f1-41b9-bcb2-caa1c28df616] ["take time"=10.111574ms] [2024/05/06 16:37:47.349 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=24046a78-06f1-41b9-bcb2-caa1c28df616] [2024/05/06 16:37:47.349 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:37:47.349 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:37:47.349 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:37:47.349 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:37:47.349 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:37:47.349 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:37:47.350 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=10.862179ms] [2024/05/06 16:37:47.350 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=91a32eaa-bd1b-4afa-81d1-0e62af968a3f] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 16:37:47.485 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=39] ["start time"=132.979511ms] [2024/05/06 16:37:47.492 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:37:47.492 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=6166d41b-344f-47b5-bccc-bae50963a283] [runWorker=true] [2024/05/06 16:37:47.494 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:37:47.494 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:37:47.495 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 144, tp general"] [2024/05/06 16:37:47.495 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 145, tp add index"] [2024/05/06 16:37:47.498 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:37:47.499 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:37:47.499 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:37:47.499 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:37:47.532 +08:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 16:37:47.758 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=39] [cur_db=test] [sql="drop table if exists t1,t2"] [user=] [2024/05/06 16:37:47.762 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=39] [cur_db=test] [sql="create table t1 (id int primary key, v int)"] [user=] [2024/05/06 16:37:47.801 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:47.775 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:47.801 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:47.775 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t1 (id int primary key, v int)"] [2024/05/06 16:37:48.552 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 146, tp general"] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:47.775 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:48.613 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=1.707537ms] [phyTblIDs="[80]"] [actionTypes="[8]"] [2024/05/06 16:37:48.650 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=81] [version=40] [2024/05/06 16:37:48.652 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=40] ["take time"=40.952232ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:47.775 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:48.698 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 146, tp general"] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:47.775 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:48.745 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=81] [2024/05/06 16:37:48.746 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:48.747 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Conn_ID: 15\n# Query_time: 0.987472416\n# Parse_time: 0.000933046\n# Compile_time: 0.001037291\n# Rewrite_time: 0.000010212\n# Optimize_time: 0.00045898\n# Wait_TS: 0.000093742\n# DB: test\n# Is_internal: false\n# Digest: 58adff4e53b4dc3a2102ff826681d219bcf79edb1d10a7d7eddd3da56fcd9ce6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\ncreate table t1 (id int primary key, v int);"] [2024/05/06 16:37:48.756 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=40] [cur_db=test] [sql="create table t2 (id int)"] [user=] [2024/05/06 16:37:48.798 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:48.769 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:48.798 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:48.769 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t2 (id int)"] [2024/05/06 16:37:48.867 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 146, tp general"] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:48.769 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:48.913 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=1.162635ms] [phyTblIDs="[82]"] [actionTypes="[8]"] [2024/05/06 16:37:48.951 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=83] [version=41] [2024/05/06 16:37:48.952 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=41] ["take time"=40.130907ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:48.769 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:48.996 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 146, tp general"] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:48.769 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:49.039 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=83] [2024/05/06 16:37:49.039 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:49.042 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=41] [cur_db=test] [sql="create temporary table tmp (id int)"] [user=] [2024/05/06 16:37:49.191 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=41] [cur_db=test] [sql="alter table t2 add column(c1 int)"] [user=] [2024/05/06 16:37:49.222 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:85, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:37:49.204 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:49.223 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:85, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:37:49.204 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="alter table t2 add column(c1 int)"] [2024/05/06 16:37:49.282 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 146, tp general"] [job="ID:85, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:49.204 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:49.284 +08:00] [INFO] [column.go:133] ["[ddl] run add column job"] [job="ID:85, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:37:49.204 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [columnInfo="{\"id\":2,\"name\":{\"O\":\"c1\",\"L\":\"c1\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 16:37:49.313 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=1.469693ms] [phyTblIDs="[82]"] [actionTypes="[32]"] [2024/05/06 16:37:49.350 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=42] [2024/05/06 16:37:49.352 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=42] ["take time"=40.981293ms] [job="ID:85, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:37:49.204 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:49.392 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 146, tp general"] [job="ID:85, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:49.204 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:49.425 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=1.776008ms] [phyTblIDs="[82]"] [actionTypes="[32]"] [2024/05/06 16:37:49.458 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=43] [2024/05/06 16:37:49.459 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=43] ["take time"=36.162131ms] [job="ID:85, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:37:49.204 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:49.499 +08:00] [INFO] [info.go:1114] [SetTiFlashGroupConfig] [2024/05/06 16:37:49.500 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 146, tp general"] [job="ID:85, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:49.204 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:49.530 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=1.621107ms] [phyTblIDs="[82]"] [actionTypes="[32]"] [2024/05/06 16:37:49.550 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=44] [2024/05/06 16:37:49.551 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=44] ["take time"=23.002746ms] [job="ID:85, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:37:49.204 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:49.653 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 146, tp general"] [job="ID:85, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:49.204 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:49.700 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=1.68388ms] [phyTblIDs="[82]"] [actionTypes="[32]"] [2024/05/06 16:37:49.750 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=45] [2024/05/06 16:37:49.751 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=45] ["take time"=54.415718ms] [job="ID:85, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:82, RowCount:0, ArgLen:4, start time: 2024-05-06 16:37:49.204 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:49.801 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 146, tp general"] [job="ID:85, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:49.204 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:49.846 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=85] [2024/05/06 16:37:49.846 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:49.847 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Conn_ID: 16\n# Query_time: 0.657827617\n# Parse_time: 0.000671174\n# Compile_time: 0.001082611\n# Rewrite_time: 0.000016873\n# Optimize_time: 0.000445847\n# Wait_TS: 0.000097685\n# DB: test\n# Is_internal: false\n# Digest: 177e330fc6e13ff4b1b9f51ae04b524c419feabb143557fdc6a5807ebb58aed3\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nalter table t2 add column(c1 int);"] [2024/05/06 16:37:49.859 +08:00] [INFO] [set.go:308] ["load snapshot info schema"] [conn=16] [SnapshotTS=449572941113589760] [2024/05/06 16:37:49.868 +08:00] [INFO] [set.go:308] ["load snapshot info schema"] [conn=16] [SnapshotTS=449572941113589760] [2024/05/06 16:37:49.877 +08:00] [INFO] [set.go:308] ["load snapshot info schema"] [conn=16] [SnapshotTS=449572941113589760] [2024/05/06 16:37:49.879 +08:00] [INFO] [session.go:3962] ["use snapshot schema"] [conn=16] [schemaVersion=41] [2024/05/06 16:37:49.887 +08:00] [INFO] [set.go:308] ["load snapshot info schema"] [conn=16] [SnapshotTS=449572941113589760] [2024/05/06 16:37:50.125 +08:00] [INFO] [set.go:308] ["load snapshot info schema"] [conn=16] [SnapshotTS=449572941335101440] [2024/05/06 16:37:50.129 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:37:50.130 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 151, tp add index"] ["take time"=25.25µs] [2024/05/06 16:37:50.130 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 152, tp add index"] ["take time"=14.275µs] [2024/05/06 16:37:50.130 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 153, tp add index"] ["take time"=27.347µs] [2024/05/06 16:37:50.130 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 154, tp add index"] ["take time"=13.646µs] [2024/05/06 16:37:50.130 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 155, tp add index"] ["take time"=14.266µs] [2024/05/06 16:37:50.130 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 156, tp add index"] ["take time"=14.196µs] [2024/05/06 16:37:50.130 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 147, tp add index"] ["take time"=16.414µs] [2024/05/06 16:37:50.130 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 148, tp add index"] ["take time"=13.71µs] [2024/05/06 16:37:50.130 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 149, tp add index"] ["take time"=10.415µs] [2024/05/06 16:37:50.130 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 150, tp add index"] ["take time"=13.004µs] [2024/05/06 16:37:50.130 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:37:50.130 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 146, tp general"] ["take time"=7.344µs] [2024/05/06 16:37:50.131 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 144, tp general"] ["take time"=6.555µs] [2024/05/06 16:37:50.131 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 145, tp add index"] ["take time"=2.008µs] [2024/05/06 16:37:50.131 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:37:50.131 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:37:50.133 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=6166d41b-344f-47b5-bccc-bae50963a283] ["take time"=3.456206ms] [2024/05/06 16:37:50.133 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=6166d41b-344f-47b5-bccc-bae50963a283] [2024/05/06 16:37:50.133 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:37:50.133 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:37:50.133 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:37:50.133 +08:00] [INFO] [domain.go:1525] ["globalBindHandleWorkerLoop exited."] [2024/05/06 16:37:50.133 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:37:50.133 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:37:50.133 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:37:50.133 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:37:50.133 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:37:50.133 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:37:50.133 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:37:50.133 +08:00] [INFO] [domain.go:1444] ["LoadSysVarCacheLoop exited."] [2024/05/06 16:37:50.133 +08:00] [INFO] [domain.go:1569] ["handleEvolvePlanTasksLoop exited."] [2024/05/06 16:37:50.133 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:37:50.133 +08:00] [INFO] [domain.go:1394] ["loadPrivilegeInLoop exited."] [2024/05/06 16:37:50.133 +08:00] [INFO] [domain.go:1748] ["dumpFileGcChecker exited."] [2024/05/06 16:37:50.138 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=8.751431ms] [2024/05/06 16:37:50.140 +08:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 16:37:50.140 +08:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 16:37:50.140 +08:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 16:37:50.140 +08:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 16:37:50.140 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 16:37:50.140 +08:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestTxnContextForStaleReadInPrepare (26.19s) === RUN TestStillWriteConflictAfterRetry [2024/05/06 16:37:50.148 +08:00] [INFO] [region_cache.go:2484] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 16:37:50.152 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:37:50.153 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:37:50.162 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:37:50.162 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:37:50.168 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:37:50.171 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=f06a5f6a-e2b8-459b-836b-d60f4c3d6850] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 16:37:50.172 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).Init\n\tdomain/domain.go:1074\ngithub.com/pingcap/tidb/session.(*domainMap).Get.func1\n\tsession/tidb.go:90\ngithub.com/pingcap/tidb/util.RunWithRetry\n\tutil/misc.go:69\ngithub.com/pingcap/tidb/session.(*domainMap).Get\n\tsession/tidb.go:76\ngithub.com/pingcap/tidb/session.createSessionWithOpt\n\tsession/session.go:3520\ngithub.com/pingcap/tidb/session.createSession\n\tsession/session.go:3516\ngithub.com/pingcap/tidb/session.runInBootstrapSession\n\tsession/session.go:3480\ngithub.com/pingcap/tidb/session.BootstrapSession\n\tsession/session.go:3309\ngithub.com/pingcap/tidb/testkit.bootstrap\n\ttestkit/mockstore.go:84\ngithub.com/pingcap/tidb/testkit.CreateMockStoreAndDomain\n\ttestkit/mockstore.go:69\nsessiontxn/sessiontxn_test_test.setupTxnContextTest\n\tsessiontxn/txn_context_test.go:61\nsessiontxn/sessiontxn_test_test.TestStillWriteConflictAfterRetry\n\tsessiontxn/txn_context_test.go:721\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1446\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:37:50.204 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=31.381454ms] [2024/05/06 16:37:50.209 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:37:50.209 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=cba867ab-0070-492c-a365-1cc305ecfdfd] [runWorker=true] [2024/05/06 16:37:50.209 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:37:50.209 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:37:50.210 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 157, tp general"] [2024/05/06 16:37:50.210 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 158, tp add index"] [2024/05/06 16:37:50.210 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:37:50.211 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:37:50.211 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:37:50.211 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:37:50.217 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 16:37:50.238 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:50.227 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:50.238 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:37:50.227 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 16:37:50.462 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:37:50.713 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:37:50.963 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:37:51.212 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:37:51.275 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:50.227 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:51.321 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=18.503338ms] [2024/05/06 16:37:51.326 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:37:51.362 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:51.362 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=3] [version=1] [2024/05/06 16:37:51.362 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=60.228815ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:37:50.227 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:51.399 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:50.227 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:51.426 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=3] [2024/05/06 16:37:51.427 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:51.428 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.211413875\n# Parse_time: 0\n# Compile_time: 0.000543883\n# Rewrite_time: 0.000009126\n# Optimize_time: 0\n# Wait_TS: 0.000066747\n# DB: mysql\n# Is_internal: true\n# Digest: 0a22979ad136f741465cf206b13e5717b9758dda34f7cae5a7a925f91711d6a0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse mysql;\nCREATE DATABASE IF NOT EXISTS test;"] [2024/05/06 16:37:51.430 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 16:37:51.465 +08:00] [INFO] [session.go:3817] ["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 16:37:51.682 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:51.483 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:51.682 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:51.483 +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 16:37:51.743 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:51.483 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:52.180 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=9.880726ms] [phyTblIDs="[4]"] [actionTypes="[8]"] [2024/05/06 16:37:52.211 +08:00] [INFO] [info.go:1114] [SetTiFlashGroupConfig] [2024/05/06 16:37:52.211 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:52.211 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=5] [version=2] [2024/05/06 16:37:52.214 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=44.91634ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:51.483 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:52.315 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:51.483 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:52.552 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=5] [2024/05/06 16:37:52.552 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:52.554 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.103950213\n# Parse_time: 0\n# Compile_time: 0.014745993\n# Rewrite_time: 0.000011941\n# Optimize_time: 0\n# Wait_TS: 0.000099306\n# DB: mysql\n# Is_internal: true\n# Digest: 14c6b489558060bdbede877927034270db5af07c6621aa28f87eeaec8727e925\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.user ( Host CHAR(255), User CHAR(32), authentication_string TEXT, plugin CHAR(64), Select_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Insert_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Update_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Delete_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Process_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Grant_priv ENUM('N','Y') NOT NULL DEFAULT 'N', References_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_db_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Super_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Index_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_user_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Event_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_slave_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_client_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Trigger_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Account_locked ENUM('N','Y') NOT NULL DEFAULT 'N', Shutdown_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Reload_priv ENUM('N','Y') NOT NULL DEFAULT 'N', FILE_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Config_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N', Password_reuse_history smallint unsigned DEFAULT NULL, Password_reuse_time smallint unsigned DEFAULT NULL, User_attributes json, Token_issuer VARCHAR(255), Password_expired ENUM('N','Y') NOT NULL DEFAULT 'N', Password_last_changed TIMESTAMP DEFAULT CURRENT_TIMESTAMP(), Password_lifetime SMALLINT UNSIGNED DEFAULT NULL, PRIMARY KEY (Host, User));"] [2024/05/06 16:37:52.565 +08:00] [INFO] [session.go:3817] ["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 16:37:52.619 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:52.579 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:52.619 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:52.579 +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 16:37:52.671 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:52.579 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:52.750 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=2.100986ms] [phyTblIDs="[6]"] [actionTypes="[8]"] [2024/05/06 16:37:52.811 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:52.811 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=7] [version=3] [2024/05/06 16:37:52.813 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=66.396141ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:52.579 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:52.856 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:52.579 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:52.917 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=7] [2024/05/06 16:37:52.917 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:52.919 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.357586581\n# Parse_time: 0\n# Compile_time: 0.00372582\n# Rewrite_time: 0.000011937\n# Optimize_time: 0\n# Wait_TS: 0.000085754\n# DB: mysql\n# Is_internal: true\n# Digest: eeb59bc0d98f65a2a5aef8eaa99596260e746b00eed183baf856558ef03533ac\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.password_history ( Host char(255) NOT NULL DEFAULT '', User char(32) NOT NULL DEFAULT '', Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6), Password text, PRIMARY KEY (Host,User,Password_timestamp ) ) COMMENT='Password history for user accounts' ;"] [2024/05/06 16:37:52.925 +08:00] [INFO] [session.go:3817] ["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 16:37:52.979 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:52.937 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:52.979 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:52.937 +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 16:37:53.031 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:52.937 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:53.120 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=1.992792ms] [phyTblIDs="[8]"] [actionTypes="[8]"] [2024/05/06 16:37:53.161 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:53.162 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=9] [version=4] [2024/05/06 16:37:53.165 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=47.797022ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:52.937 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:53.209 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:52.937 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:53.267 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=9] [2024/05/06 16:37:53.268 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:53.270 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.346198197\n# Parse_time: 0\n# Compile_time: 0.001939045\n# Rewrite_time: 0.000014047\n# Optimize_time: 0\n# Wait_TS: 0.000072877\n# DB: mysql\n# Is_internal: true\n# Digest: 3bc9b46cf9e300a8d240915cf47216424544ed9f992c07151fba2e2cadc41632\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE 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 16:37:53.292 +08:00] [INFO] [session.go:3817] ["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),\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 16:37:53.421 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:53.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:53.421 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:53.305 +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),\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 16:37:53.483 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:53.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:53.740 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=4.99395ms] [phyTblIDs="[10]"] [actionTypes="[8]"] [2024/05/06 16:37:53.761 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:53.762 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=11] [version=5] [2024/05/06 16:37:53.763 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=28.439122ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:53.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:53.806 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:53.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:53.944 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=11] [2024/05/06 16:37:53.944 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:53.946 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.660534872\n# Parse_time: 0\n# Compile_time: 0.007051026\n# Rewrite_time: 0.000010221\n# Optimize_time: 0\n# Wait_TS: 0.000059792\n# DB: mysql\n# Is_internal: true\n# Digest: aeaf612801484f0311f850d36f60f29e6d904828682c1f3bb7307dff25ca3a15\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.db ( Host CHAR(255), DB CHAR(64), User CHAR(32), Select_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Insert_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Update_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Delete_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Grant_priv ENUM('N','Y') NOT NULL DEFAULT 'N', References_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Index_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Event_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Trigger_priv ENUM('N','Y') NOT NULL DEFAULT 'N', PRIMARY KEY (Host, DB, User));"] [2024/05/06 16:37:53.957 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:37:54.034 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:53.971 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:54.034 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:53.971 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:37:54.100 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:53.971 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:54.239 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=3.313117ms] [phyTblIDs="[12]"] [actionTypes="[8]"] [2024/05/06 16:37:54.262 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:54.262 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=13] [version=6] [2024/05/06 16:37:54.264 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=28.389588ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:53.971 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:54.318 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:53.971 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:54.394 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=13] [2024/05/06 16:37:54.394 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:54.396 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.442798941\n# Parse_time: 0\n# Compile_time: 0.00365378\n# Rewrite_time: 0.000017197\n# Optimize_time: 0\n# Wait_TS: 0.000099687\n# DB: mysql\n# Is_internal: true\n# Digest: e8b37dad6cc7f05ee1f0be61455667495826928a93ddd09b94e02fbaed113955\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tables_priv ( Host CHAR(255), DB CHAR(64), User CHAR(32), Table_name CHAR(64), Grantor CHAR(77), Timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, Table_priv SET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'), Column_priv SET('Select','Insert','Update','References'), PRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 16:37:54.401 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:37:54.474 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:54.414 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:54.474 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:54.414 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:37:54.529 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:54.414 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:54.643 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=2.848049ms] [phyTblIDs="[14]"] [actionTypes="[8]"] [2024/05/06 16:37:54.661 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:54.661 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=15] [version=7] [2024/05/06 16:37:54.662 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=22.470928ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:54.414 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:54.712 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:54.414 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:54.781 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=15] [2024/05/06 16:37:54.781 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:54.784 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.384827344\n# Parse_time: 0\n# Compile_time: 0.002343321\n# Rewrite_time: 0.000009859\n# Optimize_time: 0\n# Wait_TS: 0.000091222\n# DB: mysql\n# Is_internal: true\n# Digest: a19edbb3caff8cc57619278ab6eb5f791d7a821432309abe7184d0a7bca66b4d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.columns_priv( Host CHAR(255), DB CHAR(64), User CHAR(32), Table_name CHAR(64), Column_name CHAR(64), Timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, Column_priv SET('Select','Insert','Update','References'), PRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 16:37:54.788 +08:00] [INFO] [session.go:3817] ["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(1024) DEFAULT NULL);"] [user=] [2024/05/06 16:37:54.836 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:54.8 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:54.836 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:54.8 +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(1024) DEFAULT NULL);"] [2024/05/06 16:37:54.892 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:54.8 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:54.949 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=1.882096ms] [phyTblIDs="[16]"] [actionTypes="[8]"] [2024/05/06 16:37:55.011 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:55.012 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=17] [version=8] [2024/05/06 16:37:55.012 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=66.314967ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:54.8 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:55.058 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:54.8 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:55.107 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=17] [2024/05/06 16:37:55.107 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:55.108 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.322239378\n# Parse_time: 0\n# Compile_time: 0.001626809\n# Rewrite_time: 0.000020402\n# Optimize_time: 0\n# Wait_TS: 0.000082427\n# DB: mysql\n# Is_internal: true\n# Digest: 55c1ea537145da60f32339dc7a3b69a3859f3f428fbae4e4023eb71dca836f47\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES( VARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY, VARIABLE_VALUE VARCHAR(1024) DEFAULT NULL);"] [2024/05/06 16:37:55.113 +08:00] [INFO] [session.go:3817] ["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 16:37:55.167 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:55.127 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:55.167 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:55.127 +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 16:37:55.225 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:55.127 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:55.335 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=2.646932ms] [phyTblIDs="[18]"] [actionTypes="[8]"] [2024/05/06 16:37:55.362 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:55.362 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=19] [version=9] [2024/05/06 16:37:55.364 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=33.11598ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:55.127 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:55.410 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:55.127 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:55.464 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=19] [2024/05/06 16:37:55.464 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:55.466 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.354757579\n# Parse_time: 0\n# Compile_time: 0.002365346\n# Rewrite_time: 0.000010387\n# Optimize_time: 0\n# Wait_TS: 0.000085386\n# DB: mysql\n# Is_internal: true\n# Digest: 0cc4a9cf54472ccff7c4fb8d7c6e34e6bd96af08b450ad4c9677473f1f517cf2\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tidb( VARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY, VARIABLE_VALUE VARCHAR(1024) DEFAULT NULL, COMMENT VARCHAR(1024));"] [2024/05/06 16:37:55.477 +08:00] [INFO] [session.go:3817] ["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 16:37:55.540 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:55.491 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:55.540 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:55.491 +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 16:37:55.599 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:55.491 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:55.693 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=2.460561ms] [phyTblIDs="[20]"] [actionTypes="[8]"] [2024/05/06 16:37:55.713 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:55.713 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=21] [version=10] [2024/05/06 16:37:55.715 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=25.064226ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:55.491 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:55.762 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:55.491 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:55.826 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=21] [2024/05/06 16:37:55.826 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:55.827 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.353598779\n# Parse_time: 0\n# Compile_time: 0.003090882\n# Rewrite_time: 0.000011339\n# Optimize_time: 0\n# Wait_TS: 0.000089272\n# DB: mysql\n# Is_internal: true\n# Digest: ca851971407336dad93908a9f88f01d828a4e18f332111987f4a7675bced7ea4\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.help_topic ( help_topic_id INT(10) UNSIGNED NOT NULL, name CHAR(64) NOT NULL, help_category_id SMALLINT(5) UNSIGNED NOT NULL, description TEXT NOT NULL, example TEXT NOT NULL, url TEXT NOT NULL, PRIMARY KEY (help_topic_id) clustered, UNIQUE KEY name (name) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 16:37:55.834 +08:00] [INFO] [session.go:3817] ["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 16:37:55.891 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:55.846 +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 16:37:55.891 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:55.846 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:55.946 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:55.846 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:56.043 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=2.377649ms] [phyTblIDs="[22]"] [actionTypes="[8]"] [2024/05/06 16:37:56.061 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:56.061 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=23] [version=11] [2024/05/06 16:37:56.063 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=23.129165ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:55.846 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:56.110 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:55.846 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:56.183 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=23] [2024/05/06 16:37:56.183 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:56.184 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.352565476\n# Parse_time: 0\n# Compile_time: 0.002831763\n# Rewrite_time: 0.000009065\n# Optimize_time: 0\n# Wait_TS: 0.000084188\n# DB: mysql\n# Is_internal: true\n# Digest: db16a74bd407cb00f071eafe96456094f48fc00e802128fc486ef4847b8910b0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_meta ( version BIGINT(64) UNSIGNED NOT NULL, table_id BIGINT(64) NOT NULL, modify_count BIGINT(64) NOT NULL DEFAULT 0, count BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, snapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, INDEX idx_ver(version), UNIQUE INDEX tbl(table_id) );"] [2024/05/06 16:37:56.196 +08:00] [INFO] [session.go:3817] ["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 16:37:56.197 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [2024/05/06 16:37:56.295 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:56.209 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:56.295 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:56.209 +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 16:37:56.356 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:56.209 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:56.530 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=4.031485ms] [phyTblIDs="[24]"] [actionTypes="[8]"] [2024/05/06 16:37:56.561 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:56.561 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=25] [version=12] [2024/05/06 16:37:56.563 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=38.379235ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:56.209 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:56.606 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:56.209 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:56.699 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=25] [2024/05/06 16:37:56.699 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:56.701 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.509782038\n# Parse_time: 0\n# Compile_time: 0.004867458\n# Rewrite_time: 0.000012595\n# Optimize_time: 0\n# Wait_TS: 0.000092514\n# DB: mysql\n# Is_internal: true\n# Digest: 7780c45a0aac5f123ac85a7e601e79c5d7779e7c09a19953908e547605ed45d2\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_histograms ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, distinct_count BIGINT(64) NOT NULL, null_count BIGINT(64) NOT NULL DEFAULT 0, tot_col_size BIGINT(64) NOT NULL DEFAULT 0, modify_count BIGINT(64) NOT NULL DEFAULT 0, version BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, cm_sketch BLOB(6291456), stats_ver BIGINT(64) NOT NULL DEFAULT 0, flag BIGINT(64) NOT NULL DEFAULT 0, correlation DOUBLE NOT NULL DEFAULT 0, last_analyze_pos LONGBLOB DEFAULT NULL, UNIQUE INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:37:56.709 +08:00] [INFO] [session.go:3817] ["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 16:37:56.784 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:56.722 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:56.784 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:56.722 +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 16:37:56.840 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:56.722 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:56.956 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=2.008823ms] [phyTblIDs="[26]"] [actionTypes="[8]"] [2024/05/06 16:37:57.012 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:57.012 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=27] [version=13] [2024/05/06 16:37:57.014 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=60.929359ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:56.722 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:57.054 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:56.722 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:57.121 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=27] [2024/05/06 16:37:57.122 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:57.123 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.417575922\n# Parse_time: 0\n# Compile_time: 0.003389027\n# Rewrite_time: 0.000012473\n# Optimize_time: 0\n# Wait_TS: 0.00006476\n# DB: mysql\n# Is_internal: true\n# Digest: 5615b5212342304015b027afb253371dae02f19e53871cfbb034deb145dfce32\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_buckets ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, bucket_id BIGINT(64) NOT NULL, count BIGINT(64) NOT NULL, repeats BIGINT(64) NOT NULL, upper_bound LONGBLOB NOT NULL, lower_bound LONGBLOB , ndv BIGINT NOT NULL DEFAULT 0, UNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id) );"] [2024/05/06 16:37:57.130 +08:00] [INFO] [session.go:3817] ["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 16:37:57.188 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:57.143 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:57.188 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:57.143 +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 16:37:57.242 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:57.143 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:57.319 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=2.240088ms] [phyTblIDs="[28]"] [actionTypes="[8]"] [2024/05/06 16:37:57.361 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:57.361 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=29] [version=14] [2024/05/06 16:37:57.363 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=46.87113ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:57.143 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:57.407 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:57.143 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:57.470 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=29] [2024/05/06 16:37:57.470 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:57.471 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.34430816\n# Parse_time: 0\n# Compile_time: 0.003110451\n# Rewrite_time: 0.000013572\n# Optimize_time: 0\n# Wait_TS: 0.000103244\n# DB: mysql\n# Is_internal: true\n# Digest: 4f764dd084d16197c847e23500fcaf8b96dbbabd598c823de37967bfa2ad51cd\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.gc_delete_range ( job_id BIGINT NOT NULL COMMENT \"the DDL job ID\", element_id BIGINT NOT NULL COMMENT \"the schema element ID\", start_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", end_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", ts BIGINT NOT NULL COMMENT \"timestamp in uint64\", UNIQUE KEY delete_range_index (job_id, element_id) );"] [2024/05/06 16:37:57.478 +08:00] [INFO] [session.go:3817] ["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 16:37:57.560 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:57.489 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:57.560 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:57.489 +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 16:37:57.622 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:57.489 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:57.706 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=2.028154ms] [phyTblIDs="[30]"] [actionTypes="[8]"] [2024/05/06 16:37:57.761 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:57.761 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=31] [version=15] [2024/05/06 16:37:57.762 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=58.676131ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:57.489 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:57.802 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:57.489 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:57.867 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=31] [2024/05/06 16:37:57.868 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:57.869 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.394572301\n# Parse_time: 0\n# Compile_time: 0.003191653\n# Rewrite_time: 0.000015201\n# Optimize_time: 0\n# Wait_TS: 0.000092007\n# DB: mysql\n# Is_internal: true\n# Digest: 532cf71b38f2568975d61180716af7e2b05c9ca11023688224ed0c0eece42fa9\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done ( job_id BIGINT NOT NULL COMMENT \"the DDL job ID\", element_id BIGINT NOT NULL COMMENT \"the schema element ID\", start_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", end_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", ts BIGINT NOT NULL COMMENT \"timestamp in uint64\", UNIQUE KEY delete_range_done_index (job_id, element_id) );"] [2024/05/06 16:37:57.875 +08:00] [INFO] [session.go:3817] ["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 16:37:57.933 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:57.889 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:57.933 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:57.889 +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 16:37:57.990 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:57.889 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:58.066 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=1.872965ms] [phyTblIDs="[32]"] [actionTypes="[8]"] [2024/05/06 16:37:58.112 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:58.112 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=33] [version=16] [2024/05/06 16:37:58.114 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=50.668071ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:57.889 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:58.158 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:57.889 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:58.211 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=33] [2024/05/06 16:37:58.212 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:58.213 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.340207412\n# Parse_time: 0\n# Compile_time: 0.002295805\n# Rewrite_time: 0.000013892\n# Optimize_time: 0\n# Wait_TS: 0.00009817\n# DB: mysql\n# Is_internal: true\n# Digest: 28f04155dca9c7fd3a5e16199cefd152c629a57a64d0ccb2ed0f10309c23c59c\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_feedback ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, feedback BLOB NOT NULL, INDEX hist(table_id, is_index, hist_id) );"] [2024/05/06 16:37:58.223 +08:00] [INFO] [session.go:3817] ["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 16:37:58.289 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:58.234 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:58.289 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:58.234 +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 16:37:58.331 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:58.234 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:58.421 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=2.440468ms] [phyTblIDs="[34]"] [actionTypes="[8]"] [2024/05/06 16:37:58.462 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:58.462 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=35] [version=17] [2024/05/06 16:37:58.464 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=46.243706ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:58.234 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:58.512 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:58.234 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:58.581 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=35] [2024/05/06 16:37:58.581 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:58.583 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.363238505\n# Parse_time: 0\n# Compile_time: 0.003527905\n# Rewrite_time: 0.00001347\n# Optimize_time: 0\n# Wait_TS: 0.000082913\n# DB: mysql\n# Is_internal: true\n# Digest: 13e2fcff943423afddaa84c2d34108628854b5953bc7c41d2879240f077a5bd6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.role_edges ( FROM_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', FROM_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', TO_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', TO_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', WITH_ADMIN_OPTION ENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N', PRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER) );"] [2024/05/06 16:37:58.589 +08:00] [INFO] [session.go:3817] ["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 16:37:58.643 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:58.602 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:58.644 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:58.602 +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 16:37:58.699 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:58.602 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:58.810 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=2.398652ms] [phyTblIDs="[36]"] [actionTypes="[8]"] [2024/05/06 16:37:58.861 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:58.862 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=37] [version=18] [2024/05/06 16:37:58.864 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=57.088325ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:58.602 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:58.907 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:58.602 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:58.967 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=37] [2024/05/06 16:37:58.968 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:58.969 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.382743686\n# Parse_time: 0\n# Compile_time: 0.002829165\n# Rewrite_time: 0.00001028\n# Optimize_time: 0\n# Wait_TS: 0.000076164\n# DB: mysql\n# Is_internal: true\n# Digest: 9e6b544fb0287e9d8a74031560ed0cd6a5b4e54db073b893a68a76b05d929781\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.default_roles ( HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', DEFAULT_ROLE_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%', DEFAULT_ROLE_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', PRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER) );"] [2024/05/06 16:37:58.982 +08:00] [INFO] [session.go:3817] ["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 16:37:59.075 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:59 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:59.075 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:59 +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 16:37:59.129 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:59 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:59.257 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=3.641967ms] [phyTblIDs="[38]"] [actionTypes="[8]"] [2024/05/06 16:37:59.312 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:59.312 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=39] [version=19] [2024/05/06 16:37:59.313 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=60.584006ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:59 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:59.357 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:59 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:59.456 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=39] [2024/05/06 16:37:59.457 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:59.458 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.480603572\n# Parse_time: 0\n# Compile_time: 0.004636115\n# Rewrite_time: 0.000024903\n# Optimize_time: 0\n# Wait_TS: 0.000080379\n# DB: mysql\n# Is_internal: true\n# Digest: 0a4bc55a9ab72ef62ddaa1ee6472d7872306066fd783a8bb67047a497fbb4dbe\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.bind_info ( original_sql TEXT NOT NULL, bind_sql TEXT NOT NULL, default_db TEXT NOT NULL, status TEXT NOT NULL, create_time TIMESTAMP(3) NOT NULL, update_time TIMESTAMP(3) NOT NULL, charset TEXT NOT NULL, collation TEXT NOT NULL, source VARCHAR(10) NOT NULL DEFAULT 'unknown', sql_digest varchar(64), plan_digest varchar(64), INDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\", INDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\" ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 16:37:59.480 +08:00] [INFO] [session.go:3817] ["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 16:37:59.534 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:59.493 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:59.534 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:59.493 +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 16:37:59.590 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:59.493 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:59.670 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=2.361633ms] [phyTblIDs="[40]"] [actionTypes="[8]"] [2024/05/06 16:37:59.711 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:37:59.711 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=41] [version=20] [2024/05/06 16:37:59.713 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=46.229333ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:59.493 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:59.759 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:59.493 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:37:59.819 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=41] [2024/05/06 16:37:59.820 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:37:59.821 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.342994733\n# Parse_time: 0\n# Compile_time: 0.002319697\n# Rewrite_time: 0.000017394\n# Optimize_time: 0\n# Wait_TS: 0.000101096\n# DB: mysql\n# Is_internal: true\n# Digest: 04a90564803373a6eb3f5a52e8794d25c4d28f6c18af7899b0b9f1bf1539ec72\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_top_n ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, value LONGBLOB, count BIGINT(64) UNSIGNED NOT NULL, INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:37:59.824 +08:00] [INFO] [session.go:3817] ["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 16:37:59.894 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:37:59.836 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:37:59.894 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:59.836 +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 16:37:59.949 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:59.836 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:00.015 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=1.781344ms] [phyTblIDs="[42]"] [actionTypes="[8]"] [2024/05/06 16:38:00.061 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:00.061 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=43] [version=21] [2024/05/06 16:38:00.062 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=50.2664ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:37:59.836 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:00.104 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:37:59.836 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:00.151 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=43] [2024/05/06 16:38:00.151 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:00.153 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.330127088\n# Parse_time: 0\n# Compile_time: 0.001455546\n# Rewrite_time: 0.000013029\n# Optimize_time: 0\n# Wait_TS: 0.000062585\n# DB: mysql\n# Is_internal: true\n# Digest: 3e05fb8977f83f4e32022552aded3680a039cddc4239c339119a655dc1cffdbb\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist ( name CHAR(100) NOT NULL, store_type CHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb', reason VARCHAR(200) );"] [2024/05/06 16:38:00.156 +08:00] [INFO] [session.go:3817] ["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 16:38:00.190 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:00.166 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:00.190 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:00.166 +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 16:38:00.255 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:00.166 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:00.303 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=1.480412ms] [phyTblIDs="[44]"] [actionTypes="[8]"] [2024/05/06 16:38:00.361 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:00.361 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=45] [version=22] [2024/05/06 16:38:00.363 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=62.817201ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:00.166 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:00.404 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:00.166 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:00.440 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=45] [2024/05/06 16:38:00.440 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:00.451 +08:00] [INFO] [session.go:3817] ["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 16:38:00.531 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:00.464 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:00.531 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:00.464 +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 16:38:00.584 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:00.464 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:00.699 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=3.168069ms] [phyTblIDs="[46]"] [actionTypes="[8]"] [2024/05/06 16:38:00.712 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:00.712 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=47] [version=23] [2024/05/06 16:38:00.713 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=18.561892ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:00.464 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:00.757 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:00.464 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:00.828 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=47] [2024/05/06 16:38:00.828 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:00.830 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.381362255\n# Parse_time: 0\n# Compile_time: 0.003284646\n# Rewrite_time: 0.000015048\n# Optimize_time: 0\n# Wait_TS: 0.000091543\n# DB: mysql\n# Is_internal: true\n# Digest: bd2a0d9809689d30e22f8d82b29b4ee110d16cda3353b77d74a1938afb746386\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_extended ( name varchar(32) NOT NULL, type tinyint(4) NOT NULL, table_id bigint(64) NOT NULL, column_ids varchar(32) NOT NULL, stats blob DEFAULT NULL, version bigint(64) unsigned NOT NULL, status tinyint(4) NOT NULL, PRIMARY KEY(name, table_id), KEY idx_1 (table_id, status, version), KEY idx_2 (status, version) );"] [2024/05/06 16:38:00.834 +08:00] [INFO] [session.go:3817] ["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 16:38:00.894 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:00.846 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:00.894 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:00.846 +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 16:38:00.941 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:00.846 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:01.022 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=2.381492ms] [phyTblIDs="[48]"] [actionTypes="[8]"] [2024/05/06 16:38:01.061 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:01.061 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=49] [version=24] [2024/05/06 16:38:01.063 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=44.596748ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:00.846 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:01.133 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:00.846 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:01.189 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=49] [2024/05/06 16:38:01.190 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:01.191 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.359123332\n# Parse_time: 0\n# Compile_time: 0.002119948\n# Rewrite_time: 0.000014544\n# Optimize_time: 0\n# Wait_TS: 0.000089025\n# DB: mysql\n# Is_internal: true\n# Digest: f72fffa4e6072164db3e01e2e29568b0b93c5045737047be527343b1737b0882\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.schema_index_usage ( TABLE_ID bigint(64), INDEX_ID bigint(21), QUERY_COUNT bigint(64), ROWS_SELECTED bigint(64), LAST_USED_AT timestamp, PRIMARY KEY(TABLE_ID, INDEX_ID) );"] [2024/05/06 16:38:01.198 +08:00] [INFO] [session.go:3817] ["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 16:38:01.265 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:01.211 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:01.265 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:01.211 +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 16:38:01.309 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:01.211 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:01.401 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=2.332995ms] [phyTblIDs="[50]"] [actionTypes="[8]"] [2024/05/06 16:38:01.462 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:01.462 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=51] [version=25] [2024/05/06 16:38:01.464 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=66.259122ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:01.211 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:01.505 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:01.211 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:01.555 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=51] [2024/05/06 16:38:01.555 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:01.556 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.360108018\n# Parse_time: 0\n# Compile_time: 0.002156236\n# Rewrite_time: 0.000013134\n# Optimize_time: 0\n# Wait_TS: 0.000095594\n# DB: mysql\n# Is_internal: true\n# Digest: 27ef2533f9d97f96c8c86a69a0de51aad04499856acd05fe4a4b93fb5b6043d0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, value LONGBLOB, INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:38:01.562 +08:00] [INFO] [session.go:3817] ["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 16:38:01.622 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:01.576 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:01.622 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:01.576 +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 16:38:01.674 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:01.576 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:01.750 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=2.245691ms] [phyTblIDs="[52]"] [actionTypes="[8]"] [2024/05/06 16:38:01.812 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:01.812 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=53] [version=26] [2024/05/06 16:38:01.814 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=66.512068ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:01.576 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:01.849 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:01.576 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:01.897 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=53] [2024/05/06 16:38:01.897 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:01.898 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.338580055\n# Parse_time: 0\n# Compile_time: 0.002645501\n# Rewrite_time: 0.000021469\n# Optimize_time: 0\n# Wait_TS: 0.000086202\n# DB: mysql\n# Is_internal: true\n# Digest: 79c6e54229df7b01d20ffaf8ac1077aa9ef39e604df30d5ce852dd7049cc3ddd\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.global_grants ( USER char(32) NOT NULL DEFAULT '', HOST char(255) NOT NULL DEFAULT '', PRIV char(32) NOT NULL DEFAULT '', WITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N', PRIMARY KEY (USER,HOST,PRIV) );"] [2024/05/06 16:38:01.902 +08:00] [INFO] [session.go:3817] ["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 16:38:01.945 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:01.913 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:01.945 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:01.913 +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 16:38:01.991 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:01.913 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:02.057 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=1.873828ms] [phyTblIDs="[54]"] [actionTypes="[8]"] [2024/05/06 16:38:02.111 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:02.111 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=55] [version=27] [2024/05/06 16:38:02.113 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=58.696775ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:01.913 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:02.150 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:01.913 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:02.192 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=55] [2024/05/06 16:38:02.193 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:02.199 +08:00] [INFO] [session.go:3817] ["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 16:38:02.273 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:02.211 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:02.274 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:02.211 +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 16:38:02.327 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:02.211 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:02.405 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=2.134715ms] [phyTblIDs="[56]"] [actionTypes="[8]"] [2024/05/06 16:38:02.461 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:02.461 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=57] [version=28] [2024/05/06 16:38:02.462 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=60.46309ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:02.211 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:02.497 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:02.211 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:02.549 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=57] [2024/05/06 16:38:02.550 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:02.551 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.354901477\n# Parse_time: 0\n# Compile_time: 0.003450399\n# Rewrite_time: 0.000010696\n# Optimize_time: 0\n# Wait_TS: 0.000092486\n# DB: mysql\n# Is_internal: true\n# Digest: 3a5634ff31bd7d32849c5404b7ffc419c7a7074307b815e5369eb6ca363cbcd0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.column_stats_usage ( table_id BIGINT(64) NOT NULL, column_id BIGINT(64) NOT NULL, last_used_at TIMESTAMP, last_analyzed_at TIMESTAMP, PRIMARY KEY (table_id, column_id) CLUSTERED );"] [2024/05/06 16:38:02.557 +08:00] [INFO] [session.go:3817] ["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 16:38:02.603 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:02.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:02.603 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:02.569 +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 16:38:02.655 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:02.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:02.724 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=1.880852ms] [phyTblIDs="[58]"] [actionTypes="[8]"] [2024/05/06 16:38:02.761 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:02.761 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=59] [version=29] [2024/05/06 16:38:02.763 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=48.612195ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:02.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:02.800 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:02.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:02.856 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=59] [2024/05/06 16:38:02.856 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:02.857 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.302436457\n# Parse_time: 0\n# Compile_time: 0.002472249\n# Rewrite_time: 0.000010325\n# Optimize_time: 0\n# Wait_TS: 0.000077433\n# DB: mysql\n# Is_internal: true\n# Digest: d5bebde055ca14bff3e131e086a86c4095b9d04ea6fc326b4c2f16ffd61fbd2d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.table_cache_meta ( tid bigint(11) NOT NULL DEFAULT 0, lock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE', lease bigint(20) NOT NULL DEFAULT 0, oldReadLease bigint(20) NOT NULL DEFAULT 0, PRIMARY KEY (tid) );"] [2024/05/06 16:38:02.865 +08:00] [INFO] [session.go:3817] ["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 16:38:02.867 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [2024/05/06 16:38:02.926 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:02.879 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:02.926 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:02.879 +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 16:38:02.976 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:02.879 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:03.071 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=1.573451ms] [phyTblIDs="[60]"] [actionTypes="[8]"] [2024/05/06 16:38:03.111 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:03.111 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=61] [version=30] [2024/05/06 16:38:03.113 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=44.714034ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:02.879 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:03.158 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:02.879 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:03.225 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=61] [2024/05/06 16:38:03.225 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:03.227 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.364840892\n# Parse_time: 0\n# Compile_time: 0.003435742\n# Rewrite_time: 0.000016138\n# Optimize_time: 0\n# Wait_TS: 0.000083294\n# DB: mysql\n# Is_internal: true\n# Digest: 987fcd9b9a604209ec1101d918419b993c42f84fe228e20aee2fcca2931ff93e\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.analyze_options ( table_id BIGINT(64) NOT NULL, sample_num BIGINT(64) NOT NULL DEFAULT 0, sample_rate DOUBLE NOT NULL DEFAULT -1, buckets BIGINT(64) NOT NULL DEFAULT 0, topn BIGINT(64) NOT NULL DEFAULT -1, column_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT', column_ids TEXT(19372), PRIMARY KEY (table_id) CLUSTERED );"] [2024/05/06 16:38:03.234 +08:00] [INFO] [session.go:3817] ["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\t);"] [user=] [2024/05/06 16:38:03.286 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:03.247 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:03.286 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:03.247 +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\t);"] [2024/05/06 16:38:03.334 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:03.247 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:03.439 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=2.86716ms] [phyTblIDs="[62]"] [actionTypes="[8]"] [2024/05/06 16:38:03.461 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:03.461 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=63] [version=31] [2024/05/06 16:38:03.463 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=28.43133ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:03.247 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:03.506 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:03.247 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:03.569 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=63] [2024/05/06 16:38:03.569 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:03.570 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.339264236\n# Parse_time: 0\n# Compile_time: 0.00327218\n# Rewrite_time: 0.000013225\n# Optimize_time: 0\n# Wait_TS: 0.000083332\n# DB: mysql\n# Is_internal: true\n# Digest: 11757f6de6b3d2a64e92f14cd7b7f739729563ede3b0139d016148eba0b27ebf\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_history ( table_id bigint(64) NOT NULL, stats_data longblob NOT NULL, seq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice', version bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN', create_time datetime(6) NOT NULL, UNIQUE KEY table_version_seq (table_id, version, seq_no), KEY table_create_time (table_id, create_time, seq_no) );"] [2024/05/06 16:38:03.577 +08:00] [INFO] [session.go:3817] ["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\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\t);"] [user=] [2024/05/06 16:38:03.638 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:03.588 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:03.638 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:03.588 +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\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\t);"] [2024/05/06 16:38:03.689 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:03.588 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:03.790 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=2.190168ms] [phyTblIDs="[64]"] [actionTypes="[8]"] [2024/05/06 16:38:03.811 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:03.812 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=65] [version=32] [2024/05/06 16:38:03.814 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=26.533777ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:03.588 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:03.849 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:03.588 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:03.901 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=65] [2024/05/06 16:38:03.901 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:03.902 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.32719661\n# Parse_time: 0\n# Compile_time: 0.002352066\n# Rewrite_time: 0.000009121\n# Optimize_time: 0\n# Wait_TS: 0.000068164\n# DB: mysql\n# Is_internal: true\n# Digest: ebccd6f5d49fb0fcff4d7dc20bb3ae798d172a92ba5f6709445c980166f7e32f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_meta_history ( table_id bigint(64) NOT NULL, modify_count bigint(64) NOT NULL, count bigint(64) NOT NULL, version bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN', create_time datetime(6) NOT NULL, UNIQUE KEY table_version (table_id, version), KEY table_create_time (table_id, create_time) );"] [2024/05/06 16:38:03.915 +08:00] [INFO] [session.go:3817] ["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 16:38:03.995 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:03.928 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:03.995 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:03.928 +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 16:38:04.040 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:03.928 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:04.175 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=2.586279ms] [phyTblIDs="[66]"] [actionTypes="[8]"] [2024/05/06 16:38:04.211 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:04.212 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=67] [version=33] [2024/05/06 16:38:04.214 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=42.232971ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:03.928 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:04.291 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:03.928 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:04.403 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=67] [2024/05/06 16:38:04.403 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:04.405 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.494369584\n# Parse_time: 0\n# Compile_time: 0.00507466\n# Rewrite_time: 0.000010882\n# Optimize_time: 0\n# Wait_TS: 0.000070067\n# DB: mysql\n# Is_internal: true\n# Digest: bfb9a3ff60c3c60c054a207c0a0db06c87e29edbe94005d8d5c89fe484f4f90a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.analyze_jobs ( id BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT, update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, table_schema CHAR(64) NOT NULL DEFAULT '', table_name CHAR(64) NOT NULL DEFAULT '', partition_name CHAR(64) NOT NULL DEFAULT '', job_info TEXT NOT NULL, processed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, start_time TIMESTAMP, end_time TIMESTAMP, state ENUM('pending', 'running', 'finished', 'failed') NOT NULL, fail_reason TEXT, instance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job', process_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job', PRIMARY KEY (id), KEY (update_time) );"] [2024/05/06 16:38:04.408 +08:00] [INFO] [session.go:3817] ["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 16:38:04.448 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:04.42 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:04.448 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:04.42 +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 16:38:04.504 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:04.42 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:04.543 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=1.289083ms] [phyTblIDs="[68]"] [actionTypes="[8]"] [2024/05/06 16:38:04.561 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:04.562 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=69] [version=34] [2024/05/06 16:38:04.564 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=22.713867ms] [job="ID:69, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:04.42 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:04.604 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:69, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:04.42 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:04.638 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=69] [2024/05/06 16:38:04.639 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:04.711 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:04.663 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:04.711 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:04.663 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] [2024/05/06 16:38:04.759 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:04.663 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:04.853 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=2.530312ms] [phyTblIDs="[70]"] [actionTypes="[2097152]"] [2024/05/06 16:38:04.911 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:04.911 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=71] [version=35] [2024/05/06 16:38:04.912 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=62.281665ms] [job="ID:71, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:04.663 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:04.956 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:71, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:04.663 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:05.016 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=71] [2024/05/06 16:38:05.016 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:05.017 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.372060801\n# Parse_time: 0\n# Compile_time: 0.006568735\n# Rewrite_time: 0.003474277\n# Optimize_time: 0\n# Wait_TS: 0.000065367\n# DB: mysql\n# Is_internal: true\n# Digest: 812c81f344f5d0c8b8aedcb68ff1dca865b59104853273f7e66b8abff5429992\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE OR REPLACE VIEW mysql.tidb_mdl_view as ( select JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID );"] [2024/05/06 16:38:05.022 +08:00] [INFO] [session.go:3817] ["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 16:38:05.084 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:05.035 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:05.085 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:05.035 +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 16:38:05.138 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:05.035 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:05.246 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=2.488601ms] [phyTblIDs="[72]"] [actionTypes="[8]"] [2024/05/06 16:38:05.261 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:05.261 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=73] [version=36] [2024/05/06 16:38:05.261 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=18.316906ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:05.035 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:05.307 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:05.035 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:05.377 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=73] [2024/05/06 16:38:05.378 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:05.379 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.359065591\n# Parse_time: 0\n# Compile_time: 0.002323107\n# Rewrite_time: 0.000011805\n# Optimize_time: 0\n# Wait_TS: 0.000080334\n# DB: mysql\n# Is_internal: true\n# Digest: 3d2f349b1c68ee2b30e34bad8bb3838af6c40d7a26072b2d29d801d7fedbac48\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.plan_replayer_status ( sql_digest VARCHAR(128), plan_digest VARCHAR(128), origin_sql TEXT, token VARCHAR(128), update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fail_reason TEXT, instance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 16:38:05.384 +08:00] [INFO] [session.go:3817] ["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 16:38:05.452 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:05.396 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:05.452 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:05.396 +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 16:38:05.499 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:05.396 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:05.562 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=1.454043ms] [phyTblIDs="[74]"] [actionTypes="[8]"] [2024/05/06 16:38:05.612 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:05.612 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=75] [version=37] [2024/05/06 16:38:05.614 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=54.421185ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:05.396 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:05.655 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:05.396 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:05.703 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=75] [2024/05/06 16:38:05.704 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:05.705 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.323087517\n# Parse_time: 0\n# Compile_time: 0.002311737\n# Rewrite_time: 0.000013614\n# Optimize_time: 0\n# Wait_TS: 0.000085791\n# DB: mysql\n# Is_internal: true\n# Digest: 8d9754df14c826803fed84f1ae3eb8fc9729e76a793b6be6bf25967f1929d039\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.plan_replayer_task ( sql_digest VARCHAR(128) NOT NULL, plan_digest VARCHAR(128) NOT NULL, update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 16:38:05.710 +08:00] [INFO] [session.go:3817] ["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 16:38:05.761 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:05.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:05.761 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:05.72 +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 16:38:05.806 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:05.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:05.863 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=2.010045ms] [phyTblIDs="[76]"] [actionTypes="[8]"] [2024/05/06 16:38:05.912 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:05.912 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=77] [version=38] [2024/05/06 16:38:05.914 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=38] ["take time"=54.313353ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:05.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:05.950 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:05.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:06.000 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=77] [2024/05/06 16:38:06.000 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:06.012 +08:00] [INFO] [session.go:3817] ["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 16:38:06.096 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:06.022 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:06.096 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:06.022 +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 16:38:06.143 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 159, tp general"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:06.022 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:06.316 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=3.292832ms] [phyTblIDs="[78]"] [actionTypes="[8]"] [2024/05/06 16:38:06.361 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:06.361 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=79] [version=39] [2024/05/06 16:38:06.362 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=39] ["take time"=50.575241ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:06.022 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:06.403 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 159, tp general"] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:06.022 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:06.537 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=79] [2024/05/06 16:38:06.538 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:06.539 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.531275736\n# Parse_time: 0\n# Compile_time: 0.004329028\n# Rewrite_time: 0.000009881\n# Optimize_time: 0\n# Wait_TS: 0.000060045\n# DB: mysql\n# Is_internal: true\n# Digest: a30bd3c3a49070c554e65922e84c6b76e646842e3925a859fcde73941a7cb423\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status ( table_id bigint(64) PRIMARY KEY, parent_table_id bigint(64), table_statistics text DEFAULT NULL, last_job_id varchar(64) DEFAULT NULL, last_job_start_time timestamp NULL DEFAULT NULL, last_job_finish_time timestamp NULL DEFAULT NULL, last_job_ttl_expire timestamp NULL DEFAULT NULL, last_job_summary text DEFAULT NULL, current_job_id varchar(64) DEFAULT NULL, current_job_owner_id varchar(64) DEFAULT NULL, current_job_owner_addr varchar(256) DEFAULT NULL, current_job_owner_hb_time timestamp, current_job_start_time timestamp NULL DEFAULT NULL, current_job_ttl_expire timestamp NULL DEFAULT NULL, current_job_state text DEFAULT NULL, current_job_status varchar(64) DEFAULT NULL, current_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 16:38:07.124 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572945668603904\n# Query_time: 0.418660262\n# Parse_time: 0\n# Compile_time: 0.209161129\n# Rewrite_time: 0.00594001\n# Optimize_time: 0\n# Wait_TS: 0.000069412\n# DB: mysql\n# Is_internal: true\n# Digest: ca2019e08a331284bd0c64be228a0537fcf9f5983e95d94b67ef42dcb8f54385\n# Num_cop_tasks: 0\n# Mem_max: 351935\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: true\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('pAPwPDAJMjdfMQkwCTAJTi9BCTAJdGltZToxOTUuOG1zLCBsb29wczoxLCBwcmVwYXJlOiB7dG90YWw6IDMzLjQBIkxhdXRvX2lkX2FsbG9jYXRvcjogewUMZF9jbnQ6IDEsIEdldDp7bnVtX3JwYzo0LCB0AUEAXwVokDM1Ny40wrVzfSwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjM3My4BIRQsIGdldF8RJCBzOjE2LjLCtXMRNxQ6MzcxLjYFERxzbG93ZXN0XxFDBXYEIHsFdWg6IDAuMDAwcywgcmVnaW9uX2lkOiAyLCBzdG8B2wUHCDEsIBmOGHByaW1hcnnWRAANZBhudW06MSwgBdAMX2tleSVPCQ4EYnkB44AyfX19LCBpbnNlcnQ6MTYyLjVtcwk5NS43IEtCCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('sAPwgQqrAwoISW5zZXJ0XzE4AUABUgNOL0FaFXRpbWU6MTk1LjhtcywgbG9vcHM6MWLvAnByZXBhcmU6IHt0b3RhbDogMzMuNG1zLCBhdXRvX2lkX2FsbG9jYXRvcjoge2FsbG9jX2NudDogMSwgR2V0OntudW1fcnBjOjQsIHRvdGFsX3QBaZAzNTcuNMK1c30sIGNvbW1pdF90eG46IHtwcmV3cml0ZTozNzMuASEULCBnZXRfESQgczoxNi4ywrVzETcUOjM3MS42BREcc2xvd2VzdF8RQwxfcnBjGbZgMC4wMDBzLCByZWdpb25faWQ6IDIsIHN0bwHbBQcIMSwgGY4YcHJpbWFyedZEAA1kGG51bToxLCAF0BBfa2V5cxkOBGJ5AeOQMn19fSwgaW5zZXJ0OjE2Mi41bXNwv/0FeP///////////wEYAQ==')\nINSERT HIGH_PRIORITY INTO mysql.GLOBAL_VARIABLES VALUES (\"require_secure_transport\", \"OFF\"), (\"optimizer_trace_limit\", \"1\"), (\"tidb_opt_advanced_join_hint\", \"OFF\"), (\"tidb_index_lookup_join_concurrency\", \"-1\"), (\"tidb_enable_rate_limit_action\", \"OFF\"), (\"tidb_enable_plan_replayer_capture\", \"OFF\"), (\"tidb_stmt_summary_internal_query\", \"OFF\"), (\"tidb_broadcast_join_threshold_count\", \"10240\"), (\"relay_log_info_repository\", \"FILE\"), (\"slave_net_timeout\", \"3600\"), (\"validate_password.length\", \"8\"), (\"innodb_change_buffer_max_size\", \"25\"), (\"innodb_commit_concurrency\", \"0\"), (\"tidb_opt_copcpu_factor\", \"3\"), (\"tidb_enable_ordered_result_mode\", \"OFF\"), (\"ndb_optimization_delay\", \"\"), (\"transaction_read_only\", \"OFF\"), (\"new\", \"OFF\"), (\"tidb_rc_write_check_ts\", \"OFF\"), (\"profiling\", \"OFF\"), (\"innodb_fast_shutdown\", \"1\"), (\"innodb_sync_spin_loops\", \"30\"), (\"tidb_capture_plan_baselines\", \"OFF\"), (\"max_heap_table_size\", \"16777216\"), (\"tidb_ddl_reorg_worker_cnt\", \"4\"), (\"tidb_enable_foreign_key\", \"OFF\"), (\"connect_timeout\", \"10\"), (\"tiflash_fine_grained_shuffle_stream_count\", \"0\"), (\"tidb_evolve_plan_task_max_time\", \"600\"), (\"innodb_flushing_avg_loops\", \"30\"), (\"storage_engine\", \"InnoDB\"), (\"rewriter_verbose\", \"\"), (\"ndb_log_updated_only\", \"\"), (\"init_connect\", \"\"), (\"tidb_skip_isolation_level_check\", \"OFF\"), (\"optimizer_trace_offset\", \"-1\"), (\"innodb_buffer_pool_dump_at_shutdown\", \"0\"), (\"innodb_log_write_ahead_size\", \"\"), (\"stored_program_cache\", \"256\"), (\"binlog_row_image\", \"FULL\"), (\"validate_password.dictionary\", \"\"), (\"tidb_enable_telemetry\", \"OFF\"), (\"validate_password.enable\", \"OFF\"), (\"default_tmp_storage_engine\", \"InnoDB\"), (\"tidb_backoff_lock_fast\", \"10\"), (\"tmp_table_size\", \"16777216\"), (\"tidb_txn_mode\", \"pessimistic\"), (\"innodb_stats_method\", \"nulls_equal\"), (\"tidb_stats_load_sync_wait\", \"100\"), (\"tidb_hash_exchange_with_new_collation\", \"ON\"), (\"gtid_purged\", \"\"), (\"keep_files_on_create\", \"OFF\"), (\"max_seeks_for_key\", \"18446744073709551615\"), (\"validate_password.policy\", \"MEDIUM\"), (\"tidb_opt_disk_factor\", \"1.5\"), (\"block_encryption_mode\", \"aes-128-ecb\"), (\"innodb_online_alter_log_max_size\", \"134217728\"), (\"gtid_executed_compression_period\", \"\"), (\"sql_big_selects\", \"ON\"), (\"tidb_enable_table_partition\", \"ON\"), (\"tidb_prepared_plan_cache_size\", \"100\"), (\"read_buffer_size\", \"131072\"), (\"table_definition_cache\", \"2000\"), (\"max_length_for_sort_data\", \"1024\"), (\"tidb_restricted_read_only\", \"OFF\"), (\"completion_type\", \"NO_CHAIN\"), (\"foreign_key_checks\", \"OFF\"), (\"innodb_max_dirty_pages_pct_lwm\", \"0\"), (\"innodb_max_purge_lag_delay\", \"0\"), (\"tidb_mem_quota_binding_cache\", \"67108864\"), (\"max_sort_length\", \"1024\"), (\"tidb_index_merge_intersection_concurrency\", \"-1\"), (\"slave_max_allowed_packet\", \"1073741824\"), (\"tidb_multi_statement_mode\", \"OFF\"), (\"rpl_semi_sync_slave_trace_level\", \"\"), (\"max_statement_time\", \"\"), (\"innodb_purge_batch_size\", \"300\"), (\"collation_server\", \"utf8mb4_bin\"), (\"tidb_streamagg_concurrency\", \"1\"), (\"innodb_ft_enable_diag_print\", \"OFF\"), (\"innodb_status_output\", \"OFF\"), (\"tidb_opt_limit_push_down_threshold\", \"100\"), (\"ndb_deferred_constraints\", \"\"), (\"innodb_old_blocks_pct\", \"37\"), (\"sort_buffer_size\", \"262144\"), (\"sql_select_limit\", \"18446744073709551615\"), (\"optimizer_search_depth\", \"62\"), (\"innodb_undo_logs\", \"128\"), (\"tidb_enable_parallel_apply\", \"OFF\"), (\"read_rnd_buffer_size\", \"262144\"), (\"slave_parallel_type\", \"\"), (\"tidb_opt_broadcast_cartesian_join\", \"1\"), (\"innodb_ft_server_stopword_table\", \"\"), (\"tidb_enable_new_only_full_group_by_check\", \"OFF\"), (\"ndb_show_foreign_key_mock_tables\", \"\"), (\"tidb_opt_agg_push_down\", \"OFF\"), (\"log_backward_compatible_user_definitions\", \"\"), (\"transaction_write_set_extraction\", \"\"), (\"collation_database\", \"utf8mb4_bin\"), (\"delay_key_write\", \"ON\"), (\"div_precision_increment\", \"4\"), (\"innodb_stats_sample_pages\", \"8\"), (\"character_set_filesystem\", \"binary\"), (\"default_authentication_plugin\", \"mysql_native_password\"), (\"slave_rows_search_algorithms\", \"TABLE_SCAN,INDEX_SCAN\"), (\"tidb_stmt_summary_max_sql_length\", \"4096\"), (\"log_error_verbosity\", \"\"), (\"internal_tmp_disk_(len:21519);"] [2024/05/06 16:38:07.284 +08:00] [INFO] [bootstrap.go:529] ["bootstrap successful"] ["take time"=17.073085388s] [2024/05/06 16:38:07.285 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:38:07.286 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 164, tp add index"] ["take time"=15.023µs] [2024/05/06 16:38:07.286 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 165, tp add index"] ["take time"=15.116µs] [2024/05/06 16:38:07.286 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 166, tp add index"] ["take time"=9.58µs] [2024/05/06 16:38:07.286 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 167, tp add index"] ["take time"=15.059µs] [2024/05/06 16:38:07.286 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 168, tp add index"] ["take time"=23.269µs] [2024/05/06 16:38:07.286 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 169, tp add index"] ["take time"=19.656µs] [2024/05/06 16:38:07.286 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 160, tp add index"] ["take time"=9.638µs] [2024/05/06 16:38:07.286 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 161, tp add index"] ["take time"=9.24µs] [2024/05/06 16:38:07.286 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 162, tp add index"] ["take time"=9.24µs] [2024/05/06 16:38:07.286 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 163, tp add index"] ["take time"=18.462µs] [2024/05/06 16:38:07.286 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:38:07.287 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 159, tp general"] ["take time"=5.08µs] [2024/05/06 16:38:07.287 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 157, tp general"] ["take time"=2.156µs] [2024/05/06 16:38:07.287 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 158, tp add index"] ["take time"=1.913µs] [2024/05/06 16:38:07.287 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:38:07.287 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:38:07.293 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=cba867ab-0070-492c-a365-1cc305ecfdfd] ["take time"=7.851683ms] [2024/05/06 16:38:07.293 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=cba867ab-0070-492c-a365-1cc305ecfdfd] [2024/05/06 16:38:07.293 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:38:07.293 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:38:07.293 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:38:07.293 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:38:07.293 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:38:07.293 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:38:07.294 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=8.28213ms] [2024/05/06 16:38:07.294 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=f06a5f6a-e2b8-459b-836b-d60f4c3d6850] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 16:38:07.391 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=39] ["start time"=95.63858ms] [2024/05/06 16:38:07.395 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:38:07.396 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=e0ff0dea-84f8-4c3d-93bc-1c0bd20bcbe1] [runWorker=true] [2024/05/06 16:38:07.396 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:38:07.396 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:38:07.396 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 170, tp general"] [2024/05/06 16:38:07.396 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 171, tp add index"] [2024/05/06 16:38:07.398 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:38:07.399 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:38:07.399 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:38:07.399 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:38:07.439 +08:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 16:38:07.632 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=39] [cur_db=test] [sql="drop table if exists t1,t2"] [user=] [2024/05/06 16:38:07.635 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=39] [cur_db=test] [sql="create table t1 (id int primary key, v int)"] [user=] [2024/05/06 16:38:07.676 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:07.646 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:07.676 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:07.646 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t1 (id int primary key, v int)"] [2024/05/06 16:38:08.449 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:07.646 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:08.491 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=997.387µs] [phyTblIDs="[80]"] [actionTypes="[8]"] [2024/05/06 16:38:08.549 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=81] [version=40] [2024/05/06 16:38:08.550 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=40] ["take time"=60.603178ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:07.646 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:08.584 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:07.646 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:08.623 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=81] [2024/05/06 16:38:08.623 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:08.624 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Conn_ID: 17\n# Query_time: 0.990304015\n# Parse_time: 0.000902854\n# Compile_time: 0.000954238\n# Rewrite_time: 0.000011905\n# Optimize_time: 0.000449072\n# Wait_TS: 0.000076781\n# DB: test\n# Is_internal: false\n# Digest: 58adff4e53b4dc3a2102ff826681d219bcf79edb1d10a7d7eddd3da56fcd9ce6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\ncreate table t1 (id int primary key, v int);"] [2024/05/06 16:38:08.631 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=40] [cur_db=test] [sql="create table t2 (id int)"] [user=] [2024/05/06 16:38:08.669 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:08.641 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:08.669 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:08.641 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t2 (id int)"] [2024/05/06 16:38:08.716 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:08.641 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:08.754 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=1.464771ms] [phyTblIDs="[82]"] [actionTypes="[8]"] [2024/05/06 16:38:08.800 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=83] [version=41] [2024/05/06 16:38:08.802 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=41] ["take time"=50.523631ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:08.641 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:08.832 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:08.641 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:08.866 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=83] [2024/05/06 16:38:08.866 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:08.870 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=41] [cur_db=test] [sql="create temporary table tmp (id int)"] [user=] === RUN TestStillWriteConflictAfterRetry/#00 [2024/05/06 16:38:08.885 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=18] [schemaVersion=41] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:08.912 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:86, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:08.896 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:08.912 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:86, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:08.896 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:08.952 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:86, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:08.896 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:08.990 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=1.520292ms] [phyTblIDs="[80,85]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:09.049 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=86] [version=42] [2024/05/06 16:38:09.051 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=42] ["take time"=62.731296ms] [job="ID:86, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:08.896 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:09.078 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=86] [elementID=1] [comment="table ID is 80"] [2024/05/06 16:38:09.087 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=86] [jobType="truncate table"] [2024/05/06 16:38:09.090 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:86, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:08.896 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:09.129 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=86] [elementID=1] [startKey=748000000000000050] [endKey=748000000000000051] [2024/05/06 16:38:09.147 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=86] [2024/05/06 16:38:09.147 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#01 [2024/05/06 16:38:09.198 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=42] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:09.222 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:88, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:85, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:09.209 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:09.222 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:88, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:85, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:09.209 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:09.267 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:88, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:85, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:09.209 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:09.305 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=1.033896ms] [phyTblIDs="[85,87]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:09.349 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=88] [version=43] [2024/05/06 16:38:09.350 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=43] ["take time"=46.696222ms] [job="ID:88, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:85, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:09.209 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:09.381 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=88] [elementID=1] [comment="table ID is 85"] [2024/05/06 16:38:09.405 +08:00] [INFO] [info.go:1114] [SetTiFlashGroupConfig] [2024/05/06 16:38:09.414 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=88] [jobType="truncate table"] [2024/05/06 16:38:09.418 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:88, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:85, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:09.209 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:09.460 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=88] [elementID=1] [startKey=748000000000000055] [endKey=748000000000000056] [2024/05/06 16:38:09.478 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=88] [2024/05/06 16:38:09.479 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#02 [2024/05/06 16:38:09.528 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=43] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:09.549 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:90, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:87, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:09.537 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:09.549 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:90, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:87, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:09.537 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:09.592 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:90, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:87, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:09.537 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:09.630 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=1.252445ms] [phyTblIDs="[87,89]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:09.650 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=90] [version=44] [2024/05/06 16:38:09.650 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=44] ["take time"=22.240244ms] [job="ID:90, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:87, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:09.537 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:09.681 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=90] [elementID=1] [comment="table ID is 87"] [2024/05/06 16:38:09.688 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=90] [jobType="truncate table"] [2024/05/06 16:38:09.692 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:90, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:87, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:09.537 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:09.727 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=90] [elementID=1] [startKey=748000000000000057] [endKey=748000000000000058] [2024/05/06 16:38:09.745 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=90] [2024/05/06 16:38:09.745 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#03 [2024/05/06 16:38:09.794 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=24] [schemaVersion=44] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:09.812 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:92, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:89, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:09.803 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:09.812 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:92, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:89, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:09.803 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:09.850 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:92, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:89, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:09.803 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:09.879 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=1.011253ms] [phyTblIDs="[89,91]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:09.899 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=92] [version=45] [2024/05/06 16:38:09.900 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=45] ["take time"=22.44746ms] [job="ID:92, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:89, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:09.803 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:09.932 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=92] [elementID=1] [comment="table ID is 89"] [2024/05/06 16:38:09.937 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=92] [jobType="truncate table"] [2024/05/06 16:38:09.940 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:92, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:89, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:09.803 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:09.980 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=92] [elementID=1] [startKey=748000000000000059] [endKey=74800000000000005a] [2024/05/06 16:38:09.994 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=92] [2024/05/06 16:38:09.994 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#04 [2024/05/06 16:38:10.049 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=45] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:10.073 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:94, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:91, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:10.06 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:10.073 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:94, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:91, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:10.06 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:10.118 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:94, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:91, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:10.06 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:10.147 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=1.500674ms] [phyTblIDs="[91,93]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:10.200 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=94] [version=46] [2024/05/06 16:38:10.202 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=46] ["take time"=56.656126ms] [job="ID:94, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:91, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:10.06 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:10.235 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=94] [elementID=1] [comment="table ID is 91"] [2024/05/06 16:38:10.241 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=94] [jobType="truncate table"] [2024/05/06 16:38:10.245 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:94, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:91, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:10.06 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:10.290 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=94] [elementID=1] [startKey=74800000000000005b] [endKey=74800000000000005c] [2024/05/06 16:38:10.310 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=94] [2024/05/06 16:38:10.310 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#05 [2024/05/06 16:38:10.378 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=28] [schemaVersion=46] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:10.397 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:96, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:93, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:10.387 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:10.397 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:96, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:93, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:10.387 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:10.438 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:96, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:93, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:10.387 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:10.470 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=1.122585ms] [phyTblIDs="[93,95]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:10.550 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=96] [version=47] [2024/05/06 16:38:10.550 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=47] ["take time"=82.162911ms] [job="ID:96, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:93, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:10.387 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:10.585 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=96] [elementID=1] [comment="table ID is 93"] [2024/05/06 16:38:10.592 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=96] [jobType="truncate table"] [2024/05/06 16:38:10.597 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:96, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:93, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:10.387 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:10.640 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=96] [elementID=1] [startKey=74800000000000005d] [endKey=74800000000000005e] [2024/05/06 16:38:10.657 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=96] [2024/05/06 16:38:10.658 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#06 [2024/05/06 16:38:10.724 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=30] [schemaVersion=47] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:10.744 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:98, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:95, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:10.734 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:10.744 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:98, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:95, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:10.734 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:10.794 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:98, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:95, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:10.734 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:10.823 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=1.372968ms] [phyTblIDs="[95,97]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:10.850 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=98] [version=48] [2024/05/06 16:38:10.851 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=48] ["take time"=30.402034ms] [job="ID:98, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:95, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:10.734 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:10.881 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=98] [elementID=1] [comment="table ID is 95"] [2024/05/06 16:38:10.887 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=98] [jobType="truncate table"] [2024/05/06 16:38:10.892 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:98, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:95, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:10.734 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:10.928 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=98] [elementID=1] [startKey=74800000000000005f] [endKey=748000000000000060] [2024/05/06 16:38:10.955 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=98] [2024/05/06 16:38:10.955 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#07 [2024/05/06 16:38:11.008 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=32] [schemaVersion=48] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:11.028 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:100, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:97, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:11.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:11.028 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:100, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:97, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:11.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:11.070 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:100, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:97, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:11.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:11.103 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=1.233322ms] [phyTblIDs="[97,99]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:11.149 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=100] [version=49] [2024/05/06 16:38:11.150 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=49] ["take time"=48.533057ms] [job="ID:100, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:97, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:11.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:11.181 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=100] [elementID=1] [comment="table ID is 97"] [2024/05/06 16:38:11.185 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=100] [jobType="truncate table"] [2024/05/06 16:38:11.189 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:100, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:97, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:11.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:11.226 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=100] [elementID=1] [startKey=748000000000000061] [endKey=748000000000000062] [2024/05/06 16:38:11.254 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=100] [2024/05/06 16:38:11.254 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#08 [2024/05/06 16:38:11.318 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=34] [schemaVersion=49] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:11.337 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:102, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:99, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:11.327 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:11.337 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:102, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:99, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:11.327 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:11.379 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:102, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:99, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:11.327 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:11.411 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=1.023199ms] [phyTblIDs="[99,101]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:11.450 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=102] [version=50] [2024/05/06 16:38:11.452 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=50] ["take time"=46.225894ms] [job="ID:102, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:99, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:11.327 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:11.481 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=102] [elementID=1] [comment="table ID is 99"] [2024/05/06 16:38:11.485 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=102] [jobType="truncate table"] [2024/05/06 16:38:11.488 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:102, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:99, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:11.327 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:11.528 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=102] [elementID=1] [startKey=748000000000000063] [endKey=748000000000000064] [2024/05/06 16:38:11.548 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=102] [2024/05/06 16:38:11.549 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#09 [2024/05/06 16:38:11.608 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=36] [schemaVersion=50] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:11.627 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:104, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:101, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:11.616 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:11.627 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:104, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:101, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:11.616 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:11.675 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:104, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:101, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:11.616 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:11.734 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=1.685863ms] [phyTblIDs="[101,103]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:11.750 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=104] [version=51] [2024/05/06 16:38:11.752 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=51] ["take time"=20.647952ms] [job="ID:104, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:101, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:11.616 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:11.783 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=104] [elementID=1] [comment="table ID is 101"] [2024/05/06 16:38:11.790 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=104] [jobType="truncate table"] [2024/05/06 16:38:11.794 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:104, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:101, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:11.616 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:11.831 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=104] [elementID=1] [startKey=748000000000000065] [endKey=748000000000000066] [2024/05/06 16:38:11.852 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=104] [2024/05/06 16:38:11.852 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#10 [2024/05/06 16:38:11.914 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=38] [schemaVersion=51] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:11.935 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:106, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:103, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:11.923 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:11.935 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:106, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:103, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:11.923 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:11.972 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:106, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:103, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:11.923 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:12.002 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=1.519247ms] [phyTblIDs="[103,105]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:12.049 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=106] [version=52] [2024/05/06 16:38:12.049 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=52] ["take time"=49.899152ms] [job="ID:106, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:103, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:11.923 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:12.077 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=106] [elementID=1] [comment="table ID is 103"] [2024/05/06 16:38:12.082 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=106] [jobType="truncate table"] [2024/05/06 16:38:12.085 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:106, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:103, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:11.923 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:12.117 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=106] [elementID=1] [startKey=748000000000000067] [endKey=748000000000000068] [2024/05/06 16:38:12.136 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=106] [2024/05/06 16:38:12.137 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#11 [2024/05/06 16:38:12.195 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=40] [schemaVersion=52] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:12.215 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:108, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:105, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:12.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:12.215 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:108, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:105, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:12.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:12.263 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:108, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:105, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:12.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:12.289 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=1.005435ms] [phyTblIDs="[105,107]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:12.299 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=108] [version=53] [2024/05/06 16:38:12.299 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=53] ["take time"=12.229602ms] [job="ID:108, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:105, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:12.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:12.328 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=108] [elementID=1] [comment="table ID is 105"] [2024/05/06 16:38:12.334 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=108] [jobType="truncate table"] [2024/05/06 16:38:12.338 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:108, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:105, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:12.205 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:12.384 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=108] [elementID=1] [startKey=748000000000000069] [endKey=74800000000000006a] [2024/05/06 16:38:12.389 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=108] [2024/05/06 16:38:12.389 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#12 [2024/05/06 16:38:12.450 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=42] [schemaVersion=53] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:12.469 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:110, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:12.459 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:12.469 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:110, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:12.459 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:12.517 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:110, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:12.459 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:12.558 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=1.139279ms] [phyTblIDs="[107,109]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:12.600 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=110] [version=54] [2024/05/06 16:38:12.601 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=54] ["take time"=44.175565ms] [job="ID:110, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:12.459 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:12.635 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=110] [elementID=1] [comment="table ID is 107"] [2024/05/06 16:38:12.651 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=110] [jobType="truncate table"] [2024/05/06 16:38:12.654 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:110, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:12.459 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:12.698 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=110] [elementID=1] [startKey=74800000000000006b] [endKey=74800000000000006c] [2024/05/06 16:38:12.708 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=110] [2024/05/06 16:38:12.709 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#13 [2024/05/06 16:38:12.758 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=44] [schemaVersion=54] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:12.776 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:112, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:12.767 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:12.776 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:112, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:12.767 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:12.817 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:112, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:12.767 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:12.877 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=1.044174ms] [phyTblIDs="[109,111]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:12.900 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=112] [version=55] [2024/05/06 16:38:12.902 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=55] ["take time"=26.927641ms] [job="ID:112, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:12.767 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:12.933 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=112] [elementID=1] [comment="table ID is 109"] [2024/05/06 16:38:12.940 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=112] [jobType="truncate table"] [2024/05/06 16:38:12.945 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:112, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:12.767 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:12.978 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=112] [elementID=1] [startKey=74800000000000006d] [endKey=74800000000000006e] [2024/05/06 16:38:13.006 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=112] [2024/05/06 16:38:13.006 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#14 [2024/05/06 16:38:13.067 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=46] [schemaVersion=55] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:13.089 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:114, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:13.077 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:13.090 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:114, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:13.077 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:13.133 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:114, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:13.077 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:13.169 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=1.019367ms] [phyTblIDs="[111,113]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:13.200 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=114] [version=56] [2024/05/06 16:38:13.200 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=56] ["take time"=32.195975ms] [job="ID:114, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:13.077 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:13.245 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=114] [elementID=1] [comment="table ID is 111"] [2024/05/06 16:38:13.251 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=114] [jobType="truncate table"] [2024/05/06 16:38:13.254 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:114, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:13.077 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:13.293 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=114] [elementID=1] [startKey=74800000000000006f] [endKey=748000000000000070] [2024/05/06 16:38:13.310 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=114] [2024/05/06 16:38:13.310 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#15 [2024/05/06 16:38:13.383 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=48] [schemaVersion=56] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:13.404 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:116, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:113, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:13.393 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:13.404 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:116, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:113, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:13.393 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:13.448 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:116, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:113, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:13.393 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:13.478 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=1.028756ms] [phyTblIDs="[113,115]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:13.500 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=116] [version=57] [2024/05/06 16:38:13.501 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=57] ["take time"=24.231813ms] [job="ID:116, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:113, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:13.393 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:13.532 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=116] [elementID=1] [comment="table ID is 113"] [2024/05/06 16:38:13.541 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=116] [jobType="truncate table"] [2024/05/06 16:38:13.545 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:116, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:113, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:13.393 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:13.588 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=116] [elementID=1] [startKey=748000000000000071] [endKey=748000000000000072] [2024/05/06 16:38:13.607 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=116] [2024/05/06 16:38:13.607 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#16 [2024/05/06 16:38:13.677 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=50] [schemaVersion=57] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:13.698 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:118, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:115, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:13.685 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:13.698 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:118, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:115, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:13.685 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:13.743 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:118, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:115, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:13.685 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:13.779 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=1.538534ms] [phyTblIDs="[115,117]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:13.799 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=118] [version=58] [2024/05/06 16:38:13.801 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=58] ["take time"=24.656548ms] [job="ID:118, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:115, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:13.685 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:13.842 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=118] [elementID=1] [comment="table ID is 115"] [2024/05/06 16:38:13.848 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=118] [jobType="truncate table"] [2024/05/06 16:38:13.853 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:118, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:115, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:13.685 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:13.894 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=118] [elementID=1] [startKey=748000000000000073] [endKey=748000000000000074] [2024/05/06 16:38:13.910 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=118] [2024/05/06 16:38:13.910 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#17 [2024/05/06 16:38:13.969 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=52] [schemaVersion=58] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:13.985 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:120, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:117, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:13.976 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:13.985 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:120, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:117, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:13.976 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:14.060 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:120, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:117, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:13.976 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:14.090 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=1.521122ms] [phyTblIDs="[117,119]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:14.151 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=120] [version=59] [2024/05/06 16:38:14.153 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=59] ["take time"=64.740126ms] [job="ID:120, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:117, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:13.976 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:14.184 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=120] [elementID=1] [comment="table ID is 117"] [2024/05/06 16:38:14.189 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=120] [jobType="truncate table"] [2024/05/06 16:38:14.193 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:120, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:117, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:13.976 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:14.228 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=120] [elementID=1] [startKey=748000000000000075] [endKey=748000000000000076] [2024/05/06 16:38:14.252 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=120] [2024/05/06 16:38:14.253 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#18 [2024/05/06 16:38:14.310 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=54] [schemaVersion=59] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:14.337 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:122, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:14.32 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:14.338 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:122, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:14.32 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:14.380 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:122, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:14.32 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:14.416 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=1.035121ms] [phyTblIDs="[119,121]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:14.450 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=122] [version=60] [2024/05/06 16:38:14.452 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=60] ["take time"=37.004533ms] [job="ID:122, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:119, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:14.32 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:14.485 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=122] [elementID=1] [comment="table ID is 119"] [2024/05/06 16:38:14.492 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=122] [jobType="truncate table"] [2024/05/06 16:38:14.495 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:122, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:119, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:14.32 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:14.533 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=122] [elementID=1] [startKey=748000000000000077] [endKey=748000000000000078] [2024/05/06 16:38:14.563 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=122] [2024/05/06 16:38:14.563 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#19 [2024/05/06 16:38:14.623 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=56] [schemaVersion=60] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:14.651 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:124, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:121, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:14.637 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:14.651 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:124, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:121, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:14.637 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:14.703 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:124, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:121, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:14.637 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:14.744 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=1.554836ms] [phyTblIDs="[121,123]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:14.800 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=124] [version=61] [2024/05/06 16:38:14.801 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=61] ["take time"=58.524968ms] [job="ID:124, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:121, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:14.637 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:14.838 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=124] [elementID=1] [comment="table ID is 121"] [2024/05/06 16:38:14.845 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=124] [jobType="truncate table"] [2024/05/06 16:38:14.850 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:124, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:121, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:14.637 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:14.891 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=124] [elementID=1] [startKey=748000000000000079] [endKey=74800000000000007a] [2024/05/06 16:38:14.900 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=124] [2024/05/06 16:38:14.901 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#20 [2024/05/06 16:38:14.964 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=58] [schemaVersion=61] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:14.982 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:126, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:14.974 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:14.982 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:126, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:14.974 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:15.017 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:126, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:14.974 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:15.048 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=1.031762ms] [phyTblIDs="[123,125]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:15.100 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=126] [version=62] [2024/05/06 16:38:15.100 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=62] ["take time"=54.328285ms] [job="ID:126, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:123, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:14.974 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:15.134 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=126] [elementID=1] [comment="table ID is 123"] [2024/05/06 16:38:15.140 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=126] [jobType="truncate table"] [2024/05/06 16:38:15.143 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:126, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:123, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:14.974 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:15.179 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=126] [elementID=1] [startKey=74800000000000007b] [endKey=74800000000000007c] [2024/05/06 16:38:15.201 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=126] [2024/05/06 16:38:15.201 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#21 [2024/05/06 16:38:15.274 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=60] [schemaVersion=62] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:15.295 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:128, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:125, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:15.285 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:15.295 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:128, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:125, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:15.285 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:15.344 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:128, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:125, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:15.285 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:15.376 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=62] [neededSchemaVersion=63] ["start time"=999.112µs] [phyTblIDs="[125,127]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:15.401 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=128] [version=63] [2024/05/06 16:38:15.402 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=63] ["take time"=28.06022ms] [job="ID:128, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:125, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:15.285 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:15.463 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=128] [elementID=1] [comment="table ID is 125"] [2024/05/06 16:38:15.468 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=128] [jobType="truncate table"] [2024/05/06 16:38:15.471 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:128, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:125, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:15.285 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:15.506 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=128] [elementID=1] [startKey=74800000000000007d] [endKey=74800000000000007e] [2024/05/06 16:38:15.525 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=128] [2024/05/06 16:38:15.525 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#22 [2024/05/06 16:38:15.572 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=62] [schemaVersion=63] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:15.592 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:130, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:127, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:15.582 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:15.592 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:130, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:127, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:15.582 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:15.638 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:130, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:127, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:15.582 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:15.672 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=961.641µs] [phyTblIDs="[127,129]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:15.700 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=130] [version=64] [2024/05/06 16:38:15.701 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=64] ["take time"=30.245938ms] [job="ID:130, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:127, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:15.582 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:15.731 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=130] [elementID=1] [comment="table ID is 127"] [2024/05/06 16:38:15.738 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=130] [jobType="truncate table"] [2024/05/06 16:38:15.742 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:130, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:127, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:15.582 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:15.775 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=130] [elementID=1] [startKey=74800000000000007f] [endKey=748000000000000080] [2024/05/06 16:38:15.790 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=130] [2024/05/06 16:38:15.790 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#23 [2024/05/06 16:38:15.834 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=64] [schemaVersion=64] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:15.857 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:132, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:129, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:15.844 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:15.858 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:132, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:129, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:15.844 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:15.896 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:132, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:129, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:15.844 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:15.931 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=64] [neededSchemaVersion=65] ["start time"=1.445555ms] [phyTblIDs="[129,131]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:15.950 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=132] [version=65] [2024/05/06 16:38:15.951 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=65] ["take time"=22.234928ms] [job="ID:132, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:129, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:15.844 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:15.979 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=132] [elementID=1] [comment="table ID is 129"] [2024/05/06 16:38:15.985 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=132] [jobType="truncate table"] [2024/05/06 16:38:15.991 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:132, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:129, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:15.844 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:16.023 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=132] [elementID=1] [startKey=748000000000000081] [endKey=748000000000000082] [2024/05/06 16:38:16.045 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=132] [2024/05/06 16:38:16.045 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#24 [2024/05/06 16:38:16.094 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=66] [schemaVersion=65] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:16.117 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:134, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:131, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:16.104 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:16.117 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:134, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:131, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:16.104 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:16.166 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:134, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:131, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:16.104 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:16.200 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=65] [neededSchemaVersion=66] ["start time"=1.087232ms] [phyTblIDs="[131,133]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:16.250 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=134] [version=66] [2024/05/06 16:38:16.250 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=66] ["take time"=52.256652ms] [job="ID:134, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:131, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:16.104 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:16.281 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=134] [elementID=1] [comment="table ID is 131"] [2024/05/06 16:38:16.288 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=134] [jobType="truncate table"] [2024/05/06 16:38:16.292 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:134, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:131, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:16.104 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:16.331 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=134] [elementID=1] [startKey=748000000000000083] [endKey=748000000000000084] [2024/05/06 16:38:16.347 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=134] [2024/05/06 16:38:16.347 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#25 [2024/05/06 16:38:16.441 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=68] [schemaVersion=66] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:16.462 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:136, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:16.451 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:16.462 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:136, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:16.451 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:16.504 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:136, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:16.451 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:16.534 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=1.536826ms] [phyTblIDs="[133,135]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:16.550 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=136] [version=67] [2024/05/06 16:38:16.552 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=67] ["take time"=20.411392ms] [job="ID:136, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:16.451 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:16.585 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=136] [elementID=1] [comment="table ID is 133"] [2024/05/06 16:38:16.591 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=136] [jobType="truncate table"] [2024/05/06 16:38:16.596 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:136, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:16.451 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:16.632 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=136] [elementID=1] [startKey=748000000000000085] [endKey=748000000000000086] [2024/05/06 16:38:16.654 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=136] [2024/05/06 16:38:16.654 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#26 [2024/05/06 16:38:16.720 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=70] [schemaVersion=67] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:16.740 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:138, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:16.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:16.740 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:138, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:16.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:16.787 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:138, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:16.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:16.818 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=67] [neededSchemaVersion=68] ["start time"=1.346487ms] [phyTblIDs="[135,137]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:16.849 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=138] [version=68] [2024/05/06 16:38:16.850 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=68] ["take time"=34.058077ms] [job="ID:138, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:16.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:16.877 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=138] [elementID=1] [comment="table ID is 135"] [2024/05/06 16:38:16.883 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=138] [jobType="truncate table"] [2024/05/06 16:38:16.886 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:138, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:16.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:16.921 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=138] [elementID=1] [startKey=748000000000000087] [endKey=748000000000000088] [2024/05/06 16:38:16.934 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=138] [2024/05/06 16:38:16.935 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#27 [2024/05/06 16:38:16.995 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=72] [schemaVersion=68] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:17.016 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:140, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:137, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:17.004 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:17.017 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:140, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:137, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:17.004 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:17.057 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:140, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:137, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:17.004 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:17.084 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=68] [neededSchemaVersion=69] ["start time"=986.409µs] [phyTblIDs="[137,139]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:17.100 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=140] [version=69] [2024/05/06 16:38:17.101 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=69] ["take time"=18.051902ms] [job="ID:140, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:137, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:17.004 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:17.128 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=140] [elementID=1] [comment="table ID is 137"] [2024/05/06 16:38:17.133 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=140] [jobType="truncate table"] [2024/05/06 16:38:17.136 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:140, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:137, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:17.004 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:17.176 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=140] [elementID=1] [startKey=748000000000000089] [endKey=74800000000000008a] [2024/05/06 16:38:17.192 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=140] [2024/05/06 16:38:17.193 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#28 [2024/05/06 16:38:17.252 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=74] [schemaVersion=69] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:17.270 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:142, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:139, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:17.261 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:17.270 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:142, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:139, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:17.261 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:17.309 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:142, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:139, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:17.261 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:17.347 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=69] [neededSchemaVersion=70] ["start time"=1.006403ms] [phyTblIDs="[139,141]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:17.400 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=142] [version=70] [2024/05/06 16:38:17.400 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=70] ["take time"=54.426755ms] [job="ID:142, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:139, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:17.261 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:17.465 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=142] [elementID=1] [comment="table ID is 139"] [2024/05/06 16:38:17.471 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=142] [jobType="truncate table"] [2024/05/06 16:38:17.475 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:142, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:139, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:17.261 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:17.535 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=142] [elementID=1] [startKey=74800000000000008b] [endKey=74800000000000008c] [2024/05/06 16:38:17.550 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=142] [2024/05/06 16:38:17.551 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:17.552 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Conn_ID: 74\n# Query_time: 0.301036431\n# Parse_time: 0.000244475\n# Compile_time: 0.00064466\n# Rewrite_time: 0.00001112\n# Optimize_time: 0.000428448\n# Wait_TS: 0.000080769\n# DB: test\n# Is_internal: false\n# Digest: c23bafcfeac092443d2513300e8cf6875b499aa7a1632d7dcac28316f40222cc\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\ntruncate table t1;"] === RUN TestStillWriteConflictAfterRetry/#29 [2024/05/06 16:38:17.605 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=76] [schemaVersion=70] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:17.625 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:144, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:141, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:17.616 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:17.625 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:144, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:141, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:17.616 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:17.664 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:144, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:141, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:17.616 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:17.693 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=70] [neededSchemaVersion=71] ["start time"=955.628µs] [phyTblIDs="[141,143]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:17.750 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=144] [version=71] [2024/05/06 16:38:17.751 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=71] ["take time"=60.224702ms] [job="ID:144, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:141, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:17.616 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:17.777 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=144] [elementID=1] [comment="table ID is 141"] [2024/05/06 16:38:17.783 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=144] [jobType="truncate table"] [2024/05/06 16:38:17.786 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:144, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:141, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:17.616 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:17.818 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=144] [elementID=1] [startKey=74800000000000008d] [endKey=74800000000000008e] [2024/05/06 16:38:17.838 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=144] [2024/05/06 16:38:17.838 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#30 [2024/05/06 16:38:17.905 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=78] [schemaVersion=71] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:17.924 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:146, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:143, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:17.914 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:17.924 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:146, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:143, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:17.914 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:17.970 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:146, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:143, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:17.914 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:17.999 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=71] [neededSchemaVersion=72] ["start time"=1.373286ms] [phyTblIDs="[143,145]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:18.050 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=146] [version=72] [2024/05/06 16:38:18.050 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=72] ["take time"=52.744292ms] [job="ID:146, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:143, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:17.914 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:18.078 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=146] [elementID=1] [comment="table ID is 143"] [2024/05/06 16:38:18.083 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=146] [jobType="truncate table"] [2024/05/06 16:38:18.086 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:146, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:143, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:17.914 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:18.115 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=146] [elementID=1] [startKey=74800000000000008f] [endKey=748000000000000090] [2024/05/06 16:38:18.133 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=146] [2024/05/06 16:38:18.133 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#31 [2024/05/06 16:38:18.193 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=80] [schemaVersion=72] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:18.210 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:148, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:145, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:18.201 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:18.210 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:148, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:145, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:18.201 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:18.253 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:148, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:145, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:18.201 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:18.284 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=72] [neededSchemaVersion=73] ["start time"=1.511745ms] [phyTblIDs="[145,147]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:18.300 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=148] [version=73] [2024/05/06 16:38:18.300 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=73] ["take time"=18.082359ms] [job="ID:148, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:145, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:18.201 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:18.328 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=148] [elementID=1] [comment="table ID is 145"] [2024/05/06 16:38:18.335 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=148] [jobType="truncate table"] [2024/05/06 16:38:18.339 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:148, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:145, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:18.201 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:18.373 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=148] [elementID=1] [startKey=748000000000000091] [endKey=748000000000000092] [2024/05/06 16:38:18.394 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=148] [2024/05/06 16:38:18.394 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#32 [2024/05/06 16:38:18.442 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=82] [schemaVersion=73] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:18.461 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:150, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:147, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:18.452 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:18.461 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:150, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:147, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:18.452 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:18.499 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:150, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:147, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:18.452 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:18.528 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=73] [neededSchemaVersion=74] ["start time"=1.002467ms] [phyTblIDs="[147,149]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:18.550 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=150] [version=74] [2024/05/06 16:38:18.551 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=74] ["take time"=24.464317ms] [job="ID:150, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:147, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:18.452 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:18.584 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=150] [elementID=1] [comment="table ID is 147"] [2024/05/06 16:38:18.590 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=150] [jobType="truncate table"] [2024/05/06 16:38:18.594 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:150, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:147, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:18.452 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:18.658 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=150] [elementID=1] [startKey=748000000000000093] [endKey=748000000000000094] [2024/05/06 16:38:18.674 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=150] [2024/05/06 16:38:18.674 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#33 [2024/05/06 16:38:18.723 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=84] [schemaVersion=74] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:18.738 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:152, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:149, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:18.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:18.738 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:152, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:149, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:18.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:18.781 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:152, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:149, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:18.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:18.813 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=74] [neededSchemaVersion=75] ["start time"=1.034901ms] [phyTblIDs="[149,151]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:18.851 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=152] [version=75] [2024/05/06 16:38:18.852 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=75] ["take time"=40.069617ms] [job="ID:152, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:149, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:18.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:18.882 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=152] [elementID=1] [comment="table ID is 149"] [2024/05/06 16:38:18.889 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=152] [jobType="truncate table"] [2024/05/06 16:38:18.892 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:152, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:149, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:18.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:18.936 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=152] [elementID=1] [startKey=748000000000000095] [endKey=748000000000000096] [2024/05/06 16:38:18.952 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=152] [2024/05/06 16:38:18.952 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#34 [2024/05/06 16:38:18.997 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=86] [schemaVersion=75] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:19.014 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:154, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:19.005 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:19.014 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:154, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:19.005 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:19.054 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:154, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:19.005 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:19.082 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=75] [neededSchemaVersion=76] ["start time"=1.109813ms] [phyTblIDs="[151,153]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:19.100 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=154] [version=76] [2024/05/06 16:38:19.101 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=76] ["take time"=20.93773ms] [job="ID:154, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:19.005 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:19.128 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=154] [elementID=1] [comment="table ID is 151"] [2024/05/06 16:38:19.134 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=154] [jobType="truncate table"] [2024/05/06 16:38:19.138 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:154, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:19.005 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:19.172 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=154] [elementID=1] [startKey=748000000000000097] [endKey=748000000000000098] [2024/05/06 16:38:19.190 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=154] [2024/05/06 16:38:19.190 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#35 [2024/05/06 16:38:19.253 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=88] [schemaVersion=76] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:19.272 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:156, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:153, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:19.263 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:19.272 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:156, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:153, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:19.263 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:19.313 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:156, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:153, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:19.263 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:19.354 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=76] [neededSchemaVersion=77] ["start time"=1.455954ms] [phyTblIDs="[153,155]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:19.400 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=156] [version=77] [2024/05/06 16:38:19.400 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=77] ["take time"=48.548712ms] [job="ID:156, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:153, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:19.263 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:19.462 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=156] [elementID=1] [comment="table ID is 153"] [2024/05/06 16:38:19.469 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=156] [jobType="truncate table"] [2024/05/06 16:38:19.472 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:156, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:153, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:19.263 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:19.514 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=156] [elementID=1] [startKey=748000000000000099] [endKey=74800000000000009a] [2024/05/06 16:38:19.527 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=156] [2024/05/06 16:38:19.527 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#36 [2024/05/06 16:38:19.586 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=90] [schemaVersion=77] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:19.602 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:158, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:155, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:19.594 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:19.602 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:158, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:155, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:19.594 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:19.636 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:158, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:155, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:19.594 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:19.668 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=77] [neededSchemaVersion=78] ["start time"=936.943µs] [phyTblIDs="[155,157]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:19.701 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=158] [version=78] [2024/05/06 16:38:19.703 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=78] ["take time"=36.674155ms] [job="ID:158, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:155, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:19.594 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:19.737 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=158] [elementID=1] [comment="table ID is 155"] [2024/05/06 16:38:19.742 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=158] [jobType="truncate table"] [2024/05/06 16:38:19.745 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:158, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:155, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:19.594 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:19.785 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=158] [elementID=1] [startKey=74800000000000009b] [endKey=74800000000000009c] [2024/05/06 16:38:19.795 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=158] [2024/05/06 16:38:19.795 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#37 [2024/05/06 16:38:19.851 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=92] [schemaVersion=78] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:19.869 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:160, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:157, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:19.859 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:19.869 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:160, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:157, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:19.859 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:19.911 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:160, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:19.859 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:19.939 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=78] [neededSchemaVersion=79] ["start time"=1.505161ms] [phyTblIDs="[157,159]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:19.950 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=160] [version=79] [2024/05/06 16:38:19.952 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=79] ["take time"=15.098964ms] [job="ID:160, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:19.859 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:19.978 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=160] [elementID=1] [comment="table ID is 157"] [2024/05/06 16:38:19.984 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=160] [jobType="truncate table"] [2024/05/06 16:38:19.989 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:160, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:19.859 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:20.019 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=160] [elementID=1] [startKey=74800000000000009d] [endKey=74800000000000009e] [2024/05/06 16:38:20.039 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=160] [2024/05/06 16:38:20.039 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#38 [2024/05/06 16:38:20.098 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=94] [schemaVersion=79] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:20.115 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:162, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:159, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:20.106 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:20.116 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:162, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:159, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:20.106 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:20.156 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:162, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:159, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:20.106 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:20.192 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=79] [neededSchemaVersion=80] ["start time"=887.645µs] [phyTblIDs="[159,161]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:20.249 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=162] [version=80] [2024/05/06 16:38:20.251 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=80] ["take time"=60.248145ms] [job="ID:162, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:159, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:20.106 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:20.280 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=162] [elementID=1] [comment="table ID is 159"] [2024/05/06 16:38:20.286 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=162] [jobType="truncate table"] [2024/05/06 16:38:20.289 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:162, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:159, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:20.106 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:20.323 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=162] [elementID=1] [startKey=74800000000000009f] [endKey=7480000000000000a0] [2024/05/06 16:38:20.339 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=162] [2024/05/06 16:38:20.339 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestStillWriteConflictAfterRetry/#39 [2024/05/06 16:38:20.391 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=96] [schemaVersion=80] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:38:20.409 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:164, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:20.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:20.409 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:164, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:20.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:38:20.437 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 172, tp general"] [job="ID:164, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:20.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:20.476 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=80] [neededSchemaVersion=81] ["start time"=1.148332ms] [phyTblIDs="[161,163]"] [actionTypes="[2048,2048]"] [2024/05/06 16:38:20.500 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=164] [version=81] [2024/05/06 16:38:20.501 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=81] ["take time"=26.846664ms] [job="ID:164, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:20.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:20.530 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=164] [elementID=1] [comment="table ID is 161"] [2024/05/06 16:38:20.536 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=164] [jobType="truncate table"] [2024/05/06 16:38:20.541 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 172, tp general"] [job="ID:164, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:20.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:20.572 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=164] [elementID=1] [startKey=7480000000000000a1] [endKey=7480000000000000a2] [2024/05/06 16:38:20.594 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=164] [2024/05/06 16:38:20.594 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:20.648 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:38:20.648 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 182, tp add index"] ["take time"=19.266µs] [2024/05/06 16:38:20.648 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 173, tp add index"] ["take time"=11.451µs] [2024/05/06 16:38:20.648 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 174, tp add index"] ["take time"=20.771µs] [2024/05/06 16:38:20.648 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 175, tp add index"] ["take time"=10.327µs] [2024/05/06 16:38:20.648 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 176, tp add index"] ["take time"=15.065µs] [2024/05/06 16:38:20.648 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 177, tp add index"] ["take time"=10.286µs] [2024/05/06 16:38:20.648 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 178, tp add index"] ["take time"=11.927µs] [2024/05/06 16:38:20.648 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 179, tp add index"] ["take time"=14.207µs] [2024/05/06 16:38:20.648 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 180, tp add index"] ["take time"=10.208µs] [2024/05/06 16:38:20.648 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 181, tp add index"] ["take time"=10.583µs] [2024/05/06 16:38:20.648 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:38:20.648 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 172, tp general"] ["take time"=3.889µs] [2024/05/06 16:38:20.648 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 170, tp general"] ["take time"=1.219µs] [2024/05/06 16:38:20.648 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 171, tp add index"] ["take time"=1.36µs] [2024/05/06 16:38:20.649 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:38:20.649 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:38:20.653 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=e0ff0dea-84f8-4c3d-93bc-1c0bd20bcbe1] ["take time"=5.856137ms] [2024/05/06 16:38:20.653 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=e0ff0dea-84f8-4c3d-93bc-1c0bd20bcbe1] [2024/05/06 16:38:20.654 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:38:20.654 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:38:20.654 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:38:20.654 +08:00] [INFO] [domain.go:1748] ["dumpFileGcChecker exited."] [2024/05/06 16:38:20.654 +08:00] [INFO] [domain.go:1394] ["loadPrivilegeInLoop exited."] [2024/05/06 16:38:20.654 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:38:20.654 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:38:20.654 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:38:20.654 +08:00] [INFO] [domain.go:1444] ["LoadSysVarCacheLoop exited."] [2024/05/06 16:38:20.654 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:38:20.654 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:38:20.654 +08:00] [INFO] [domain.go:1569] ["handleEvolvePlanTasksLoop exited."] [2024/05/06 16:38:20.654 +08:00] [INFO] [domain.go:1525] ["globalBindHandleWorkerLoop exited."] [2024/05/06 16:38:20.654 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:38:20.654 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:38:20.658 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:38:20.658 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=10.648064ms] [2024/05/06 16:38:20.660 +08:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 16:38:20.660 +08:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 16:38:20.660 +08:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 16:38:20.660 +08:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 16:38:20.660 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 16:38:20.660 +08:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestStillWriteConflictAfterRetry (30.52s) --- PASS: TestStillWriteConflictAfterRetry/#00 (0.32s) --- PASS: TestStillWriteConflictAfterRetry/#01 (0.33s) --- PASS: TestStillWriteConflictAfterRetry/#02 (0.27s) --- PASS: TestStillWriteConflictAfterRetry/#03 (0.25s) --- PASS: TestStillWriteConflictAfterRetry/#04 (0.33s) --- PASS: TestStillWriteConflictAfterRetry/#05 (0.35s) --- PASS: TestStillWriteConflictAfterRetry/#06 (0.28s) --- PASS: TestStillWriteConflictAfterRetry/#07 (0.31s) --- PASS: TestStillWriteConflictAfterRetry/#08 (0.29s) --- PASS: TestStillWriteConflictAfterRetry/#09 (0.31s) --- PASS: TestStillWriteConflictAfterRetry/#10 (0.28s) --- PASS: TestStillWriteConflictAfterRetry/#11 (0.25s) --- PASS: TestStillWriteConflictAfterRetry/#12 (0.31s) --- PASS: TestStillWriteConflictAfterRetry/#13 (0.31s) --- PASS: TestStillWriteConflictAfterRetry/#14 (0.32s) --- PASS: TestStillWriteConflictAfterRetry/#15 (0.29s) --- PASS: TestStillWriteConflictAfterRetry/#16 (0.29s) --- PASS: TestStillWriteConflictAfterRetry/#17 (0.34s) --- PASS: TestStillWriteConflictAfterRetry/#18 (0.31s) --- PASS: TestStillWriteConflictAfterRetry/#19 (0.34s) --- PASS: TestStillWriteConflictAfterRetry/#20 (0.29s) --- PASS: TestStillWriteConflictAfterRetry/#21 (0.31s) --- PASS: TestStillWriteConflictAfterRetry/#22 (0.26s) --- PASS: TestStillWriteConflictAfterRetry/#23 (0.26s) --- PASS: TestStillWriteConflictAfterRetry/#24 (0.35s) --- PASS: TestStillWriteConflictAfterRetry/#25 (0.28s) --- PASS: TestStillWriteConflictAfterRetry/#26 (0.27s) --- PASS: TestStillWriteConflictAfterRetry/#27 (0.26s) --- PASS: TestStillWriteConflictAfterRetry/#28 (0.35s) --- PASS: TestStillWriteConflictAfterRetry/#29 (0.30s) --- PASS: TestStillWriteConflictAfterRetry/#30 (0.29s) --- PASS: TestStillWriteConflictAfterRetry/#31 (0.25s) --- PASS: TestStillWriteConflictAfterRetry/#32 (0.28s) --- PASS: TestStillWriteConflictAfterRetry/#33 (0.27s) --- PASS: TestStillWriteConflictAfterRetry/#34 (0.26s) --- PASS: TestStillWriteConflictAfterRetry/#35 (0.33s) --- PASS: TestStillWriteConflictAfterRetry/#36 (0.26s) --- PASS: TestStillWriteConflictAfterRetry/#37 (0.25s) --- PASS: TestStillWriteConflictAfterRetry/#38 (0.30s) --- PASS: TestStillWriteConflictAfterRetry/#39 (0.26s) === RUN TestTSOCmdCountForPrepareExecute [2024/05/06 16:38:20.673 +08:00] [INFO] [region_cache.go:2484] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 16:38:20.677 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:38:20.677 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:38:20.686 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:38:20.686 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:38:20.691 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:38:20.693 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=de102d69-b237-49d0-8d6e-373c09aa9797] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 16:38:20.694 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).Init\n\tdomain/domain.go:1074\ngithub.com/pingcap/tidb/session.(*domainMap).Get.func1\n\tsession/tidb.go:90\ngithub.com/pingcap/tidb/util.RunWithRetry\n\tutil/misc.go:69\ngithub.com/pingcap/tidb/session.(*domainMap).Get\n\tsession/tidb.go:76\ngithub.com/pingcap/tidb/session.createSessionWithOpt\n\tsession/session.go:3520\ngithub.com/pingcap/tidb/session.createSession\n\tsession/session.go:3516\ngithub.com/pingcap/tidb/session.runInBootstrapSession\n\tsession/session.go:3480\ngithub.com/pingcap/tidb/session.BootstrapSession\n\tsession/session.go:3309\ngithub.com/pingcap/tidb/testkit.bootstrap\n\ttestkit/mockstore.go:84\ngithub.com/pingcap/tidb/testkit.CreateMockStoreAndDomain\n\ttestkit/mockstore.go:69\ngithub.com/pingcap/tidb/testkit.CreateMockStore\n\ttestkit/mockstore.go:61\nsessiontxn/sessiontxn_test_test.TestTSOCmdCountForPrepareExecute\n\tsessiontxn/txn_context_test.go:881\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1446\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:38:20.713 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=18.943638ms] [2024/05/06 16:38:20.716 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:38:20.716 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=1d38a530-8f2f-4b13-8aa6-3d31ec6487bf] [runWorker=true] [2024/05/06 16:38:20.717 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:38:20.717 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:38:20.717 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 183, tp general"] [2024/05/06 16:38:20.717 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 184, tp add index"] [2024/05/06 16:38:20.718 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:38:20.718 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:38:20.718 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:38:20.718 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:38:20.722 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 16:38:20.740 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:38:20.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 16:38:20.740 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:20.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:20.970 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:38:21.220 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:38:21.470 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:38:21.720 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:38:21.780 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:20.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:21.823 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=22.078333ms] [2024/05/06 16:38:21.828 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:38:21.868 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:21.868 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=3] [version=1] [2024/05/06 16:38:21.871 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=70.265415ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:38:20.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:21.902 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:20.73 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:21.923 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=3] [2024/05/06 16:38:21.923 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:21.924 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.202204045\n# Parse_time: 0\n# Compile_time: 0.000410647\n# Rewrite_time: 0.000013076\n# Optimize_time: 0\n# Wait_TS: 0.000051297\n# DB: mysql\n# Is_internal: true\n# Digest: 0a22979ad136f741465cf206b13e5717b9758dda34f7cae5a7a925f91711d6a0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse mysql;\nCREATE DATABASE IF NOT EXISTS test;"] [2024/05/06 16:38:21.926 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 16:38:21.953 +08:00] [INFO] [session.go:3817] ["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 16:38:22.117 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:21.967 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:22.117 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:21.967 +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 16:38:22.163 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:21.967 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:22.487 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=7.048658ms] [phyTblIDs="[4]"] [actionTypes="[8]"] [2024/05/06 16:38:22.519 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:22.519 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=5] [version=2] [2024/05/06 16:38:22.520 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=44.208095ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:21.967 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:22.570 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:21.967 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:22.718 +08:00] [INFO] [info.go:1114] [SetTiFlashGroupConfig] [2024/05/06 16:38:22.790 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=5] [2024/05/06 16:38:22.791 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:22.792 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.852569835\n# Parse_time: 0\n# Compile_time: 0.014149607\n# Rewrite_time: 0.000020153\n# Optimize_time: 0\n# Wait_TS: 0.000080431\n# DB: mysql\n# Is_internal: true\n# Digest: 14c6b489558060bdbede877927034270db5af07c6621aa28f87eeaec8727e925\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.user ( Host CHAR(255), User CHAR(32), authentication_string TEXT, plugin CHAR(64), Select_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Insert_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Update_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Delete_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Process_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Grant_priv ENUM('N','Y') NOT NULL DEFAULT 'N', References_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_db_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Super_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Index_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_user_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Event_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_slave_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_client_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Trigger_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Account_locked ENUM('N','Y') NOT NULL DEFAULT 'N', Shutdown_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Reload_priv ENUM('N','Y') NOT NULL DEFAULT 'N', FILE_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Config_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N', Password_reuse_history smallint unsigned DEFAULT NULL, Password_reuse_time smallint unsigned DEFAULT NULL, User_attributes json, Token_issuer VARCHAR(255), Password_expired ENUM('N','Y') NOT NULL DEFAULT 'N', Password_last_changed TIMESTAMP DEFAULT CURRENT_TIMESTAMP(), Password_lifetime SMALLINT UNSIGNED DEFAULT NULL, PRIMARY KEY (Host, User));"] [2024/05/06 16:38:22.797 +08:00] [INFO] [session.go:3817] ["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 16:38:22.847 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:22.807 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:22.847 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:22.807 +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 16:38:22.883 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:22.807 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:22.952 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=2.006289ms] [phyTblIDs="[6]"] [actionTypes="[8]"] [2024/05/06 16:38:22.969 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:22.969 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=7] [version=3] [2024/05/06 16:38:22.969 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=20.147277ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:22.807 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:23.005 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:22.807 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:23.056 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=7] [2024/05/06 16:38:23.056 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:23.062 +08:00] [INFO] [session.go:3817] ["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 16:38:23.096 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:23.069 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:23.096 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:23.069 +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 16:38:23.144 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:23.069 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:23.211 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=1.504263ms] [phyTblIDs="[8]"] [actionTypes="[8]"] [2024/05/06 16:38:23.269 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:23.269 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=9] [version=4] [2024/05/06 16:38:23.271 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=62.385612ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:23.069 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:23.301 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:23.069 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:23.336 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=9] [2024/05/06 16:38:23.337 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:23.355 +08:00] [INFO] [session.go:3817] ["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),\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 16:38:23.459 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:23.364 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:23.459 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:23.364 +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),\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 16:38:23.504 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:23.364 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:23.669 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=4.966588ms] [phyTblIDs="[10]"] [actionTypes="[8]"] [2024/05/06 16:38:23.719 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:23.719 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=11] [version=5] [2024/05/06 16:38:23.724 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=59.845652ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:23.364 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:23.801 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:23.364 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:23.915 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=11] [2024/05/06 16:38:23.915 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:23.916 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.568785816\n# Parse_time: 0\n# Compile_time: 0.007947684\n# Rewrite_time: 0.000009837\n# Optimize_time: 0\n# Wait_TS: 0.000076109\n# DB: mysql\n# Is_internal: true\n# Digest: aeaf612801484f0311f850d36f60f29e6d904828682c1f3bb7307dff25ca3a15\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.db ( Host CHAR(255), DB CHAR(64), User CHAR(32), Select_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Insert_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Update_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Delete_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Grant_priv ENUM('N','Y') NOT NULL DEFAULT 'N', References_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Index_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Event_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Trigger_priv ENUM('N','Y') NOT NULL DEFAULT 'N', PRIMARY KEY (Host, DB, User));"] [2024/05/06 16:38:23.933 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:38:23.983 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:23.946 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:23.983 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:23.946 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:38:24.036 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:23.946 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:24.113 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=1.844466ms] [phyTblIDs="[12]"] [actionTypes="[8]"] [2024/05/06 16:38:24.169 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:24.169 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=13] [version=6] [2024/05/06 16:38:24.171 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=60.529608ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:23.946 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:24.206 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:23.946 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:24.271 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=13] [2024/05/06 16:38:24.271 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:24.272 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.351411378\n# Parse_time: 0\n# Compile_time: 0.012303685\n# Rewrite_time: 0.000013106\n# Optimize_time: 0\n# Wait_TS: 0.000090143\n# DB: mysql\n# Is_internal: true\n# Digest: e8b37dad6cc7f05ee1f0be61455667495826928a93ddd09b94e02fbaed113955\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tables_priv ( Host CHAR(255), DB CHAR(64), User CHAR(32), Table_name CHAR(64), Grantor CHAR(77), Timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, Table_priv SET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'), Column_priv SET('Select','Insert','Update','References'), PRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 16:38:24.277 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:38:24.364 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:24.294 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:24.364 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:24.294 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:38:24.406 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:24.294 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:24.489 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=1.767565ms] [phyTblIDs="[14]"] [actionTypes="[8]"] [2024/05/06 16:38:24.519 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:24.519 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=15] [version=7] [2024/05/06 16:38:24.522 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=35.951269ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:24.294 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:24.570 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:24.294 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:24.633 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=15] [2024/05/06 16:38:24.634 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:24.635 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.360315285\n# Parse_time: 0\n# Compile_time: 0.001799636\n# Rewrite_time: 0.000007661\n# Optimize_time: 0\n# Wait_TS: 0.000073407\n# DB: mysql\n# Is_internal: true\n# Digest: a19edbb3caff8cc57619278ab6eb5f791d7a821432309abe7184d0a7bca66b4d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.columns_priv( Host CHAR(255), DB CHAR(64), User CHAR(32), Table_name CHAR(64), Column_name CHAR(64), Timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, Column_priv SET('Select','Insert','Update','References'), PRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 16:38:24.639 +08:00] [INFO] [session.go:3817] ["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(1024) DEFAULT NULL);"] [user=] [2024/05/06 16:38:24.677 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:24.648 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:24.678 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:24.648 +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(1024) DEFAULT NULL);"] [2024/05/06 16:38:24.717 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:24.648 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:24.776 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=1.631774ms] [phyTblIDs="[16]"] [actionTypes="[8]"] [2024/05/06 16:38:24.818 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:24.818 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=17] [version=8] [2024/05/06 16:38:24.819 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=46.098126ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:24.648 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:24.861 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:24.648 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:24.891 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=17] [2024/05/06 16:38:24.891 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:24.895 +08:00] [INFO] [session.go:3817] ["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 16:38:24.937 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:24.902 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:24.937 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:24.902 +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 16:38:24.991 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:24.902 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:25.049 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=1.150031ms] [phyTblIDs="[18]"] [actionTypes="[8]"] [2024/05/06 16:38:25.069 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:25.069 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=19] [version=9] [2024/05/06 16:38:25.070 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=22.56817ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:24.902 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:25.103 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:24.902 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:25.146 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=19] [2024/05/06 16:38:25.146 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:25.154 +08:00] [INFO] [session.go:3817] ["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 16:38:25.195 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:25.164 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:25.195 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:25.164 +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 16:38:25.243 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:25.164 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:25.322 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=2.111241ms] [phyTblIDs="[20]"] [actionTypes="[8]"] [2024/05/06 16:38:25.369 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:25.369 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=21] [version=10] [2024/05/06 16:38:25.369 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=50.218901ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:25.164 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:25.409 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:25.164 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:25.483 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=21] [2024/05/06 16:38:25.483 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:25.485 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.333701823\n# Parse_time: 0\n# Compile_time: 0.003172564\n# Rewrite_time: 0.000010446\n# Optimize_time: 0\n# Wait_TS: 0.000088795\n# DB: mysql\n# Is_internal: true\n# Digest: ca851971407336dad93908a9f88f01d828a4e18f332111987f4a7675bced7ea4\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.help_topic ( help_topic_id INT(10) UNSIGNED NOT NULL, name CHAR(64) NOT NULL, help_category_id SMALLINT(5) UNSIGNED NOT NULL, description TEXT NOT NULL, example TEXT NOT NULL, url TEXT NOT NULL, PRIMARY KEY (help_topic_id) clustered, UNIQUE KEY name (name) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 16:38:25.491 +08:00] [INFO] [session.go:3817] ["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 16:38:25.542 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:25.501 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:25.542 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:25.501 +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 16:38:25.591 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:25.501 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:25.665 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=1.49296ms] [phyTblIDs="[22]"] [actionTypes="[8]"] [2024/05/06 16:38:25.719 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:25.719 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=23] [version=11] [2024/05/06 16:38:25.719 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=56.211677ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:25.501 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:25.812 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:25.501 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:25.868 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=23] [2024/05/06 16:38:25.868 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:25.870 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.381030872\n# Parse_time: 0\n# Compile_time: 0.002829115\n# Rewrite_time: 0.00001199\n# Optimize_time: 0\n# Wait_TS: 0.000064196\n# DB: mysql\n# Is_internal: true\n# Digest: db16a74bd407cb00f071eafe96456094f48fc00e802128fc486ef4847b8910b0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_meta ( version BIGINT(64) UNSIGNED NOT NULL, table_id BIGINT(64) NOT NULL, modify_count BIGINT(64) NOT NULL DEFAULT 0, count BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, snapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, INDEX idx_ver(version), UNIQUE INDEX tbl(table_id) );"] [2024/05/06 16:38:25.876 +08:00] [INFO] [session.go:3817] ["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 16:38:25.877 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [2024/05/06 16:38:25.962 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:25.887 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:25.962 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:25.887 +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 16:38:26.009 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:25.887 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:26.148 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=2.496311ms] [phyTblIDs="[24]"] [actionTypes="[8]"] [2024/05/06 16:38:26.169 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:26.169 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=25] [version=12] [2024/05/06 16:38:26.170 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=24.859622ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:25.887 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:26.205 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:25.887 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:26.288 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=25] [2024/05/06 16:38:26.288 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:26.290 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.41590643\n# Parse_time: 0\n# Compile_time: 0.002790727\n# Rewrite_time: 0.000009201\n# Optimize_time: 0\n# Wait_TS: 0.000051536\n# DB: mysql\n# Is_internal: true\n# Digest: 7780c45a0aac5f123ac85a7e601e79c5d7779e7c09a19953908e547605ed45d2\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_histograms ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, distinct_count BIGINT(64) NOT NULL, null_count BIGINT(64) NOT NULL DEFAULT 0, tot_col_size BIGINT(64) NOT NULL DEFAULT 0, modify_count BIGINT(64) NOT NULL DEFAULT 0, version BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, cm_sketch BLOB(6291456), stats_ver BIGINT(64) NOT NULL DEFAULT 0, flag BIGINT(64) NOT NULL DEFAULT 0, correlation DOUBLE NOT NULL DEFAULT 0, last_analyze_pos LONGBLOB DEFAULT NULL, UNIQUE INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:38:26.297 +08:00] [INFO] [session.go:3817] ["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 16:38:26.388 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:26.307 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:26.389 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:26.307 +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 16:38:26.445 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:26.307 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:26.558 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=2.896212ms] [phyTblIDs="[26]"] [actionTypes="[8]"] [2024/05/06 16:38:26.568 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:26.568 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=27] [version=13] [2024/05/06 16:38:26.571 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=16.773462ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:26.307 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:26.602 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:26.307 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:26.674 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=27] [2024/05/06 16:38:26.674 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:26.676 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.381813362\n# Parse_time: 0\n# Compile_time: 0.003230567\n# Rewrite_time: 0.000012769\n# Optimize_time: 0\n# Wait_TS: 0.000068296\n# DB: mysql\n# Is_internal: true\n# Digest: 5615b5212342304015b027afb253371dae02f19e53871cfbb034deb145dfce32\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_buckets ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, bucket_id BIGINT(64) NOT NULL, count BIGINT(64) NOT NULL, repeats BIGINT(64) NOT NULL, upper_bound LONGBLOB NOT NULL, lower_bound LONGBLOB , ndv BIGINT NOT NULL DEFAULT 0, UNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id) );"] [2024/05/06 16:38:26.682 +08:00] [INFO] [session.go:3817] ["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 16:38:26.721 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:26.693 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:26.721 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:26.693 +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 16:38:26.769 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:26.693 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:26.837 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=1.535095ms] [phyTblIDs="[28]"] [actionTypes="[8]"] [2024/05/06 16:38:26.869 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:26.869 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=29] [version=14] [2024/05/06 16:38:26.871 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=36.932565ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:26.693 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:26.901 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:26.693 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:26.963 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=29] [2024/05/06 16:38:26.963 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:26.969 +08:00] [INFO] [session.go:3817] ["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 16:38:27.013 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:26.979 +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 16:38:27.013 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:26.979 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:27.066 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:26.979 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:27.129 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=2.327096ms] [phyTblIDs="[30]"] [actionTypes="[8]"] [2024/05/06 16:38:27.169 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:27.169 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=31] [version=15] [2024/05/06 16:38:27.170 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=44.158169ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:26.979 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:27.202 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:26.979 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:27.258 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=31] [2024/05/06 16:38:27.258 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:27.262 +08:00] [INFO] [session.go:3817] ["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 16:38:27.337 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:27.272 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:27.338 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:27.272 +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 16:38:27.380 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:27.272 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:27.447 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=2.076741ms] [phyTblIDs="[32]"] [actionTypes="[8]"] [2024/05/06 16:38:27.469 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:27.469 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=33] [version=16] [2024/05/06 16:38:27.470 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=26.131768ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:27.272 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:27.503 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:27.272 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:27.550 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=33] [2024/05/06 16:38:27.551 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:27.557 +08:00] [INFO] [session.go:3817] ["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 16:38:27.608 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:27.568 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:27.608 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:27.568 +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 16:38:27.654 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:27.568 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:27.719 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=2.070789ms] [phyTblIDs="[34]"] [actionTypes="[8]"] [2024/05/06 16:38:27.769 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:27.769 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=35] [version=17] [2024/05/06 16:38:27.771 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=54.589143ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:27.568 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:27.803 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:27.568 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:27.863 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=35] [2024/05/06 16:38:27.863 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:27.864 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.30916774\n# Parse_time: 0\n# Compile_time: 0.00216379\n# Rewrite_time: 0.000008788\n# Optimize_time: 0\n# Wait_TS: 0.000063425\n# DB: mysql\n# Is_internal: true\n# Digest: 13e2fcff943423afddaa84c2d34108628854b5953bc7c41d2879240f077a5bd6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.role_edges ( FROM_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', FROM_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', TO_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', TO_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', WITH_ADMIN_OPTION ENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N', PRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER) );"] [2024/05/06 16:38:27.869 +08:00] [INFO] [session.go:3817] ["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 16:38:27.907 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:27.877 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:27.907 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:27.877 +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 16:38:27.961 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:27.877 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:28.014 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=1.435232ms] [phyTblIDs="[36]"] [actionTypes="[8]"] [2024/05/06 16:38:28.068 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:28.068 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=37] [version=18] [2024/05/06 16:38:28.071 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=58.762266ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:27.877 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:28.103 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:27.877 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:28.163 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=37] [2024/05/06 16:38:28.163 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:28.170 +08:00] [INFO] [session.go:3817] ["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 16:38:28.268 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:28.179 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:28.269 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:28.179 +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 16:38:28.313 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:28.179 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:28.458 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=3.508596ms] [phyTblIDs="[38]"] [actionTypes="[8]"] [2024/05/06 16:38:28.519 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:28.519 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=39] [version=19] [2024/05/06 16:38:28.520 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=66.511044ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:28.179 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:28.565 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:28.179 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:28.649 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=39] [2024/05/06 16:38:28.649 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:28.651 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.483321775\n# Parse_time: 0\n# Compile_time: 0.002715733\n# Rewrite_time: 0.000008759\n# Optimize_time: 0\n# Wait_TS: 0.000063654\n# DB: mysql\n# Is_internal: true\n# Digest: 0a4bc55a9ab72ef62ddaa1ee6472d7872306066fd783a8bb67047a497fbb4dbe\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.bind_info ( original_sql TEXT NOT NULL, bind_sql TEXT NOT NULL, default_db TEXT NOT NULL, status TEXT NOT NULL, create_time TIMESTAMP(3) NOT NULL, update_time TIMESTAMP(3) NOT NULL, charset TEXT NOT NULL, collation TEXT NOT NULL, source VARCHAR(10) NOT NULL DEFAULT 'unknown', sql_digest varchar(64), plan_digest varchar(64), INDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\", INDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\" ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 16:38:28.667 +08:00] [INFO] [session.go:3817] ["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 16:38:28.716 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:28.677 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:28.716 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:28.677 +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 16:38:28.770 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:28.677 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:28.826 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=2.282405ms] [phyTblIDs="[40]"] [actionTypes="[8]"] [2024/05/06 16:38:28.868 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:28.869 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=41] [version=20] [2024/05/06 16:38:28.869 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=46.137546ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:28.677 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:28.902 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:28.677 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:28.958 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=41] [2024/05/06 16:38:28.958 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:28.961 +08:00] [INFO] [session.go:3817] ["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 16:38:28.997 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:28.97 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:28.997 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:28.97 +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 16:38:29.041 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:28.97 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:29.093 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=1.060925ms] [phyTblIDs="[42]"] [actionTypes="[8]"] [2024/05/06 16:38:29.118 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:29.119 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=43] [version=21] [2024/05/06 16:38:29.124 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=32.270111ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:28.97 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:29.159 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:28.97 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:29.188 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=43] [2024/05/06 16:38:29.188 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:29.190 +08:00] [INFO] [session.go:3817] ["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 16:38:29.221 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:29.198 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:29.221 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:29.198 +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 16:38:29.270 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:29.198 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:29.343 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=1.429323ms] [phyTblIDs="[44]"] [actionTypes="[8]"] [2024/05/06 16:38:29.369 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:29.369 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=45] [version=22] [2024/05/06 16:38:29.371 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=30.313305ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:29.198 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:29.409 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:29.198 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:29.452 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=45] [2024/05/06 16:38:29.452 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:29.461 +08:00] [INFO] [session.go:3817] ["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 16:38:29.518 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:29.473 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:29.518 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:29.473 +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 16:38:29.562 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:29.473 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:29.651 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=1.955496ms] [phyTblIDs="[46]"] [actionTypes="[8]"] [2024/05/06 16:38:29.669 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:29.669 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=47] [version=23] [2024/05/06 16:38:29.671 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=23.012129ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:29.473 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:29.707 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:29.473 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:29.772 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=47] [2024/05/06 16:38:29.772 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:29.773 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.314690105\n# Parse_time: 0\n# Compile_time: 0.003166085\n# Rewrite_time: 0.000013206\n# Optimize_time: 0\n# Wait_TS: 0.000096576\n# DB: mysql\n# Is_internal: true\n# Digest: bd2a0d9809689d30e22f8d82b29b4ee110d16cda3353b77d74a1938afb746386\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_extended ( name varchar(32) NOT NULL, type tinyint(4) NOT NULL, table_id bigint(64) NOT NULL, column_ids varchar(32) NOT NULL, stats blob DEFAULT NULL, version bigint(64) unsigned NOT NULL, status tinyint(4) NOT NULL, PRIMARY KEY(name, table_id), KEY idx_1 (table_id, status, version), KEY idx_2 (status, version) );"] [2024/05/06 16:38:29.777 +08:00] [INFO] [session.go:3817] ["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 16:38:29.824 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:29.786 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:29.825 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:29.786 +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 16:38:29.872 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:29.786 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:29.933 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=2.10198ms] [phyTblIDs="[48]"] [actionTypes="[8]"] [2024/05/06 16:38:29.969 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:29.969 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=49] [version=24] [2024/05/06 16:38:29.971 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=40.295691ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:29.786 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:30.008 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:29.786 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:30.055 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=49] [2024/05/06 16:38:30.055 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:30.060 +08:00] [INFO] [session.go:3817] ["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 16:38:30.102 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:30.067 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:30.102 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:30.067 +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 16:38:30.147 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:30.067 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:30.206 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=1.350916ms] [phyTblIDs="[50]"] [actionTypes="[8]"] [2024/05/06 16:38:30.219 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:30.219 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=51] [version=25] [2024/05/06 16:38:30.220 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=16.046302ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:30.067 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:30.277 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:30.067 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:30.325 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=51] [2024/05/06 16:38:30.326 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:30.333 +08:00] [INFO] [session.go:3817] ["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 16:38:30.376 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:30.347 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:30.376 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:30.347 +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 16:38:30.413 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:30.347 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:30.481 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=1.43003ms] [phyTblIDs="[52]"] [actionTypes="[8]"] [2024/05/06 16:38:30.519 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:30.519 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=53] [version=26] [2024/05/06 16:38:30.520 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=46.204166ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:30.347 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:30.557 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:30.347 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:30.609 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=53] [2024/05/06 16:38:30.609 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:30.616 +08:00] [INFO] [session.go:3817] ["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 16:38:30.658 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:30.625 +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 16:38:30.658 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:30.625 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:30.701 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:30.625 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:30.769 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=1.831563ms] [phyTblIDs="[54]"] [actionTypes="[8]"] [2024/05/06 16:38:30.819 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:30.819 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=55] [version=27] [2024/05/06 16:38:30.821 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=54.776342ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:30.625 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:30.862 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:30.625 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:30.904 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=55] [2024/05/06 16:38:30.904 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:30.910 +08:00] [INFO] [session.go:3817] ["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 16:38:30.958 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:30.921 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:30.958 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:30.921 +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 16:38:30.996 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:30.921 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:31.072 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=1.540134ms] [phyTblIDs="[56]"] [actionTypes="[8]"] [2024/05/06 16:38:31.119 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:31.119 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=57] [version=28] [2024/05/06 16:38:31.120 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=50.629374ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:30.921 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:31.160 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:30.921 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:31.199 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=57] [2024/05/06 16:38:31.199 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:31.206 +08:00] [INFO] [session.go:3817] ["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 16:38:31.273 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:31.217 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:31.273 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:31.217 +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 16:38:31.320 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:31.217 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:31.381 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=1.806291ms] [phyTblIDs="[58]"] [actionTypes="[8]"] [2024/05/06 16:38:31.418 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:31.418 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=59] [version=29] [2024/05/06 16:38:31.419 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=40.446571ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:31.217 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:31.458 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:31.217 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:31.512 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=59] [2024/05/06 16:38:31.512 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:31.514 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.310287594\n# Parse_time: 0\n# Compile_time: 0.00264386\n# Rewrite_time: 0.000011996\n# Optimize_time: 0\n# Wait_TS: 0.000087916\n# DB: mysql\n# Is_internal: true\n# Digest: d5bebde055ca14bff3e131e086a86c4095b9d04ea6fc326b4c2f16ffd61fbd2d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.table_cache_meta ( tid bigint(11) NOT NULL DEFAULT 0, lock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE', lease bigint(20) NOT NULL DEFAULT 0, oldReadLease bigint(20) NOT NULL DEFAULT 0, PRIMARY KEY (tid) );"] [2024/05/06 16:38:31.521 +08:00] [INFO] [session.go:3817] ["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 16:38:31.523 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [2024/05/06 16:38:31.570 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:31.534 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:31.570 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:31.534 +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 16:38:31.616 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:31.534 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:31.694 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=2.061642ms] [phyTblIDs="[60]"] [actionTypes="[8]"] [2024/05/06 16:38:31.719 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:31.719 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=61] [version=30] [2024/05/06 16:38:31.719 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=28.039193ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:31.534 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:31.795 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:31.534 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:31.845 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=61] [2024/05/06 16:38:31.845 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:31.847 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.328775493\n# Parse_time: 0\n# Compile_time: 0.003345674\n# Rewrite_time: 0.000015078\n# Optimize_time: 0\n# Wait_TS: 0.000083032\n# DB: mysql\n# Is_internal: true\n# Digest: 987fcd9b9a604209ec1101d918419b993c42f84fe228e20aee2fcca2931ff93e\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.analyze_options ( table_id BIGINT(64) NOT NULL, sample_num BIGINT(64) NOT NULL DEFAULT 0, sample_rate DOUBLE NOT NULL DEFAULT -1, buckets BIGINT(64) NOT NULL DEFAULT 0, topn BIGINT(64) NOT NULL DEFAULT -1, column_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT', column_ids TEXT(19372), PRIMARY KEY (table_id) CLUSTERED );"] [2024/05/06 16:38:31.854 +08:00] [INFO] [session.go:3817] ["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\t);"] [user=] [2024/05/06 16:38:31.899 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:31.864 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:31.899 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:31.864 +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\t);"] [2024/05/06 16:38:31.939 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:31.864 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:32.009 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=2.158554ms] [phyTblIDs="[62]"] [actionTypes="[8]"] [2024/05/06 16:38:32.069 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:32.069 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=63] [version=31] [2024/05/06 16:38:32.071 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=64.903001ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:31.864 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:32.109 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:31.864 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:32.177 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=63] [2024/05/06 16:38:32.177 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:32.178 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.327163244\n# Parse_time: 0\n# Compile_time: 0.002750642\n# Rewrite_time: 0.000011185\n# Optimize_time: 0\n# Wait_TS: 0.000080753\n# DB: mysql\n# Is_internal: true\n# Digest: 11757f6de6b3d2a64e92f14cd7b7f739729563ede3b0139d016148eba0b27ebf\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_history ( table_id bigint(64) NOT NULL, stats_data longblob NOT NULL, seq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice', version bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN', create_time datetime(6) NOT NULL, UNIQUE KEY table_version_seq (table_id, version, seq_no), KEY table_create_time (table_id, create_time, seq_no) );"] [2024/05/06 16:38:32.185 +08:00] [INFO] [session.go:3817] ["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\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\t);"] [user=] [2024/05/06 16:38:32.243 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:32.196 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:32.243 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:32.196 +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\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\t);"] [2024/05/06 16:38:32.311 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:32.196 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:32.385 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=2.136473ms] [phyTblIDs="[64]"] [actionTypes="[8]"] [2024/05/06 16:38:32.419 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:32.419 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=65] [version=32] [2024/05/06 16:38:32.421 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=38.664617ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:32.196 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:32.457 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:32.196 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:32.508 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=65] [2024/05/06 16:38:32.508 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:32.509 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.326987125\n# Parse_time: 0\n# Compile_time: 0.003029706\n# Rewrite_time: 0.000012138\n# Optimize_time: 0\n# Wait_TS: 0.000089861\n# DB: mysql\n# Is_internal: true\n# Digest: ebccd6f5d49fb0fcff4d7dc20bb3ae798d172a92ba5f6709445c980166f7e32f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_meta_history ( table_id bigint(64) NOT NULL, modify_count bigint(64) NOT NULL, count bigint(64) NOT NULL, version bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN', create_time datetime(6) NOT NULL, UNIQUE KEY table_version (table_id, version), KEY table_create_time (table_id, create_time) );"] [2024/05/06 16:38:32.518 +08:00] [INFO] [session.go:3817] ["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 16:38:32.592 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:32.528 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:32.592 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:32.528 +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 16:38:32.640 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:32.528 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:32.758 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=2.729167ms] [phyTblIDs="[66]"] [actionTypes="[8]"] [2024/05/06 16:38:32.769 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:32.769 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=67] [version=33] [2024/05/06 16:38:32.769 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=14.076082ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:32.528 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:32.805 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:32.528 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:32.885 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=67] [2024/05/06 16:38:32.885 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:32.887 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.372133645\n# Parse_time: 0\n# Compile_time: 0.003310126\n# Rewrite_time: 0.000010282\n# Optimize_time: 0\n# Wait_TS: 0.000069056\n# DB: mysql\n# Is_internal: true\n# Digest: bfb9a3ff60c3c60c054a207c0a0db06c87e29edbe94005d8d5c89fe484f4f90a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.analyze_jobs ( id BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT, update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, table_schema CHAR(64) NOT NULL DEFAULT '', table_name CHAR(64) NOT NULL DEFAULT '', partition_name CHAR(64) NOT NULL DEFAULT '', job_info TEXT NOT NULL, processed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, start_time TIMESTAMP, end_time TIMESTAMP, state ENUM('pending', 'running', 'finished', 'failed') NOT NULL, fail_reason TEXT, instance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job', process_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job', PRIMARY KEY (id), KEY (update_time) );"] [2024/05/06 16:38:32.889 +08:00] [INFO] [session.go:3817] ["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 16:38:32.922 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:32.9 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:32.922 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:32.9 +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 16:38:32.973 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:32.9 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:33.011 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=1.149079ms] [phyTblIDs="[68]"] [actionTypes="[8]"] [2024/05/06 16:38:33.068 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:33.068 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=69] [version=34] [2024/05/06 16:38:33.069 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=60.139729ms] [job="ID:69, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:32.9 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:33.103 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:69, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:32.9 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:33.133 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=69] [2024/05/06 16:38:33.133 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:33.222 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:33.154 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:33.222 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:33.154 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] [2024/05/06 16:38:33.270 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:33.154 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:33.354 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=2.586195ms] [phyTblIDs="[70]"] [actionTypes="[2097152]"] [2024/05/06 16:38:33.369 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:33.369 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=71] [version=35] [2024/05/06 16:38:33.371 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=20.413725ms] [job="ID:71, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:33.154 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:33.403 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:71, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:33.154 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:33.457 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=71] [2024/05/06 16:38:33.458 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:33.459 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.320217346\n# Parse_time: 0\n# Compile_time: 0.004543428\n# Rewrite_time: 0.002600373\n# Optimize_time: 0\n# Wait_TS: 0.000062517\n# DB: mysql\n# Is_internal: true\n# Digest: 812c81f344f5d0c8b8aedcb68ff1dca865b59104853273f7e66b8abff5429992\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE OR REPLACE VIEW mysql.tidb_mdl_view as ( select JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID );"] [2024/05/06 16:38:33.466 +08:00] [INFO] [session.go:3817] ["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 16:38:33.511 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:33.477 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:33.511 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:33.477 +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 16:38:33.554 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:33.477 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:33.623 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=2.303687ms] [phyTblIDs="[72]"] [actionTypes="[8]"] [2024/05/06 16:38:33.668 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:33.668 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=73] [version=36] [2024/05/06 16:38:33.671 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=50.404836ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:33.477 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:33.701 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:33.477 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:33.749 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=73] [2024/05/06 16:38:33.749 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:33.753 +08:00] [INFO] [session.go:3817] ["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 16:38:33.796 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:33.764 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:33.796 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:33.764 +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 16:38:33.850 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:33.764 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:33.897 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=1.449705ms] [phyTblIDs="[74]"] [actionTypes="[8]"] [2024/05/06 16:38:33.919 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:33.919 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=75] [version=37] [2024/05/06 16:38:33.921 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=26.887271ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:33.764 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:33.960 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:33.764 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:33.997 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=75] [2024/05/06 16:38:33.998 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:34.003 +08:00] [INFO] [session.go:3817] ["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 16:38:34.046 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:34.013 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:34.046 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:34.013 +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 16:38:34.109 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:34.013 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:34.173 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=1.865252ms] [phyTblIDs="[76]"] [actionTypes="[8]"] [2024/05/06 16:38:34.219 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:34.219 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=77] [version=38] [2024/05/06 16:38:34.221 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=38] ["take time"=50.779192ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:34.013 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:34.259 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:34.013 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:34.298 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=77] [2024/05/06 16:38:34.298 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:34.311 +08:00] [INFO] [session.go:3817] ["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 16:38:34.402 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:34.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:34.402 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:34.322 +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 16:38:34.451 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 185, tp general"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:34.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:34.584 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=2.609295ms] [phyTblIDs="[78]"] [actionTypes="[8]"] [2024/05/06 16:38:34.618 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:34.619 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=79] [version=39] [2024/05/06 16:38:34.619 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=39] ["take time"=38.514863ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:34.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:34.657 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 185, tp general"] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:34.322 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:34.731 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=79] [2024/05/06 16:38:34.731 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:34.732 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.42571479\n# Parse_time: 0\n# Compile_time: 0.00498803\n# Rewrite_time: 0.000013697\n# Optimize_time: 0\n# Wait_TS: 0.000082663\n# DB: mysql\n# Is_internal: true\n# Digest: a30bd3c3a49070c554e65922e84c6b76e646842e3925a859fcde73941a7cb423\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status ( table_id bigint(64) PRIMARY KEY, parent_table_id bigint(64), table_statistics text DEFAULT NULL, last_job_id varchar(64) DEFAULT NULL, last_job_start_time timestamp NULL DEFAULT NULL, last_job_finish_time timestamp NULL DEFAULT NULL, last_job_ttl_expire timestamp NULL DEFAULT NULL, last_job_summary text DEFAULT NULL, current_job_id varchar(64) DEFAULT NULL, current_job_owner_id varchar(64) DEFAULT NULL, current_job_owner_addr varchar(256) DEFAULT NULL, current_job_owner_hb_time timestamp, current_job_start_time timestamp NULL DEFAULT NULL, current_job_ttl_expire timestamp NULL DEFAULT NULL, current_job_state text DEFAULT NULL, current_job_status varchar(64) DEFAULT NULL, current_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 16:38:35.222 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572953059229696\n# Query_time: 0.334744013\n# Parse_time: 0\n# Compile_time: 0.167569099\n# Rewrite_time: 0.004285152\n# Optimize_time: 0\n# Wait_TS: 0.000073601\n# DB: mysql\n# Is_internal: true\n# Digest: ca2019e08a331284bd0c64be228a0537fcf9f5983e95d94b67ef42dcb8f54385\n# Num_cop_tasks: 0\n# Mem_max: 353081\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: true\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('pAPwPDAJMjdfMQkwCTAJTi9BCTAJdGltZToxNTQuMW1zLCBsb29wczoxLCBwcmVwYXJlOiB7dG90YWw6IDE5LjkBIkxhdXRvX2lkX2FsbG9jYXRvcjogewUMZF9jbnQ6IDEsIEdldDp7bnVtX3JwYzo0LCB0AUEAXwVouDMyMy42wrVzfSwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjMwNy45wrVzLCBnZXRfESQQczoxMy4JFwkTGDozMzEuM8IBKBxzbG93ZXN0XxFDBXYEIHsFdWg6IDAuMDAwcywgcmVnaW9uX2lkOiAyLCBzdG8B2wUHCDEsIBmOGHByaW1hcnnWRAANZBhudW06MSwgBdAMX2tleSVPCQ4EYnkB4zgyfX19LCBpbnNlcnQ6MTMlejAJOTYuOCBLQglOL0EK')\n# Binary_plan: tidb_decode_binary_plan('sAPwgQqrAwoISW5zZXJ0XzE4AUABUgNOL0FaFXRpbWU6MTU0LjFtcywgbG9vcHM6MWLvAnByZXBhcmU6IHt0b3RhbDogMTkuOW1zLCBhdXRvX2lkX2FsbG9jYXRvcjoge2FsbG9jX2NudDogMSwgR2V0OntudW1fcnBjOjQsIHRvdGFsX3QBabgzMjMuNsK1c30sIGNvbW1pdF90eG46IHtwcmV3cml0ZTozMDcuOcK1cywgZ2V0XxEkEHM6MTMuCRcJExg6MzMxLjPCASgcc2xvd2VzdF8RQwxfcnBjGbZgMC4wMDBzLCByZWdpb25faWQ6IDIsIHN0bwHbBQcIMSwgGY4YcHJpbWFyedZEAA1kGG51bToxLCAF0BBfa2V5cxkOBGJ5AeM4Mn19fSwgaW5zZXJ0OjEzJXtAcLmGBnj///////////8BGAE=')\nINSERT HIGH_PRIORITY INTO mysql.GLOBAL_VARIABLES VALUES (\"innodb_status_output_locks\", \"OFF\"), (\"default_tmp_storage_engine\", \"InnoDB\"), (\"tidb_mem_quota_binding_cache\", \"67108864\"), (\"innodb_max_dirty_pages_pct_lwm\", \"0\"), (\"tidb_sysdate_is_now\", \"OFF\"), (\"innodb_flushing_avg_loops\", \"30\"), (\"tidb_opt_desc_factor\", \"3\"), (\"tidb_enable_prepared_plan_cache\", \"ON\"), (\"tidb_enable_noop_functions\", \"OFF\"), (\"tidb_auto_analyze_partition_batch_size\", \"1\"), (\"show_old_temporals\", \"OFF\"), (\"innodb_ft_enable_diag_print\", \"OFF\"), (\"disconnect_on_expired_password\", \"ON\"), (\"tidb_enable_table_partition\", \"ON\"), (\"executed_gtids_compression_period\", \"\"), (\"innodb_compression_pad_pct_max\", \"50\"), (\"tidb_hashagg_final_concurrency\", \"-1\"), (\"myisam_repair_threads\", \"1\"), (\"key_cache_division_limit\", \"100\"), (\"tidb_txn_mode\", \"pessimistic\"), (\"innodb_change_buffer_max_size\", \"25\"), (\"binlog_order_commits\", \"ON\"), (\"innodb_adaptive_hash_index\", \"ON\"), (\"low_priority_updates\", \"OFF\"), (\"tidb_gogc_tuner_threshold\", \"0.6\"), (\"tidb_enable_cascades_planner\", \"OFF\"), (\"tidb_persist_analyze_options\", \"ON\"), (\"innodb_commit_concurrency\", \"0\"), (\"tidb_max_paging_size\", \"50000\"), (\"tidb_default_string_match_selectivity\", \"0.8\"), (\"innodb_stats_on_metadata\", \"0\"), (\"secure_auth\", \"ON\"), (\"session_track_state_change\", \"\"), (\"tidb_remove_orderby_in_subquery\", \"OFF\"), (\"tidb_enable_metadata_lock\", \"ON\"), (\"innodb_buffer_pool_size\", \"134217728\"), (\"innodb_monitor_reset\", \"\"), (\"table_open_cache\", \"2000\"), (\"validate_password.length\", \"8\"), (\"max_connect_errors\", \"100\"), (\"ndb_eventbuffer_free_percent\", \"\"), (\"log_syslog_include_pid\", \"\"), (\"tidb_hash_exchange_with_new_collation\", \"ON\"), (\"innodb_stats_persistent\", \"ON\"), (\"tidb_init_chunk_size\", \"32\"), (\"innodb_api_bk_commit_interval\", \"5\"), (\"query_cache_type\", \"OFF\"), (\"tidb_query_log_max_len\", \"4096\"), (\"innodb_ft_server_stopword_table\", \"\"), (\"tidb_gc_life_time\", \"10m0s\"), (\"slave_checkpoint_period\", \"300\"), (\"innodb_buffer_pool_load_abort\", \"OFF\"), (\"ndb_join_pushdown\", \"\"), (\"innodb_sync_spin_loops\", \"30\"), (\"optimizer_trace_limit\", \"1\"), (\"query_cache_wlock_invalidate\", \"OFF\"), (\"tidb_opt_disk_factor\", \"1.5\"), (\"log_warnings\", \"1\"), (\"gtid_executed_compression_period\", \"\"), (\"tidb_capture_plan_baselines\", \"OFF\"), (\"innodb_max_purge_lag_delay\", \"0\"), (\"ndb_distribution\", \"\"), (\"innodb_old_blocks_pct\", \"37\"), (\"master_verify_checksum\", \"OFF\"), (\"sync_master_info\", \"10000\"), (\"tidb_enable_mutation_checker\", \"ON\"), (\"tidb_batch_pending_tiflash_count\", \"4000\"), (\"tidb_regard_null_as_point\", \"ON\"), (\"log_bin_trust_function_creators\", \"OFF\"), (\"innodb_adaptive_flushing\", \"ON\"), (\"tidb_opt_cpu_factor\", \"3\"), (\"tidb_enable_column_tracking\", \"OFF\"), (\"innodb_adaptive_max_sleep_delay\", \"150000\"), (\"innodb_ft_num_word_optimize\", \"2000\"), (\"tidb_sysproc_scan_concurrency\", \"1\"), (\"tidb_opt_seek_factor\", \"20\"), (\"tx_read_only\", \"OFF\"), (\"tidb_max_auto_analyze_time\", \"43200\"), (\"rpl_semi_sync_master_enabled\", \"OFF\"), (\"tidb_track_aggregate_memory_usage\", \"ON\"), (\"tidb_allow_fallback_to_tikv\", \"\"), (\"tidb_ttl_job_schedule_window_end_time\", \"23:59 +0000\"), (\"bulk_insert_buffer_size\", \"8388608\"), (\"rpl_semi_sync_master_timeout\", \"10000\"), (\"tidb_enable_index_merge\", \"ON\"), (\"show_compatibility_56\", \"\"), (\"tidb_prepared_plan_cache_memory_guard_ratio\", \"0.1\"), (\"tidb_enable_ordered_result_mode\", \"OFF\"), (\"tidb_enable_outer_join_reorder\", \"ON\"), (\"tidb_rc_write_check_ts\", \"OFF\"), (\"tidb_index_lookup_size\", \"20000\"), (\"tidb_source_id\", \"1\"), (\"innodb_log_checksum_algorithm\", \"\"), (\"tidb_index_join_batch_size\", \"25000\"), (\"tidb_opt_enable_hash_join\", \"ON\"), (\"innodb_stats_transient_sample_pages\", \"8\"), (\"foreign_key_checks\", \"OFF\"), (\"innodb_ft_result_cache_limit\", \"2000000000\"), (\"tidb_enable_1pc\", \"OFF\"), (\"ndb_blob_write_batch_bytes\", \"\"), (\"sql_auto_is_null\", \"OFF\"), (\"autocommit\", \"ON\"), (\"tidb_merge_join_concurrency\", \"1\"), (\"tidb_analyze_partition_concurrency\", \"1\"), (\"tidb_enable_paging\", \"ON\"), (\"tidb_gc_concurrency\", \"-1\"), (\"slave_max_allowed_packet\", \"1073741824\"), (\"ndb_index_stat_option\", \"\"), (\"slave_tran(len:21519);"] [2024/05/06 16:38:35.392 +08:00] [INFO] [bootstrap.go:529] ["bootstrap successful"] ["take time"=14.673976922s] [2024/05/06 16:38:35.393 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:38:35.394 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 187, tp add index"] ["take time"=31.778µs] [2024/05/06 16:38:35.394 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 188, tp add index"] ["take time"=28.709µs] [2024/05/06 16:38:35.394 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 189, tp add index"] ["take time"=18.518µs] [2024/05/06 16:38:35.394 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 190, tp add index"] ["take time"=18.083µs] [2024/05/06 16:38:35.394 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 191, tp add index"] ["take time"=17.05µs] [2024/05/06 16:38:35.394 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 192, tp add index"] ["take time"=16.888µs] [2024/05/06 16:38:35.394 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 193, tp add index"] ["take time"=18.391µs] [2024/05/06 16:38:35.394 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 194, tp add index"] ["take time"=18.309µs] [2024/05/06 16:38:35.394 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 195, tp add index"] ["take time"=16.632µs] [2024/05/06 16:38:35.394 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 186, tp add index"] ["take time"=19.234µs] [2024/05/06 16:38:35.394 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:38:35.394 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 185, tp general"] ["take time"=17.624µs] [2024/05/06 16:38:35.394 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 183, tp general"] ["take time"=5.977µs] [2024/05/06 16:38:35.395 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 184, tp add index"] ["take time"=2.216µs] [2024/05/06 16:38:35.395 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:38:35.395 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:38:35.401 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=1d38a530-8f2f-4b13-8aa6-3d31ec6487bf] ["take time"=7.820921ms] [2024/05/06 16:38:35.401 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=1d38a530-8f2f-4b13-8aa6-3d31ec6487bf] [2024/05/06 16:38:35.401 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:38:35.401 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:38:35.401 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:38:35.401 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:38:35.401 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:38:35.401 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:38:35.402 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=8.266407ms] [2024/05/06 16:38:35.402 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=de102d69-b237-49d0-8d6e-373c09aa9797] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 16:38:35.493 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=39] ["start time"=89.827486ms] [2024/05/06 16:38:35.498 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:38:35.498 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=5571bafb-ff41-4a9d-be67-0e81f207d098] [runWorker=true] [2024/05/06 16:38:35.498 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:38:35.499 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:38:35.499 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 196, tp general"] [2024/05/06 16:38:35.499 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 197, tp add index"] [2024/05/06 16:38:35.501 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:38:35.502 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:38:35.502 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:38:35.502 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:38:35.526 +08:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 16:38:35.682 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=98] [schemaVersion=39] [cur_db=test] [sql="drop table if exists t1"] [user=] [2024/05/06 16:38:35.683 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=98] [schemaVersion=39] [cur_db=test] [sql="drop table if exists t2"] [user=] [2024/05/06 16:38:35.685 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=98] [schemaVersion=39] [cur_db=test] [sql="drop table if exists t3"] [user=] [2024/05/06 16:38:35.687 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=98] [schemaVersion=39] [cur_db=test] [sql="create table t1(id int, v int, v2 int, primary key (id), unique key uk (v))"] [user=] [2024/05/06 16:38:35.715 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:35.695 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t1(id int, v int, v2 int, primary key (id), unique key uk (v))"] [2024/05/06 16:38:35.715 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:35.695 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:36.543 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 198, tp general"] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:35.695 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:36.589 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=1.076148ms] [phyTblIDs="[80]"] [actionTypes="[8]"] [2024/05/06 16:38:36.603 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=81] [version=40] [2024/05/06 16:38:36.604 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=40] ["take time"=16.492061ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:35.695 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:36.664 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 198, tp general"] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:35.695 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:36.696 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=81] [2024/05/06 16:38:36.696 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:36.697 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Conn_ID: 98\n# Query_time: 1.01175857\n# Parse_time: 0.000946171\n# Compile_time: 0.000683973\n# Rewrite_time: 0.000010878\n# Optimize_time: 0.000299287\n# Wait_TS: 0.000035722\n# DB: test\n# Is_internal: false\n# Digest: 4ab04afad6e634263e7785cdc42be3e9d31166c0412ae3fddb4d15c5c812bd4c\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\ncreate table t1(id int, v int, v2 int, primary key (id), unique key uk (v));"] [2024/05/06 16:38:36.700 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=98] [schemaVersion=40] [cur_db=test] [sql="create table t2(id int, v int, unique key i1(v))"] [user=] [2024/05/06 16:38:36.730 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:36.708 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:36.730 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:36.708 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t2(id int, v int, unique key i1(v))"] [2024/05/06 16:38:36.778 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 198, tp general"] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:36.708 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:36.829 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=1.039264ms] [phyTblIDs="[82]"] [actionTypes="[8]"] [2024/05/06 16:38:36.853 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=83] [version=41] [2024/05/06 16:38:36.855 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=41] ["take time"=27.02719ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:36.708 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:36.885 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 198, tp general"] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:36.708 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:36.914 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=83] [2024/05/06 16:38:36.914 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:36.917 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=98] [schemaVersion=41] [cur_db=test] [sql="create table t3(id int, v int, key i1(v))"] [user=] [2024/05/06 16:38:36.947 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:36.927 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:36.947 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:36.927 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t3(id int, v int, key i1(v))"] [2024/05/06 16:38:36.996 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 198, tp general"] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:36.927 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:37.036 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=1.047104ms] [phyTblIDs="[84]"] [actionTypes="[8]"] [2024/05/06 16:38:37.052 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=42] [2024/05/06 16:38:37.054 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=42] ["take time"=20.336773ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:36.927 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:37.082 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 198, tp general"] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:36.927 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:37.109 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=85] [2024/05/06 16:38:37.109 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:37.130 +08:00] [WARN] [2pc.go:1900] ["schemaLeaseChecker is not set for this transaction"] [sessionID=98] [startTS=449572953687064576] [checkTS=449572953687326720] [2024/05/06 16:38:37.134 +08:00] [WARN] [2pc.go:1900] ["schemaLeaseChecker is not set for this transaction"] [sessionID=98] [startTS=449572953688113152] [checkTS=449572953688375296] [2024/05/06 16:38:37.505 +08:00] [INFO] [info.go:1114] [SetTiFlashGroupConfig] [2024/05/06 16:38:38.388 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:38:38.389 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 200, tp add index"] ["take time"=18.069µs] [2024/05/06 16:38:38.389 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 201, tp add index"] ["take time"=13.102µs] [2024/05/06 16:38:38.389 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 202, tp add index"] ["take time"=26.217µs] [2024/05/06 16:38:38.389 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 203, tp add index"] ["take time"=18.592µs] [2024/05/06 16:38:38.389 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 204, tp add index"] ["take time"=18.76µs] [2024/05/06 16:38:38.389 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 205, tp add index"] ["take time"=18.304µs] [2024/05/06 16:38:38.389 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 206, tp add index"] ["take time"=19.128µs] [2024/05/06 16:38:38.389 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 207, tp add index"] ["take time"=16.486µs] [2024/05/06 16:38:38.389 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 208, tp add index"] ["take time"=15.498µs] [2024/05/06 16:38:38.389 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 199, tp add index"] ["take time"=18.391µs] [2024/05/06 16:38:38.390 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:38:38.390 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 198, tp general"] ["take time"=15.813µs] [2024/05/06 16:38:38.390 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 196, tp general"] ["take time"=5.396µs] [2024/05/06 16:38:38.390 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 197, tp add index"] ["take time"=1.765µs] [2024/05/06 16:38:38.390 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:38:38.390 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:38:38.392 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=5571bafb-ff41-4a9d-be67-0e81f207d098] ["take time"=3.229474ms] [2024/05/06 16:38:38.392 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=5571bafb-ff41-4a9d-be67-0e81f207d098] [2024/05/06 16:38:38.392 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:38:38.392 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:38:38.392 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:38:38.392 +08:00] [INFO] [domain.go:1525] ["globalBindHandleWorkerLoop exited."] [2024/05/06 16:38:38.392 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:38:38.392 +08:00] [INFO] [domain.go:1394] ["loadPrivilegeInLoop exited."] [2024/05/06 16:38:38.392 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:38:38.392 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:38:38.392 +08:00] [INFO] [domain.go:1748] ["dumpFileGcChecker exited."] [2024/05/06 16:38:38.392 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:38:38.392 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:38:38.392 +08:00] [INFO] [domain.go:1444] ["LoadSysVarCacheLoop exited."] [2024/05/06 16:38:38.392 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:38:38.392 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:38:38.392 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:38:38.392 +08:00] [INFO] [domain.go:1569] ["handleEvolvePlanTasksLoop exited."] [2024/05/06 16:38:38.396 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=7.280777ms] [2024/05/06 16:38:38.397 +08:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 16:38:38.397 +08:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 16:38:38.397 +08:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 16:38:38.397 +08:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 16:38:38.398 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 16:38:38.398 +08:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestTSOCmdCountForPrepareExecute (17.74s) === RUN TestEnterNewTxn [2024/05/06 16:38:38.412 +08:00] [INFO] [region_cache.go:2484] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 16:38:38.415 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:38:38.416 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:38:38.424 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:38:38.424 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:38:38.433 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:38:38.435 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=c722d3d4-4ca6-4e2c-ae77-b187a9a4329b] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 16:38:38.436 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).Init\n\tdomain/domain.go:1074\ngithub.com/pingcap/tidb/session.(*domainMap).Get.func1\n\tsession/tidb.go:90\ngithub.com/pingcap/tidb/util.RunWithRetry\n\tutil/misc.go:69\ngithub.com/pingcap/tidb/session.(*domainMap).Get\n\tsession/tidb.go:76\ngithub.com/pingcap/tidb/session.createSessionWithOpt\n\tsession/session.go:3520\ngithub.com/pingcap/tidb/session.createSession\n\tsession/session.go:3516\ngithub.com/pingcap/tidb/session.runInBootstrapSession\n\tsession/session.go:3480\ngithub.com/pingcap/tidb/session.BootstrapSession\n\tsession/session.go:3309\ngithub.com/pingcap/tidb/testkit.bootstrap\n\ttestkit/mockstore.go:84\ngithub.com/pingcap/tidb/testkit.CreateMockStoreAndDomain\n\ttestkit/mockstore.go:69\ngithub.com/pingcap/tidb/testkit.CreateMockStore\n\ttestkit/mockstore.go:61\nsessiontxn/sessiontxn_test_test.TestEnterNewTxn\n\tsessiontxn/txn_manager_test.go:40\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1446\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:38:38.457 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=20.08724ms] [2024/05/06 16:38:38.460 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:38:38.460 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=7385b195-57bc-4c52-b198-99b478be0fff] [runWorker=true] [2024/05/06 16:38:38.461 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:38:38.461 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:38:38.461 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 210, tp add index"] [2024/05/06 16:38:38.461 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 209, tp general"] [2024/05/06 16:38:38.461 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:38:38.462 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:38:38.462 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:38:38.462 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:38:38.466 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 16:38:38.487 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:38.476 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:38.487 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:38:38.476 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 16:38:38.713 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:38:38.963 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:38:39.213 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:38:39.462 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:38:39.508 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:38.476 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:39.554 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=24.9515ms] [2024/05/06 16:38:39.557 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:38:39.613 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:39.613 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=3] [version=1] [2024/05/06 16:38:39.615 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=86.209057ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:38:38.476 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:39.650 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:38.476 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:39.668 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=3] [2024/05/06 16:38:39.668 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:39.669 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.203072076\n# Parse_time: 0\n# Compile_time: 0.000432028\n# Rewrite_time: 0.00000754\n# Optimize_time: 0\n# Wait_TS: 0.000065149\n# DB: mysql\n# Is_internal: true\n# Digest: 0a22979ad136f741465cf206b13e5717b9758dda34f7cae5a7a925f91711d6a0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse mysql;\nCREATE DATABASE IF NOT EXISTS test;"] [2024/05/06 16:38:39.670 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 16:38:39.706 +08:00] [INFO] [session.go:3817] ["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 16:38:39.896 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:39.721 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:39.896 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:39.721 +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 16:38:39.941 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:39.721 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:40.291 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=9.595383ms] [phyTblIDs="[4]"] [actionTypes="[8]"] [2024/05/06 16:38:40.313 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:40.313 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=5] [version=2] [2024/05/06 16:38:40.314 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=32.651521ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:39.721 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:40.360 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:39.721 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:40.462 +08:00] [INFO] [info.go:1114] [SetTiFlashGroupConfig] [2024/05/06 16:38:40.561 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=5] [2024/05/06 16:38:40.561 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:40.563 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.872813692\n# Parse_time: 0\n# Compile_time: 0.016255197\n# Rewrite_time: 0.000016269\n# Optimize_time: 0\n# Wait_TS: 0.000083411\n# DB: mysql\n# Is_internal: true\n# Digest: 14c6b489558060bdbede877927034270db5af07c6621aa28f87eeaec8727e925\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.user ( Host CHAR(255), User CHAR(32), authentication_string TEXT, plugin CHAR(64), Select_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Insert_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Update_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Delete_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Process_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Grant_priv ENUM('N','Y') NOT NULL DEFAULT 'N', References_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_db_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Super_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Index_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_user_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Event_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_slave_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_client_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Trigger_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Account_locked ENUM('N','Y') NOT NULL DEFAULT 'N', Shutdown_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Reload_priv ENUM('N','Y') NOT NULL DEFAULT 'N', FILE_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Config_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N', Password_reuse_history smallint unsigned DEFAULT NULL, Password_reuse_time smallint unsigned DEFAULT NULL, User_attributes json, Token_issuer VARCHAR(255), Password_expired ENUM('N','Y') NOT NULL DEFAULT 'N', Password_last_changed TIMESTAMP DEFAULT CURRENT_TIMESTAMP(), Password_lifetime SMALLINT UNSIGNED DEFAULT NULL, PRIMARY KEY (Host, User));"] [2024/05/06 16:38:40.566 +08:00] [INFO] [session.go:3817] ["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 16:38:40.602 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:40.576 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:40.602 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:40.576 +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 16:38:40.647 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:40.576 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:40.698 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=1.440125ms] [phyTblIDs="[6]"] [actionTypes="[8]"] [2024/05/06 16:38:40.712 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:40.713 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=7] [version=3] [2024/05/06 16:38:40.715 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=18.226685ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:40.576 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:40.752 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:40.576 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:40.808 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=7] [2024/05/06 16:38:40.808 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:40.812 +08:00] [INFO] [session.go:3817] ["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 16:38:40.856 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:40.822 +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 16:38:40.856 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:40.822 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:40.915 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:40.822 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:40.974 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=1.574383ms] [phyTblIDs="[8]"] [actionTypes="[8]"] [2024/05/06 16:38:41.013 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:41.013 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=9] [version=4] [2024/05/06 16:38:41.015 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=44.861836ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:40.822 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:41.053 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:40.822 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:41.090 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=9] [2024/05/06 16:38:41.090 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:41.108 +08:00] [INFO] [session.go:3817] ["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),\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 16:38:41.197 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:41.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:41.197 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:41.119 +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),\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 16:38:41.246 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:41.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:41.458 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=3.802762ms] [phyTblIDs="[10]"] [actionTypes="[8]"] [2024/05/06 16:38:41.512 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:41.512 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=11] [version=5] [2024/05/06 16:38:41.515 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=60.878094ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:41.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:41.554 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:41.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:41.648 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=11] [2024/05/06 16:38:41.648 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:41.649 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.548251284\n# Parse_time: 0\n# Compile_time: 0.00690275\n# Rewrite_time: 0.000012319\n# Optimize_time: 0\n# Wait_TS: 0.000074231\n# DB: mysql\n# Is_internal: true\n# Digest: aeaf612801484f0311f850d36f60f29e6d904828682c1f3bb7307dff25ca3a15\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.db ( Host CHAR(255), DB CHAR(64), User CHAR(32), Select_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Insert_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Update_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Delete_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Grant_priv ENUM('N','Y') NOT NULL DEFAULT 'N', References_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Index_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Event_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Trigger_priv ENUM('N','Y') NOT NULL DEFAULT 'N', PRIMARY KEY (Host, DB, User));"] [2024/05/06 16:38:41.654 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:38:41.703 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:41.664 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:41.703 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:41.664 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:38:41.765 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:41.664 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:41.852 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=1.946517ms] [phyTblIDs="[12]"] [actionTypes="[8]"] [2024/05/06 16:38:41.863 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:41.863 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=13] [version=6] [2024/05/06 16:38:41.865 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=16.4768ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:41.664 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:41.899 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:41.664 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:41.955 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=13] [2024/05/06 16:38:41.955 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:41.956 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.304074506\n# Parse_time: 0\n# Compile_time: 0.00199588\n# Rewrite_time: 0.000008354\n# Optimize_time: 0\n# Wait_TS: 0.0000529\n# DB: mysql\n# Is_internal: true\n# Digest: e8b37dad6cc7f05ee1f0be61455667495826928a93ddd09b94e02fbaed113955\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tables_priv ( Host CHAR(255), DB CHAR(64), User CHAR(32), Table_name CHAR(64), Grantor CHAR(77), Timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, Table_priv SET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'), Column_priv SET('Select','Insert','Update','References'), PRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 16:38:41.961 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:38:42.009 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:41.97 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:42.009 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:41.97 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:38:42.052 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:41.97 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:42.136 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=2.677798ms] [phyTblIDs="[14]"] [actionTypes="[8]"] [2024/05/06 16:38:42.162 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:42.163 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=15] [version=7] [2024/05/06 16:38:42.165 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=32.463909ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:41.97 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:42.204 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:41.97 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:42.261 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=15] [2024/05/06 16:38:42.261 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:42.262 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.302762954\n# Parse_time: 0\n# Compile_time: 0.001628827\n# Rewrite_time: 0.00000786\n# Optimize_time: 0\n# Wait_TS: 0.00006836\n# DB: mysql\n# Is_internal: true\n# Digest: a19edbb3caff8cc57619278ab6eb5f791d7a821432309abe7184d0a7bca66b4d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.columns_priv( Host CHAR(255), DB CHAR(64), User CHAR(32), Table_name CHAR(64), Column_name CHAR(64), Timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, Column_priv SET('Select','Insert','Update','References'), PRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 16:38:42.266 +08:00] [INFO] [session.go:3817] ["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(1024) DEFAULT NULL);"] [user=] [2024/05/06 16:38:42.300 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:42.275 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:42.300 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:42.275 +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(1024) DEFAULT NULL);"] [2024/05/06 16:38:42.350 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:42.275 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:42.390 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=1.475991ms] [phyTblIDs="[16]"] [actionTypes="[8]"] [2024/05/06 16:38:42.412 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:42.412 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=17] [version=8] [2024/05/06 16:38:42.414 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=26.600615ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:42.275 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:42.452 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:42.275 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:42.490 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=17] [2024/05/06 16:38:42.490 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:42.496 +08:00] [INFO] [session.go:3817] ["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 16:38:42.541 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:42.507 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:42.541 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:42.507 +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 16:38:42.582 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:42.507 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:42.651 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=1.665935ms] [phyTblIDs="[18]"] [actionTypes="[8]"] [2024/05/06 16:38:42.662 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:42.662 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=19] [version=9] [2024/05/06 16:38:42.663 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=14.608191ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:42.507 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:42.698 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:42.507 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:42.737 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=19] [2024/05/06 16:38:42.737 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:42.747 +08:00] [INFO] [session.go:3817] ["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 16:38:42.798 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:42.758 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:42.798 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:42.758 +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 16:38:42.843 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:42.758 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:42.911 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=1.451078ms] [phyTblIDs="[20]"] [actionTypes="[8]"] [2024/05/06 16:38:42.963 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:42.963 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=21] [version=10] [2024/05/06 16:38:42.965 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=56.208429ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:42.758 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:43.000 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:42.758 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:43.054 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=21] [2024/05/06 16:38:43.054 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:43.055 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.310923986\n# Parse_time: 0\n# Compile_time: 0.003131772\n# Rewrite_time: 0.00002377\n# Optimize_time: 0\n# Wait_TS: 0.000095677\n# DB: mysql\n# Is_internal: true\n# Digest: ca851971407336dad93908a9f88f01d828a4e18f332111987f4a7675bced7ea4\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.help_topic ( help_topic_id INT(10) UNSIGNED NOT NULL, name CHAR(64) NOT NULL, help_category_id SMALLINT(5) UNSIGNED NOT NULL, description TEXT NOT NULL, example TEXT NOT NULL, url TEXT NOT NULL, PRIMARY KEY (help_topic_id) clustered, UNIQUE KEY name (name) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 16:38:43.061 +08:00] [INFO] [session.go:3817] ["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 16:38:43.105 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:43.072 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:43.105 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:43.072 +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 16:38:43.152 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:43.072 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:43.211 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=1.471038ms] [phyTblIDs="[22]"] [actionTypes="[8]"] [2024/05/06 16:38:43.262 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:43.262 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=23] [version=11] [2024/05/06 16:38:43.263 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=54.270566ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:43.072 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:43.296 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:43.072 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:43.353 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=23] [2024/05/06 16:38:43.353 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:43.363 +08:00] [INFO] [session.go:3817] ["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 16:38:43.364 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [2024/05/06 16:38:43.425 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:43.372 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:43.425 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:43.372 +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 16:38:43.476 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:43.372 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:43.626 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=2.594613ms] [phyTblIDs="[24]"] [actionTypes="[8]"] [2024/05/06 16:38:43.663 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:43.663 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=25] [version=12] [2024/05/06 16:38:43.665 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=42.552812ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:43.372 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:43.695 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:43.372 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:43.768 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=25] [2024/05/06 16:38:43.768 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:43.769 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.409254739\n# Parse_time: 0\n# Compile_time: 0.002804257\n# Rewrite_time: 0.000008133\n# Optimize_time: 0\n# Wait_TS: 0.000049345\n# DB: mysql\n# Is_internal: true\n# Digest: 7780c45a0aac5f123ac85a7e601e79c5d7779e7c09a19953908e547605ed45d2\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_histograms ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, distinct_count BIGINT(64) NOT NULL, null_count BIGINT(64) NOT NULL DEFAULT 0, tot_col_size BIGINT(64) NOT NULL DEFAULT 0, modify_count BIGINT(64) NOT NULL DEFAULT 0, version BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, cm_sketch BLOB(6291456), stats_ver BIGINT(64) NOT NULL DEFAULT 0, flag BIGINT(64) NOT NULL DEFAULT 0, correlation DOUBLE NOT NULL DEFAULT 0, last_analyze_pos LONGBLOB DEFAULT NULL, UNIQUE INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:38:43.777 +08:00] [INFO] [session.go:3817] ["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 16:38:43.849 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:43.788 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:43.849 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:43.788 +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 16:38:43.897 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:43.788 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:43.992 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=2.003907ms] [phyTblIDs="[26]"] [actionTypes="[8]"] [2024/05/06 16:38:44.012 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:44.012 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=27] [version=13] [2024/05/06 16:38:44.014 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=24.168792ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:43.788 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:44.053 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:43.788 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:44.115 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=27] [2024/05/06 16:38:44.115 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:44.116 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.342878446\n# Parse_time: 0\n# Compile_time: 0.003230882\n# Rewrite_time: 0.000010515\n# Optimize_time: 0\n# Wait_TS: 0.000059575\n# DB: mysql\n# Is_internal: true\n# Digest: 5615b5212342304015b027afb253371dae02f19e53871cfbb034deb145dfce32\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_buckets ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, bucket_id BIGINT(64) NOT NULL, count BIGINT(64) NOT NULL, repeats BIGINT(64) NOT NULL, upper_bound LONGBLOB NOT NULL, lower_bound LONGBLOB , ndv BIGINT NOT NULL DEFAULT 0, UNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id) );"] [2024/05/06 16:38:44.121 +08:00] [INFO] [session.go:3817] ["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 16:38:44.167 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:44.132 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:44.167 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:44.132 +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 16:38:44.206 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:44.132 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:44.292 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=1.441642ms] [phyTblIDs="[28]"] [actionTypes="[8]"] [2024/05/06 16:38:44.313 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:44.313 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=29] [version=14] [2024/05/06 16:38:44.315 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=24.753655ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:44.132 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:44.351 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:44.132 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:44.392 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=29] [2024/05/06 16:38:44.393 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:44.398 +08:00] [INFO] [session.go:3817] ["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 16:38:44.446 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:44.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:44.446 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:44.406 +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 16:38:44.513 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:44.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:44.588 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=1.432793ms] [phyTblIDs="[30]"] [actionTypes="[8]"] [2024/05/06 16:38:44.612 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:44.612 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=31] [version=15] [2024/05/06 16:38:44.612 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=26.191852ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:44.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:44.651 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:44.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:44.703 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=31] [2024/05/06 16:38:44.703 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:44.704 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.308451981\n# Parse_time: 0\n# Compile_time: 0.001805165\n# Rewrite_time: 0.000014863\n# Optimize_time: 0\n# Wait_TS: 0.000058565\n# DB: mysql\n# Is_internal: true\n# Digest: 532cf71b38f2568975d61180716af7e2b05c9ca11023688224ed0c0eece42fa9\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done ( job_id BIGINT NOT NULL COMMENT \"the DDL job ID\", element_id BIGINT NOT NULL COMMENT \"the schema element ID\", start_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", end_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", ts BIGINT NOT NULL COMMENT \"timestamp in uint64\", UNIQUE KEY delete_range_done_index (job_id, element_id) );"] [2024/05/06 16:38:44.707 +08:00] [INFO] [session.go:3817] ["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 16:38:44.748 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:44.715 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:44.748 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:44.715 +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 16:38:44.791 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:44.715 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:44.849 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=2.056854ms] [phyTblIDs="[32]"] [actionTypes="[8]"] [2024/05/06 16:38:44.862 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:44.862 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=33] [version=16] [2024/05/06 16:38:44.864 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=18.465162ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:44.715 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:44.904 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:44.715 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:44.947 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=33] [2024/05/06 16:38:44.947 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:44.955 +08:00] [INFO] [session.go:3817] ["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 16:38:45.002 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:44.963 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:45.002 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:44.963 +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 16:38:45.049 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:44.963 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:45.105 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=2.255856ms] [phyTblIDs="[34]"] [actionTypes="[8]"] [2024/05/06 16:38:45.162 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:45.163 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=35] [version=17] [2024/05/06 16:38:45.165 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=62.313242ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:44.963 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:45.199 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:44.963 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:45.251 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=35] [2024/05/06 16:38:45.251 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:45.256 +08:00] [INFO] [session.go:3817] ["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 16:38:45.292 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:45.264 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:45.292 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:45.264 +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 16:38:45.342 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:45.264 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:45.434 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=3.162398ms] [phyTblIDs="[36]"] [actionTypes="[8]"] [2024/05/06 16:38:45.462 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:45.462 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=37] [version=18] [2024/05/06 16:38:45.465 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=34.961077ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:45.264 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:45.551 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:45.264 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:45.601 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=37] [2024/05/06 16:38:45.601 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:45.602 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.347691334\n# Parse_time: 0\n# Compile_time: 0.001784401\n# Rewrite_time: 0.000011108\n# Optimize_time: 0\n# Wait_TS: 0.000057073\n# DB: mysql\n# Is_internal: true\n# Digest: 9e6b544fb0287e9d8a74031560ed0cd6a5b4e54db073b893a68a76b05d929781\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.default_roles ( HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', DEFAULT_ROLE_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%', DEFAULT_ROLE_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', PRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER) );"] [2024/05/06 16:38:45.610 +08:00] [INFO] [session.go:3817] ["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 16:38:45.676 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:45.62 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:45.676 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:45.62 +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 16:38:45.716 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:45.62 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:45.840 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=3.528082ms] [phyTblIDs="[38]"] [actionTypes="[8]"] [2024/05/06 16:38:45.862 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:45.862 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=39] [version=19] [2024/05/06 16:38:45.864 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=28.925276ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:45.62 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:45.902 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:45.62 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:45.985 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=39] [2024/05/06 16:38:45.985 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:45.986 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.378558691\n# Parse_time: 0\n# Compile_time: 0.002886542\n# Rewrite_time: 0.000009676\n# Optimize_time: 0\n# Wait_TS: 0.000058656\n# DB: mysql\n# Is_internal: true\n# Digest: 0a4bc55a9ab72ef62ddaa1ee6472d7872306066fd783a8bb67047a497fbb4dbe\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.bind_info ( original_sql TEXT NOT NULL, bind_sql TEXT NOT NULL, default_db TEXT NOT NULL, status TEXT NOT NULL, create_time TIMESTAMP(3) NOT NULL, update_time TIMESTAMP(3) NOT NULL, charset TEXT NOT NULL, collation TEXT NOT NULL, source VARCHAR(10) NOT NULL DEFAULT 'unknown', sql_digest varchar(64), plan_digest varchar(64), INDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\", INDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\" ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 16:38:46.001 +08:00] [INFO] [session.go:3817] ["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 16:38:46.046 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:46.01 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:46.046 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:46.01 +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 16:38:46.084 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:46.01 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:46.165 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=2.211069ms] [phyTblIDs="[40]"] [actionTypes="[8]"] [2024/05/06 16:38:46.213 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:46.213 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=41] [version=20] [2024/05/06 16:38:46.215 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=52.846584ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:46.01 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:46.256 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:46.01 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:46.296 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=41] [2024/05/06 16:38:46.296 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:46.300 +08:00] [INFO] [session.go:3817] ["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 16:38:46.340 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:46.309 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:46.340 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:46.309 +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 16:38:46.407 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:46.309 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:46.460 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=1.857885ms] [phyTblIDs="[42]"] [actionTypes="[8]"] [2024/05/06 16:38:46.513 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:46.513 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=43] [version=21] [2024/05/06 16:38:46.514 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=56.072894ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:46.309 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:46.552 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:46.309 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:46.587 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=43] [2024/05/06 16:38:46.587 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:46.590 +08:00] [INFO] [session.go:3817] ["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 16:38:46.619 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:46.601 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:46.619 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:46.601 +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 16:38:46.675 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:46.601 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:46.707 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=876.366µs] [phyTblIDs="[44]"] [actionTypes="[8]"] [2024/05/06 16:38:46.762 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:46.762 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=45] [version=22] [2024/05/06 16:38:46.764 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=58.365913ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:46.601 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:46.799 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:46.601 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:46.832 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=45] [2024/05/06 16:38:46.832 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:46.842 +08:00] [INFO] [session.go:3817] ["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 16:38:46.906 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:46.85 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:46.906 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:46.85 +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 16:38:46.954 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:46.85 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:47.052 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=2.244635ms] [phyTblIDs="[46]"] [actionTypes="[8]"] [2024/05/06 16:38:47.062 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:47.062 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=47] [version=23] [2024/05/06 16:38:47.064 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=14.937282ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:46.85 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:47.097 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:46.85 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:47.153 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=47] [2024/05/06 16:38:47.153 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:47.154 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.313523391\n# Parse_time: 0\n# Compile_time: 0.001915593\n# Rewrite_time: 0.00000822\n# Optimize_time: 0\n# Wait_TS: 0.000059991\n# DB: mysql\n# Is_internal: true\n# Digest: bd2a0d9809689d30e22f8d82b29b4ee110d16cda3353b77d74a1938afb746386\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_extended ( name varchar(32) NOT NULL, type tinyint(4) NOT NULL, table_id bigint(64) NOT NULL, column_ids varchar(32) NOT NULL, stats blob DEFAULT NULL, version bigint(64) unsigned NOT NULL, status tinyint(4) NOT NULL, PRIMARY KEY(name, table_id), KEY idx_1 (table_id, status, version), KEY idx_2 (status, version) );"] [2024/05/06 16:38:47.156 +08:00] [INFO] [session.go:3817] ["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 16:38:47.200 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:47.164 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:47.200 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:47.164 +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 16:38:47.246 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:47.164 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:47.334 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=2.328693ms] [phyTblIDs="[48]"] [actionTypes="[8]"] [2024/05/06 16:38:47.362 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:47.362 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=49] [version=24] [2024/05/06 16:38:47.363 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=32.127844ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:47.164 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:47.412 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:47.164 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:47.463 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=49] [2024/05/06 16:38:47.463 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:47.464 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.308935102\n# Parse_time: 0\n# Compile_time: 0.001223278\n# Rewrite_time: 0.000009042\n# Optimize_time: 0\n# Wait_TS: 0.00007298\n# DB: mysql\n# Is_internal: true\n# Digest: f72fffa4e6072164db3e01e2e29568b0b93c5045737047be527343b1737b0882\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.schema_index_usage ( TABLE_ID bigint(64), INDEX_ID bigint(21), QUERY_COUNT bigint(64), ROWS_SELECTED bigint(64), LAST_USED_AT timestamp, PRIMARY KEY(TABLE_ID, INDEX_ID) );"] [2024/05/06 16:38:47.469 +08:00] [INFO] [session.go:3817] ["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 16:38:47.512 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:47.477 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:47.512 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:47.477 +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 16:38:47.553 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:47.477 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:47.637 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=2.207135ms] [phyTblIDs="[50]"] [actionTypes="[8]"] [2024/05/06 16:38:47.663 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:47.663 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=51] [version=25] [2024/05/06 16:38:47.664 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=30.237711ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:47.477 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:47.702 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:47.477 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:47.748 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=51] [2024/05/06 16:38:47.748 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:47.753 +08:00] [INFO] [session.go:3817] ["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 16:38:47.793 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:47.761 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:47.793 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:47.761 +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 16:38:47.842 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:47.761 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:47.894 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=1.357558ms] [phyTblIDs="[52]"] [actionTypes="[8]"] [2024/05/06 16:38:47.912 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:47.912 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=53] [version=26] [2024/05/06 16:38:47.913 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=20.750349ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:47.761 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:47.951 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:47.761 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:47.990 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=53] [2024/05/06 16:38:47.990 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:47.994 +08:00] [INFO] [session.go:3817] ["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 16:38:48.034 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:48.001 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:48.035 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:48.001 +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 16:38:48.075 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:48.001 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:48.143 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=1.827743ms] [phyTblIDs="[54]"] [actionTypes="[8]"] [2024/05/06 16:38:48.163 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:48.163 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=55] [version=27] [2024/05/06 16:38:48.165 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=24.758979ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:48.001 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:48.199 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:48.001 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:48.250 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=55] [2024/05/06 16:38:48.250 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:48.256 +08:00] [INFO] [session.go:3817] ["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 16:38:48.323 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:48.266 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:48.323 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:48.266 +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 16:38:48.371 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:48.266 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:48.429 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=1.753886ms] [phyTblIDs="[56]"] [actionTypes="[8]"] [2024/05/06 16:38:48.462 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:48.462 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=57] [version=28] [2024/05/06 16:38:48.464 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=38.138223ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:48.266 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:48.532 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:48.266 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:48.580 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=57] [2024/05/06 16:38:48.580 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:48.582 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.327788142\n# Parse_time: 0\n# Compile_time: 0.001959483\n# Rewrite_time: 0.000011138\n# Optimize_time: 0\n# Wait_TS: 0.000079156\n# DB: mysql\n# Is_internal: true\n# Digest: 3a5634ff31bd7d32849c5404b7ffc419c7a7074307b815e5369eb6ca363cbcd0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.column_stats_usage ( table_id BIGINT(64) NOT NULL, column_id BIGINT(64) NOT NULL, last_used_at TIMESTAMP, last_analyzed_at TIMESTAMP, PRIMARY KEY (table_id, column_id) CLUSTERED );"] [2024/05/06 16:38:48.586 +08:00] [INFO] [session.go:3817] ["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 16:38:48.619 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:48.594 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:48.619 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:48.594 +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 16:38:48.667 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:48.594 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:48.724 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=1.212194ms] [phyTblIDs="[58]"] [actionTypes="[8]"] [2024/05/06 16:38:48.763 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:48.763 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=59] [version=29] [2024/05/06 16:38:48.765 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=44.81529ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:48.594 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:48.800 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:48.594 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:48.845 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=59] [2024/05/06 16:38:48.845 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:48.853 +08:00] [INFO] [session.go:3817] ["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 16:38:48.854 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [2024/05/06 16:38:48.905 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:48.865 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:48.905 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:48.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 16:38:48.949 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:48.865 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:49.022 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=1.551533ms] [phyTblIDs="[60]"] [actionTypes="[8]"] [2024/05/06 16:38:49.063 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:49.063 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=61] [version=30] [2024/05/06 16:38:49.064 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=44.574242ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:48.865 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:49.094 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:48.865 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:49.145 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=61] [2024/05/06 16:38:49.145 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:49.154 +08:00] [INFO] [session.go:3817] ["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\t);"] [user=] [2024/05/06 16:38:49.210 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:49.164 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:49.210 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:49.164 +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\t);"] [2024/05/06 16:38:49.256 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:49.164 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:49.354 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=1.75787ms] [phyTblIDs="[62]"] [actionTypes="[8]"] [2024/05/06 16:38:49.413 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:49.413 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=63] [version=31] [2024/05/06 16:38:49.414 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=62.63364ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:49.164 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:49.451 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:49.164 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:49.502 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=63] [2024/05/06 16:38:49.502 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:49.504 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.353537309\n# Parse_time: 0\n# Compile_time: 0.003509114\n# Rewrite_time: 0.000010713\n# Optimize_time: 0\n# Wait_TS: 0.000057082\n# DB: mysql\n# Is_internal: true\n# Digest: 11757f6de6b3d2a64e92f14cd7b7f739729563ede3b0139d016148eba0b27ebf\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_history ( table_id bigint(64) NOT NULL, stats_data longblob NOT NULL, seq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice', version bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN', create_time datetime(6) NOT NULL, UNIQUE KEY table_version_seq (table_id, version, seq_no), KEY table_create_time (table_id, create_time, seq_no) );"] [2024/05/06 16:38:49.510 +08:00] [INFO] [session.go:3817] ["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\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\t);"] [user=] [2024/05/06 16:38:49.562 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:49.522 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:49.562 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:49.522 +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\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\t);"] [2024/05/06 16:38:49.597 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:49.522 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:49.675 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=2.444281ms] [phyTblIDs="[64]"] [actionTypes="[8]"] [2024/05/06 16:38:49.713 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:49.713 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=65] [version=32] [2024/05/06 16:38:49.714 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=42.108159ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:49.522 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:49.754 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:49.522 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:49.796 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=65] [2024/05/06 16:38:49.796 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:49.806 +08:00] [INFO] [session.go:3817] ["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 16:38:49.879 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:49.817 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:49.879 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:49.817 +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 16:38:49.918 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:49.817 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:50.017 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=2.560112ms] [phyTblIDs="[66]"] [actionTypes="[8]"] [2024/05/06 16:38:50.062 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:50.063 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=67] [version=33] [2024/05/06 16:38:50.065 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=50.447482ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:49.817 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:50.100 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:49.817 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:50.185 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=67] [2024/05/06 16:38:50.186 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:50.187 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.384583873\n# Parse_time: 0\n# Compile_time: 0.003060014\n# Rewrite_time: 0.000009128\n# Optimize_time: 0\n# Wait_TS: 0.000071248\n# DB: mysql\n# Is_internal: true\n# Digest: bfb9a3ff60c3c60c054a207c0a0db06c87e29edbe94005d8d5c89fe484f4f90a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.analyze_jobs ( id BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT, update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, table_schema CHAR(64) NOT NULL DEFAULT '', table_name CHAR(64) NOT NULL DEFAULT '', partition_name CHAR(64) NOT NULL DEFAULT '', job_info TEXT NOT NULL, processed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, start_time TIMESTAMP, end_time TIMESTAMP, state ENUM('pending', 'running', 'finished', 'failed') NOT NULL, fail_reason TEXT, instance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job', process_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job', PRIMARY KEY (id), KEY (update_time) );"] [2024/05/06 16:38:50.190 +08:00] [INFO] [session.go:3817] ["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 16:38:50.226 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:50.2 +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 16:38:50.226 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:50.2 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:50.273 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:50.2 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:50.312 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=1.49573ms] [phyTblIDs="[68]"] [actionTypes="[8]"] [2024/05/06 16:38:50.363 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:50.363 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=69] [version=34] [2024/05/06 16:38:50.365 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=54.488423ms] [job="ID:69, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:50.2 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:50.396 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:69, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:50.2 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:50.426 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=69] [2024/05/06 16:38:50.426 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:50.490 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:50.447 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:50.490 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:50.447 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] [2024/05/06 16:38:50.561 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:50.447 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:50.630 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=2.530068ms] [phyTblIDs="[70]"] [actionTypes="[2097152]"] [2024/05/06 16:38:50.662 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:50.662 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=71] [version=35] [2024/05/06 16:38:50.663 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=36.454805ms] [job="ID:71, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:38:50.447 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:50.694 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:71, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:50.447 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:50.747 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=71] [2024/05/06 16:38:50.748 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:50.749 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.317021386\n# Parse_time: 0\n# Compile_time: 0.006555682\n# Rewrite_time: 0.003640191\n# Optimize_time: 0\n# Wait_TS: 0.000064285\n# DB: mysql\n# Is_internal: true\n# Digest: 812c81f344f5d0c8b8aedcb68ff1dca865b59104853273f7e66b8abff5429992\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE OR REPLACE VIEW mysql.tidb_mdl_view as ( select JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID );"] [2024/05/06 16:38:50.755 +08:00] [INFO] [session.go:3817] ["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 16:38:50.799 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:50.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:50.799 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:50.765 +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 16:38:50.843 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:50.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:50.921 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=1.747078ms] [phyTblIDs="[72]"] [actionTypes="[8]"] [2024/05/06 16:38:50.963 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:50.963 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=73] [version=36] [2024/05/06 16:38:50.965 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=46.226196ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:50.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:50.997 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:50.765 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:51.041 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=73] [2024/05/06 16:38:51.042 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:51.047 +08:00] [INFO] [session.go:3817] ["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 16:38:51.111 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:51.058 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:51.111 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:51.058 +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 16:38:51.160 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:51.058 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:51.224 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=1.240162ms] [phyTblIDs="[74]"] [actionTypes="[8]"] [2024/05/06 16:38:51.262 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:51.262 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=75] [version=37] [2024/05/06 16:38:51.263 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=48.31814ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:51.058 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:51.291 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:51.058 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:51.333 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=75] [2024/05/06 16:38:51.333 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:51.338 +08:00] [INFO] [session.go:3817] ["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 16:38:51.372 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:51.347 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:51.372 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:51.347 +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 16:38:51.413 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:51.347 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:51.477 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=1.36178ms] [phyTblIDs="[76]"] [actionTypes="[8]"] [2024/05/06 16:38:51.513 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:51.513 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=77] [version=38] [2024/05/06 16:38:51.513 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=38] ["take time"=38.182202ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:51.347 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:51.548 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:51.347 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:51.585 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=77] [2024/05/06 16:38:51.585 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:51.596 +08:00] [INFO] [session.go:3817] ["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 16:38:51.684 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:51.603 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:51.684 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:51.603 +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 16:38:51.731 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 211, tp general"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:51.603 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:51.866 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=2.488806ms] [phyTblIDs="[78]"] [actionTypes="[8]"] [2024/05/06 16:38:51.912 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:51.912 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=79] [version=39] [2024/05/06 16:38:51.914 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=39] ["take time"=50.818971ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:51.603 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:51.951 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 211, tp general"] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:51.603 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:52.079 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=79] [2024/05/06 16:38:52.080 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:52.081 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.488426091\n# Parse_time: 0\n# Compile_time: 0.002986196\n# Rewrite_time: 0.00000766\n# Optimize_time: 0\n# Wait_TS: 0.000050875\n# DB: mysql\n# Is_internal: true\n# Digest: a30bd3c3a49070c554e65922e84c6b76e646842e3925a859fcde73941a7cb423\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status ( table_id bigint(64) PRIMARY KEY, parent_table_id bigint(64), table_statistics text DEFAULT NULL, last_job_id varchar(64) DEFAULT NULL, last_job_start_time timestamp NULL DEFAULT NULL, last_job_finish_time timestamp NULL DEFAULT NULL, last_job_ttl_expire timestamp NULL DEFAULT NULL, last_job_summary text DEFAULT NULL, current_job_id varchar(64) DEFAULT NULL, current_job_owner_id varchar(64) DEFAULT NULL, current_job_owner_addr varchar(256) DEFAULT NULL, current_job_owner_hb_time timestamp, current_job_start_time timestamp NULL DEFAULT NULL, current_job_ttl_expire timestamp NULL DEFAULT NULL, current_job_state text DEFAULT NULL, current_job_status varchar(64) DEFAULT NULL, current_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 16:38:52.544 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572957607165952\n# Query_time: 0.311648715\n# Parse_time: 0\n# Compile_time: 0.143013542\n# Rewrite_time: 0.003635732\n# Optimize_time: 0\n# Wait_TS: 0.000081723\n# DB: mysql\n# Is_internal: true\n# Digest: ca2019e08a331284bd0c64be228a0537fcf9f5983e95d94b67ef42dcb8f54385\n# Num_cop_tasks: 0\n# Mem_max: 354227\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: true\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('pAPwPDAJMjdfMQkwCTAJTi9BCTAJdGltZToxNTUuNm1zLCBsb29wczoxLCBwcmVwYXJlOiB7dG90YWw6IDE5LjMBIkxhdXRvX2lkX2FsbG9jYXRvcjogewUMZF9jbnQ6IDEsIEdldDp7bnVtX3JwYzo0LCB0AUEAXwVouDI3MC4xwrVzfSwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjI1OC43wrVzLCBnZXRfESQYczo5Ljk2wgEXCRMUOjMxNi40BREcc2xvd2VzdF8RQwV2BCB7BXVoOiAwLjAwMHMsIHJlZ2lvbl9pZDogMiwgc3RvAdsFBwgxLCAZjhhwcmltYXJ51kQADWQYbnVtOjEsIAXQDF9rZXklTwkOmGJ5dGU6MzJ9fX0sIGluc2VydDoxMzYuMm1zCTk3LjkgS0IJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('sAPwgQqrAwoISW5zZXJ0XzE4AUABUgNOL0FaFXRpbWU6MTU1LjZtcywgbG9vcHM6MWLvAnByZXBhcmU6IHt0b3RhbDogMTkuM21zLCBhdXRvX2lkX2FsbG9jYXRvcjoge2FsbG9jX2NudDogMSwgR2V0OntudW1fcnBjOjQsIHRvdGFsX3QBabgyNzAuMcK1c30sIGNvbW1pdF90eG46IHtwcmV3cml0ZToyNTguN8K1cywgZ2V0XxEkGHM6OS45NsIBFwkTFDozMTYuNAURHHNsb3dlc3RfEUMMX3JwYxm2YDAuMDAwcywgcmVnaW9uX2lkOiAyLCBzdG8B2wUHCDEsIBmOGHByaW1hcnnWRAANZBhudW06MSwgBdAQX2tleXMZDqhieXRlOjMyfX19LCBpbnNlcnQ6MTM2LjJtc3CzjwZ4////////////ARgB')\nINSERT HIGH_PRIORITY INTO mysql.GLOBAL_VARIABLES VALUES (\"innodb_checksum_algorithm\", \"innodb\"), (\"key_cache_age_threshold\", \"300\"), (\"innodb_flush_neighbors\", \"1\"), (\"ndb_log_updated_only\", \"\"), (\"tidb_enable_telemetry\", \"OFF\"), (\"tidb_prepared_plan_cache_size\", \"100\"), (\"tidb_opt_advanced_join_hint\", \"OFF\"), (\"rpl_semi_sync_master_wait_no_slave\", \"ON\"), (\"rewriter_enabled\", \"\"), (\"optimizer_trace_max_mem_size\", \"16384\"), (\"default_storage_engine\", \"InnoDB\"), (\"query_prealloc_size\", \"8192\"), (\"preload_buffer_size\", \"32768\"), (\"session_track_schema\", \"\"), (\"tidb_backoff_lock_fast\", \"10\"), (\"transaction_alloc_block_size\", \"8192\"), (\"innodb_flushing_avg_loops\", \"30\"), (\"tidb_gc_concurrency\", \"-1\"), (\"big_tables\", \"OFF\"), (\"tidb_backoff_weight\", \"2\"), (\"innodb_flush_log_at_trx_commit\", \"1\"), (\"tiflash_fastscan\", \"OFF\"), (\"rpl_semi_sync_master_wait_for_slave_count\", \"1\"), (\"query_cache_wlock_invalidate\", \"OFF\"), (\"tidb_capture_plan_baselines\", \"OFF\"), (\"tidb_gc_max_wait_time\", \"86400\"), (\"tidb_table_cache_lease\", \"3\"), (\"profiling\", \"OFF\"), (\"innodb_disable_sort_file_cache\", \"0\"), (\"tidb_enable_noop_variables\", \"ON\"), (\"binlog_checksum\", \"CRC32\"), (\"tidb_max_chunk_size\", \"1024\"), (\"tidb_enable_1pc\", \"OFF\"), (\"innodb_lock_wait_timeout\", \"50\"), (\"ft_boolean_syntax\", \"+ -><()~*:\\\"\\\"&|\"), (\"tidb_opt_limit_push_down_threshold\", \"100\"), (\"innodb_online_alter_log_max_size\", \"134217728\"), (\"tidb_placement_mode\", \"STRICT\"), (\"delayed_queue_size\", \"1000\"), (\"tidb_gogc_tuner_threshold\", \"0.6\"), (\"require_secure_transport\", \"OFF\"), (\"tidb_txn_commit_batch_size\", \"16384\"), (\"sql_log_bin\", \"ON\"), (\"show_old_temporals\", \"OFF\"), (\"binlog_rows_query_log_events\", \"OFF\"), (\"tidb_gc_enable\", \"ON\"), (\"innodb_file_format_max\", \"Antelope\"), (\"default_password_lifetime\", \"0\"), (\"collation_server\", \"utf8mb4_bin\"), (\"transaction_prealloc_size\", \"4096\"), (\"lc_messages\", \"en_US\"), (\"min_examined_row_limit\", \"0\"), (\"tidb_gc_run_interval\", \"10m0s\"), (\"max_binlog_cache_size\", \"18446744073709547520\"), (\"innodb_commit_concurrency\", \"0\"), (\"tidb_dml_batch_size\", \"0\"), (\"local_infile\", \"ON\"), (\"optimizer_search_depth\", \"62\"), (\"tidb_merge_partition_stats_concurrency\", \"1\"), (\"net_write_timeout\", \"60\"), (\"slave_compressed_protocol\", \"OFF\"), (\"master_info_repository\", \"FILE\"), (\"net_buffer_length\", \"16384\"), (\"tidb_committer_concurrency\", \"128\"), (\"tidb_ddl_enable_fast_reorg\", \"ON\"), (\"auto_increment_increment\", \"1\"), (\"optimizer_trace\", \"enabled=off,one_line=off\"), (\"innodb_stats_persistent\", \"ON\"), (\"max_binlog_size\", \"1073741824\"), (\"tidb_streamagg_concurrency\", \"1\"), (\"innodb_sync_spin_loops\", \"30\"), (\"tidb_regard_null_as_point\", \"ON\"), (\"foreign_key_checks\", \"OFF\"), (\"tidb_index_merge_intersection_concurrency\", \"-1\"), (\"innodb_status_output\", \"OFF\"), (\"tidb_opt_insubq_to_join_and_agg\", \"ON\"), (\"innodb_file_format\", \"Barracuda\"), (\"innodb_status_output_locks\", \"OFF\"), (\"innodb_old_blocks_pct\", \"37\"), (\"tidb_txn_mode\", \"pessimistic\"), (\"ndb_log_binlog_index\", \"\"), (\"myisam_use_mmap\", \"OFF\"), (\"tidb_init_chunk_size\", \"32\"), (\"tidb_enable_column_tracking\", \"OFF\"), (\"end_markers_in_json\", \"OFF\"), (\"net_read_timeout\", \"30\"), (\"tidb_opt_correlation_exp_factor\", \"1\"), (\"group_concat_max_len\", \"1024\"), (\"tidb_enable_mutation_checker\", \"ON\"), (\"max_relay_log_size\", \"0\"), (\"event_scheduler\", \"OFF\"), (\"tidb_enable_batch_dml\", \"OFF\"), (\"query_alloc_block_size\", \"8192\"), (\"tidb_enable_new_only_full_group_by_check\", \"OFF\"), (\"tidb_index_lookup_join_concurrency\", \"-1\"), (\"tidb_general_plan_cache_size\", \"100\"), (\"tidb_query_log_max_len\", \"4096\"), (\"ndb_optimization_delay\", \"\"), (\"eq_range_index_dive_limit\", \"200\"), (\"binlog_format\", \"STATEMENT\"), (\"character_set_database\", \"utf8mb4\"), (\"tidb_enable_legacy_instance_scope\", \"ON\"), (\"host_cache_size\", \"279\"), (\"tidb_enable_paging\", \"ON\"), (\"tidb_redact_log\", \"OFF\"), (\"innodb_io_capacity_max\", \"2000\"), (\"tidb_ttl_scan_batch_size\", \"500\"), (\"tidb_multi_statement_mode\", \"OFF\"), (\"tidb_server_memory_limit\", \"80%\"), (\"tidb_skip_ascii_check\", \"OFF\"), (\"init_slave\", \"\"), (\"tidb_enable_clustered_index\", \"ON\"), (\"innodb_stats_auto_rec(len:21519);"] [2024/05/06 16:38:52.691 +08:00] [INFO] [bootstrap.go:529] ["bootstrap successful"] ["take time"=14.228550844s] [2024/05/06 16:38:52.692 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:38:52.692 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 213, tp add index"] ["take time"=20.399µs] [2024/05/06 16:38:52.692 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 214, tp add index"] ["take time"=18.027µs] [2024/05/06 16:38:52.692 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 215, tp add index"] ["take time"=24.36µs] [2024/05/06 16:38:52.692 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 216, tp add index"] ["take time"=19.177µs] [2024/05/06 16:38:52.692 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 217, tp add index"] ["take time"=16.93µs] [2024/05/06 16:38:52.692 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 218, tp add index"] ["take time"=17.074µs] [2024/05/06 16:38:52.692 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 219, tp add index"] ["take time"=19.274µs] [2024/05/06 16:38:52.693 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 220, tp add index"] ["take time"=21.294µs] [2024/05/06 16:38:52.693 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 221, tp add index"] ["take time"=17.932µs] [2024/05/06 16:38:52.693 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 212, tp add index"] ["take time"=17.002µs] [2024/05/06 16:38:52.693 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:38:52.693 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 211, tp general"] ["take time"=3.352µs] [2024/05/06 16:38:52.693 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 210, tp add index"] ["take time"=1.702µs] [2024/05/06 16:38:52.693 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 209, tp general"] ["take time"=1.596µs] [2024/05/06 16:38:52.693 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:38:52.693 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:38:52.700 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=7385b195-57bc-4c52-b198-99b478be0fff] ["take time"=8.726681ms] [2024/05/06 16:38:52.701 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=7385b195-57bc-4c52-b198-99b478be0fff] [2024/05/06 16:38:52.701 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:38:52.701 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:38:52.701 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:38:52.701 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:38:52.701 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:38:52.701 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:38:52.701 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=9.211983ms] [2024/05/06 16:38:52.701 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=c722d3d4-4ca6-4e2c-ae77-b187a9a4329b] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 16:38:52.782 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=39] ["start time"=79.011302ms] [2024/05/06 16:38:52.785 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:38:52.785 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=d43f2e91-7661-4fd7-8a31-27bcfd2d7480] [runWorker=true] [2024/05/06 16:38:52.787 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:38:52.787 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:38:52.787 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 222, tp general"] [2024/05/06 16:38:52.787 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 223, tp add index"] [2024/05/06 16:38:52.789 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:38:52.789 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:38:52.790 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:38:52.790 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:38:52.812 +08:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 16:38:52.997 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=99] [schemaVersion=39] [cur_db=test] [sql="create temporary table tmp(a int)"] [user=] [2024/05/06 16:38:52.999 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=99] [schemaVersion=39] [cur_db=test] [sql="create table t1(id int primary key)"] [user=] [2024/05/06 16:38:53.024 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:82, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:81, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:53.008 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t1(id int primary key)"] [2024/05/06 16:38:53.024 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:82, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:81, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:53.008 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:53.828 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 224, tp general"] [job="ID:82, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:81, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:53.008 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:53.869 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=821.76µs] [phyTblIDs="[81]"] [actionTypes="[8]"] [2024/05/06 16:38:53.891 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=82] [version=40] [2024/05/06 16:38:53.892 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=40] ["take time"=24.368499ms] [job="ID:82, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:81, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:53.008 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:53.926 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 224, tp general"] [job="ID:82, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:81, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:53.008 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:53.956 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=82] [2024/05/06 16:38:53.956 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:53.957 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Conn_ID: 99\n# Query_time: 0.958633283\n# Parse_time: 0.000387156\n# Compile_time: 0.000466977\n# Rewrite_time: 0.000006513\n# Optimize_time: 0.000310849\n# Wait_TS: 0.00004489\n# DB: test\n# Is_internal: false\n# Digest: 6e525264694a69c4de5512730dafc83a7b8d834d3845ad231232af16d65a7875\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\ncreate table t1(id int primary key);"] [2024/05/06 16:38:53.961 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=99] [schemaVersion=40] [cur_db=test] [sql="create table t2(id int primary key)"] [user=] [2024/05/06 16:38:53.961 +08:00] [INFO] [txn.go:55] ["Try to create a new txn inside a transaction auto commit"] [schemaVersion=40] [txnStartTS=449572958098948096] [txnScope=global] [2024/05/06 16:38:53.985 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:84, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:83, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:53.969 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t2(id int primary key)"] [2024/05/06 16:38:53.985 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:84, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:83, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:53.969 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:54.043 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 224, tp general"] [job="ID:84, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:83, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:53.969 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:54.074 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=795.067µs] [phyTblIDs="[83]"] [actionTypes="[8]"] [2024/05/06 16:38:54.090 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=84] [version=41] [2024/05/06 16:38:54.091 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=41] ["take time"=18.323272ms] [job="ID:84, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:83, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:53.969 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:54.121 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 224, tp general"] [job="ID:84, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:83, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:53.969 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:54.145 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=84] [2024/05/06 16:38:54.145 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] === RUN TestEnterNewTxn/EnterNewTxnDefault === RUN TestEnterNewTxn/EnterNewTxnDefault#01 === RUN TestEnterNewTxn/EnterNewTxnWithBeginStmt_simple === RUN TestEnterNewTxn/EnterNewTxnWithBeginStmt_with_tidb_txn_mode=pessimistic === RUN TestEnterNewTxn/EnterNewTxnWithBeginStmt_with_tidb_txn_mode=pessimistic;begin_optimistic === RUN TestEnterNewTxn/EnterNewTxnWithBeginStmt_with_tidb_txn_mode=optimistic;begin_pessimistic === RUN TestEnterNewTxn/EnterNewTxnWithBeginStmt_with_CausalConsistencyOnly === RUN TestEnterNewTxn/EnterNewTxnWithBeginStmt_and_reuse_txn === RUN TestEnterNewTxn/EnterNewTxnWithBeginStmt_with_staleness === RUN TestEnterNewTxn/EnterNewTxnBeforeStmt === RUN TestEnterNewTxn/EnterNewTxnBeforeStmt_and_autocommit=0 === RUN TestEnterNewTxn/EnterNewTxnWithReplaceProvider [2024/05/06 16:38:54.198 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:38:54.198 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 225, tp add index"] ["take time"=7.408µs] [2024/05/06 16:38:54.198 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 226, tp add index"] ["take time"=5.364µs] [2024/05/06 16:38:54.198 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 227, tp add index"] ["take time"=5.323µs] [2024/05/06 16:38:54.198 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 228, tp add index"] ["take time"=5.246µs] [2024/05/06 16:38:54.198 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 229, tp add index"] ["take time"=4.428µs] [2024/05/06 16:38:54.198 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 230, tp add index"] ["take time"=3.292µs] [2024/05/06 16:38:54.198 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 231, tp add index"] ["take time"=2.543µs] [2024/05/06 16:38:54.198 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:38:54.198 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 224, tp general"] ["take time"=5.072µs] [2024/05/06 16:38:54.198 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 222, tp general"] ["take time"=2.169µs] [2024/05/06 16:38:54.198 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 223, tp add index"] ["take time"=2.948µs] [2024/05/06 16:38:54.198 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:38:54.198 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:38:54.199 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=d43f2e91-7661-4fd7-8a31-27bcfd2d7480] ["take time"=1.659558ms] [2024/05/06 16:38:54.199 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=d43f2e91-7661-4fd7-8a31-27bcfd2d7480] [2024/05/06 16:38:54.199 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:38:54.199 +08:00] [INFO] [domain.go:1748] ["dumpFileGcChecker exited."] [2024/05/06 16:38:54.199 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:38:54.199 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:38:54.199 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:38:54.199 +08:00] [INFO] [domain.go:1394] ["loadPrivilegeInLoop exited."] [2024/05/06 16:38:54.199 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:38:54.199 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:38:54.199 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:38:54.199 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:38:54.199 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:38:54.199 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:38:54.199 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:38:54.199 +08:00] [INFO] [domain.go:1525] ["globalBindHandleWorkerLoop exited."] [2024/05/06 16:38:54.199 +08:00] [INFO] [domain.go:1569] ["handleEvolvePlanTasksLoop exited."] [2024/05/06 16:38:54.200 +08:00] [INFO] [domain.go:1444] ["LoadSysVarCacheLoop exited."] [2024/05/06 16:38:54.203 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=5.679175ms] [2024/05/06 16:38:54.205 +08:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 16:38:54.205 +08:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 16:38:54.205 +08:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 16:38:54.205 +08:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 16:38:54.205 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 16:38:54.205 +08:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestEnterNewTxn (15.81s) --- PASS: TestEnterNewTxn/EnterNewTxnDefault (0.00s) --- PASS: TestEnterNewTxn/EnterNewTxnDefault#01 (0.00s) --- PASS: TestEnterNewTxn/EnterNewTxnWithBeginStmt_simple (0.00s) --- PASS: TestEnterNewTxn/EnterNewTxnWithBeginStmt_with_tidb_txn_mode=pessimistic (0.00s) --- PASS: TestEnterNewTxn/EnterNewTxnWithBeginStmt_with_tidb_txn_mode=pessimistic;begin_optimistic (0.01s) --- PASS: TestEnterNewTxn/EnterNewTxnWithBeginStmt_with_tidb_txn_mode=optimistic;begin_pessimistic (0.01s) --- PASS: TestEnterNewTxn/EnterNewTxnWithBeginStmt_with_CausalConsistencyOnly (0.00s) --- PASS: TestEnterNewTxn/EnterNewTxnWithBeginStmt_and_reuse_txn (0.00s) --- PASS: TestEnterNewTxn/EnterNewTxnWithBeginStmt_with_staleness (0.00s) --- PASS: TestEnterNewTxn/EnterNewTxnBeforeStmt (0.00s) --- PASS: TestEnterNewTxn/EnterNewTxnBeforeStmt_and_autocommit=0 (0.00s) --- PASS: TestEnterNewTxn/EnterNewTxnWithReplaceProvider (0.00s) === RUN TestSnapshotInterceptor [2024/05/06 16:38:54.219 +08:00] [INFO] [region_cache.go:2484] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 16:38:54.223 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:38:54.223 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:38:54.232 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:38:54.232 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:38:54.236 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:38:54.238 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=fdf8c774-bcaf-4b57-8689-0a7953c9dda2] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 16:38:54.240 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).Init\n\tdomain/domain.go:1074\ngithub.com/pingcap/tidb/session.(*domainMap).Get.func1\n\tsession/tidb.go:90\ngithub.com/pingcap/tidb/util.RunWithRetry\n\tutil/misc.go:69\ngithub.com/pingcap/tidb/session.(*domainMap).Get\n\tsession/tidb.go:76\ngithub.com/pingcap/tidb/session.createSessionWithOpt\n\tsession/session.go:3520\ngithub.com/pingcap/tidb/session.createSession\n\tsession/session.go:3516\ngithub.com/pingcap/tidb/session.runInBootstrapSession\n\tsession/session.go:3480\ngithub.com/pingcap/tidb/session.BootstrapSession\n\tsession/session.go:3309\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:124\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:84\nsessiontxn/sessiontxn_test_test.TestSnapshotInterceptor\n\tsessiontxn/txn_manager_test.go:447\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1446\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:38:54.265 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=25.051127ms] [2024/05/06 16:38:54.268 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:38:54.268 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=c3222257-a92b-4527-ad5e-03929c723587] [runWorker=true] [2024/05/06 16:38:54.269 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:38:54.269 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 232, tp general"] [2024/05/06 16:38:54.269 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:38:54.269 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 233, tp add index"] [2024/05/06 16:38:54.269 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:38:54.270 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:38:54.270 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:38:54.270 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:38:54.274 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 16:38:54.293 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:54.281 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:54.293 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:38:54.281 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 16:38:54.521 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:38:54.771 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:38:55.021 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:38:55.271 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:38:55.311 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:54.281 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:55.353 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=22.815153ms] [2024/05/06 16:38:55.356 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:38:55.371 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:55.371 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=3] [version=1] [2024/05/06 16:38:55.373 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=42.907885ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:38:54.281 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:55.406 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:54.281 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:55.427 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=3] [2024/05/06 16:38:55.427 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:55.428 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.153941151\n# Parse_time: 0\n# Compile_time: 0.000429041\n# Rewrite_time: 0.000007349\n# Optimize_time: 0\n# Wait_TS: 0.000046466\n# DB: mysql\n# Is_internal: true\n# Digest: 0a22979ad136f741465cf206b13e5717b9758dda34f7cae5a7a925f91711d6a0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse mysql;\nCREATE DATABASE IF NOT EXISTS test;"] [2024/05/06 16:38:55.429 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 16:38:55.452 +08:00] [INFO] [session.go:3817] ["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 16:38:55.626 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:55.465 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:55.626 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:55.465 +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 16:38:55.675 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:55.465 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:55.971 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=5.66566ms] [phyTblIDs="[4]"] [actionTypes="[8]"] [2024/05/06 16:38:56.021 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:56.021 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=5] [version=2] [2024/05/06 16:38:56.021 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=56.169542ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:55.465 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:56.072 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:55.465 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:56.269 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=5] [2024/05/06 16:38:56.269 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:56.270 +08:00] [INFO] [info.go:1114] [SetTiFlashGroupConfig] [2024/05/06 16:38:56.271 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.827696572\n# Parse_time: 0\n# Compile_time: 0.009567177\n# Rewrite_time: 0.000009427\n# Optimize_time: 0\n# Wait_TS: 0.000081506\n# DB: mysql\n# Is_internal: true\n# Digest: 14c6b489558060bdbede877927034270db5af07c6621aa28f87eeaec8727e925\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.user ( Host CHAR(255), User CHAR(32), authentication_string TEXT, plugin CHAR(64), Select_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Insert_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Update_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Delete_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Process_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Grant_priv ENUM('N','Y') NOT NULL DEFAULT 'N', References_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_db_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Super_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Index_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_user_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Event_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_slave_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_client_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Trigger_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Account_locked ENUM('N','Y') NOT NULL DEFAULT 'N', Shutdown_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Reload_priv ENUM('N','Y') NOT NULL DEFAULT 'N', FILE_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Config_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N', Password_reuse_history smallint unsigned DEFAULT NULL, Password_reuse_time smallint unsigned DEFAULT NULL, User_attributes json, Token_issuer VARCHAR(255), Password_expired ENUM('N','Y') NOT NULL DEFAULT 'N', Password_last_changed TIMESTAMP DEFAULT CURRENT_TIMESTAMP(), Password_lifetime SMALLINT UNSIGNED DEFAULT NULL, PRIMARY KEY (Host, User));"] [2024/05/06 16:38:56.275 +08:00] [INFO] [session.go:3817] ["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 16:38:56.334 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:56.285 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:56.334 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:56.285 +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 16:38:56.390 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:56.285 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:56.451 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=2.065857ms] [phyTblIDs="[6]"] [actionTypes="[8]"] [2024/05/06 16:38:56.470 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:56.470 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=7] [version=3] [2024/05/06 16:38:56.470 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=22.10183ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:56.285 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:56.505 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:56.285 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:56.555 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=7] [2024/05/06 16:38:56.555 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:56.560 +08:00] [INFO] [session.go:3817] ["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 16:38:56.602 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:56.571 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:56.602 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:56.571 +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 16:38:56.647 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:56.571 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:56.688 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=1.123376ms] [phyTblIDs="[8]"] [actionTypes="[8]"] [2024/05/06 16:38:56.720 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:56.721 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=9] [version=4] [2024/05/06 16:38:56.722 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=34.70826ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:56.571 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:56.756 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:56.571 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:56.801 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=9] [2024/05/06 16:38:56.801 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:56.823 +08:00] [INFO] [session.go:3817] ["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),\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 16:38:56.931 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:56.836 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:56.931 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:56.836 +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),\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 16:38:56.975 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:56.836 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:57.177 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=5.364585ms] [phyTblIDs="[10]"] [actionTypes="[8]"] [2024/05/06 16:38:57.220 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:57.221 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=11] [version=5] [2024/05/06 16:38:57.222 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=50.750151ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:56.836 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:57.260 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:56.836 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:57.382 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=11] [2024/05/06 16:38:57.382 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:57.384 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.571359898\n# Parse_time: 0\n# Compile_time: 0.010909799\n# Rewrite_time: 0.000012631\n# Optimize_time: 0\n# Wait_TS: 0.000084694\n# DB: mysql\n# Is_internal: true\n# Digest: aeaf612801484f0311f850d36f60f29e6d904828682c1f3bb7307dff25ca3a15\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.db ( Host CHAR(255), DB CHAR(64), User CHAR(32), Select_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Insert_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Update_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Delete_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Grant_priv ENUM('N','Y') NOT NULL DEFAULT 'N', References_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Index_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Event_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Trigger_priv ENUM('N','Y') NOT NULL DEFAULT 'N', PRIMARY KEY (Host, DB, User));"] [2024/05/06 16:38:57.391 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:38:57.442 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:57.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:57.443 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:57.399 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:38:57.493 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:57.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:57.584 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=2.166237ms] [phyTblIDs="[12]"] [actionTypes="[8]"] [2024/05/06 16:38:57.621 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:57.621 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=13] [version=6] [2024/05/06 16:38:57.623 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=42.327031ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:57.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:57.656 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:57.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:57.708 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=13] [2024/05/06 16:38:57.708 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:57.709 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.321408611\n# Parse_time: 0\n# Compile_time: 0.003733451\n# Rewrite_time: 0.000009692\n# Optimize_time: 0\n# Wait_TS: 0.000059657\n# DB: mysql\n# Is_internal: true\n# Digest: e8b37dad6cc7f05ee1f0be61455667495826928a93ddd09b94e02fbaed113955\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tables_priv ( Host CHAR(255), DB CHAR(64), User CHAR(32), Table_name CHAR(64), Grantor CHAR(77), Timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, Table_priv SET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'), Column_priv SET('Select','Insert','Update','References'), PRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 16:38:57.712 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:38:57.770 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:57.722 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:57.770 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:57.722 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:38:57.813 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:57.722 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:57.880 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=1.789331ms] [phyTblIDs="[14]"] [actionTypes="[8]"] [2024/05/06 16:38:57.920 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:57.921 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=15] [version=7] [2024/05/06 16:38:57.923 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=44.883161ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:57.722 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:57.958 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:57.722 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:58.013 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=15] [2024/05/06 16:38:58.013 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:58.014 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.303413844\n# Parse_time: 0\n# Compile_time: 0.001743004\n# Rewrite_time: 0.000008732\n# Optimize_time: 0\n# Wait_TS: 0.000056858\n# DB: mysql\n# Is_internal: true\n# Digest: a19edbb3caff8cc57619278ab6eb5f791d7a821432309abe7184d0a7bca66b4d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.columns_priv( Host CHAR(255), DB CHAR(64), User CHAR(32), Table_name CHAR(64), Column_name CHAR(64), Timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, Column_priv SET('Select','Insert','Update','References'), PRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 16:38:58.018 +08:00] [INFO] [session.go:3817] ["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(1024) DEFAULT NULL);"] [user=] [2024/05/06 16:38:58.059 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:58.026 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:58.059 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:58.026 +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(1024) DEFAULT NULL);"] [2024/05/06 16:38:58.120 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:58.026 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:58.177 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=1.075325ms] [phyTblIDs="[16]"] [actionTypes="[8]"] [2024/05/06 16:38:58.220 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:58.220 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=17] [version=8] [2024/05/06 16:38:58.222 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=46.341638ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:58.026 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:58.255 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:58.026 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:58.293 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=17] [2024/05/06 16:38:58.294 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:58.297 +08:00] [INFO] [session.go:3817] ["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 16:38:58.336 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:58.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:58.337 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:58.305 +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 16:38:58.380 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:58.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:58.433 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=1.765741ms] [phyTblIDs="[18]"] [actionTypes="[8]"] [2024/05/06 16:38:58.471 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:58.471 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=19] [version=9] [2024/05/06 16:38:58.473 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=42.670193ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:58.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:58.511 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:58.305 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:58.558 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=19] [2024/05/06 16:38:58.558 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:58.564 +08:00] [INFO] [session.go:3817] ["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 16:38:58.607 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:58.572 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:58.607 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:58.572 +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 16:38:58.655 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:58.572 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:58.727 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=1.511731ms] [phyTblIDs="[20]"] [actionTypes="[8]"] [2024/05/06 16:38:58.770 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:58.770 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=21] [version=10] [2024/05/06 16:38:58.771 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=46.586592ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:58.572 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:58.804 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:58.572 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:58.849 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=21] [2024/05/06 16:38:58.850 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:58.855 +08:00] [INFO] [session.go:3817] ["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 16:38:58.895 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:58.864 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:58.895 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:58.864 +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 16:38:58.931 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:58.864 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:58.992 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=1.447922ms] [phyTblIDs="[22]"] [actionTypes="[8]"] [2024/05/06 16:38:59.020 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:59.020 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=23] [version=11] [2024/05/06 16:38:59.022 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=32.545524ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:58.864 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:59.078 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:58.864 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:59.132 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=23] [2024/05/06 16:38:59.132 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:59.144 +08:00] [INFO] [session.go:3817] ["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 16:38:59.145 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [2024/05/06 16:38:59.212 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:59.155 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:59.212 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:59.155 +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 16:38:59.254 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:59.155 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:59.369 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=2.667575ms] [phyTblIDs="[24]"] [actionTypes="[8]"] [2024/05/06 16:38:59.420 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:59.420 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=25] [version=12] [2024/05/06 16:38:59.421 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=54.854236ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:59.155 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:59.460 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:59.155 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:59.527 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=25] [2024/05/06 16:38:59.527 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:59.528 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.388832654\n# Parse_time: 0\n# Compile_time: 0.004631273\n# Rewrite_time: 0.000011492\n# Optimize_time: 0\n# Wait_TS: 0.000061899\n# DB: mysql\n# Is_internal: true\n# Digest: 7780c45a0aac5f123ac85a7e601e79c5d7779e7c09a19953908e547605ed45d2\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_histograms ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, distinct_count BIGINT(64) NOT NULL, null_count BIGINT(64) NOT NULL DEFAULT 0, tot_col_size BIGINT(64) NOT NULL DEFAULT 0, modify_count BIGINT(64) NOT NULL DEFAULT 0, version BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, cm_sketch BLOB(6291456), stats_ver BIGINT(64) NOT NULL DEFAULT 0, flag BIGINT(64) NOT NULL DEFAULT 0, correlation DOUBLE NOT NULL DEFAULT 0, last_analyze_pos LONGBLOB DEFAULT NULL, UNIQUE INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:38:59.533 +08:00] [INFO] [session.go:3817] ["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 16:38:59.579 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:59.541 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:59.579 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:59.541 +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 16:38:59.626 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:59.541 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:59.713 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=1.894537ms] [phyTblIDs="[26]"] [actionTypes="[8]"] [2024/05/06 16:38:59.770 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:38:59.770 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=27] [version=13] [2024/05/06 16:38:59.771 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=60.663026ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:59.541 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:59.804 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:59.541 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:38:59.856 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=27] [2024/05/06 16:38:59.857 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:38:59.858 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.326816733\n# Parse_time: 0\n# Compile_time: 0.00213551\n# Rewrite_time: 0.000008588\n# Optimize_time: 0\n# Wait_TS: 0.000055164\n# DB: mysql\n# Is_internal: true\n# Digest: 5615b5212342304015b027afb253371dae02f19e53871cfbb034deb145dfce32\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_buckets ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, bucket_id BIGINT(64) NOT NULL, count BIGINT(64) NOT NULL, repeats BIGINT(64) NOT NULL, upper_bound LONGBLOB NOT NULL, lower_bound LONGBLOB , ndv BIGINT NOT NULL DEFAULT 0, UNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id) );"] [2024/05/06 16:38:59.863 +08:00] [INFO] [session.go:3817] ["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 16:38:59.923 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:38:59.87 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:38:59.924 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:59.87 +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 16:38:59.967 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:59.87 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:00.035 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=1.410236ms] [phyTblIDs="[28]"] [actionTypes="[8]"] [2024/05/06 16:39:00.071 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:00.071 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=29] [version=14] [2024/05/06 16:39:00.072 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=48.511029ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:38:59.87 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:00.106 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:38:59.87 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:00.160 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=29] [2024/05/06 16:39:00.160 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:00.162 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.301589964\n# Parse_time: 0\n# Compile_time: 0.002430791\n# Rewrite_time: 0.000009517\n# Optimize_time: 0\n# Wait_TS: 0.000055226\n# DB: mysql\n# Is_internal: true\n# Digest: 4f764dd084d16197c847e23500fcaf8b96dbbabd598c823de37967bfa2ad51cd\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.gc_delete_range ( job_id BIGINT NOT NULL COMMENT \"the DDL job ID\", element_id BIGINT NOT NULL COMMENT \"the schema element ID\", start_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", end_key VARCHAR(255) NOT NULL COMMENT \"encoded in hex\", ts BIGINT NOT NULL COMMENT \"timestamp in uint64\", UNIQUE KEY delete_range_index (job_id, element_id) );"] [2024/05/06 16:39:00.168 +08:00] [INFO] [session.go:3817] ["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 16:39:00.220 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:00.178 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:00.220 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:00.178 +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 16:39:00.258 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:00.178 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:00.325 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=1.438178ms] [phyTblIDs="[30]"] [actionTypes="[8]"] [2024/05/06 16:39:00.371 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:00.371 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=31] [version=15] [2024/05/06 16:39:00.372 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=48.628536ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:00.178 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:00.402 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:00.178 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:00.450 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=31] [2024/05/06 16:39:00.450 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:00.454 +08:00] [INFO] [session.go:3817] ["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 16:39:00.493 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:00.462 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:00.493 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:00.462 +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 16:39:00.528 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:00.462 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:00.594 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=2.053045ms] [phyTblIDs="[32]"] [actionTypes="[8]"] [2024/05/06 16:39:00.620 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:00.620 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=33] [version=16] [2024/05/06 16:39:00.621 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=30.047173ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:00.462 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:00.658 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:00.462 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:00.701 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=33] [2024/05/06 16:39:00.701 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:00.708 +08:00] [INFO] [session.go:3817] ["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 16:39:00.749 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:00.717 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:00.749 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:00.717 +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 16:39:00.787 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:00.717 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:00.877 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=1.546247ms] [phyTblIDs="[34]"] [actionTypes="[8]"] [2024/05/06 16:39:00.921 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:00.921 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=35] [version=17] [2024/05/06 16:39:00.923 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=48.379258ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:00.717 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:00.959 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:00.717 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:01.005 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=35] [2024/05/06 16:39:01.005 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:01.006 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.300832734\n# Parse_time: 0\n# Compile_time: 0.002433672\n# Rewrite_time: 0.000008918\n# Optimize_time: 0\n# Wait_TS: 0.00005969\n# DB: mysql\n# Is_internal: true\n# Digest: 13e2fcff943423afddaa84c2d34108628854b5953bc7c41d2879240f077a5bd6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.role_edges ( FROM_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', FROM_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', TO_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', TO_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', WITH_ADMIN_OPTION ENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N', PRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER) );"] [2024/05/06 16:39:01.011 +08:00] [INFO] [session.go:3817] ["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 16:39:01.050 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:01.02 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:01.050 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:01.02 +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 16:39:01.094 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:01.02 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:01.164 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=2.390553ms] [phyTblIDs="[36]"] [actionTypes="[8]"] [2024/05/06 16:39:01.220 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:01.220 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=37] [version=18] [2024/05/06 16:39:01.221 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=60.805292ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:01.02 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:01.256 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:01.02 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:01.316 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=37] [2024/05/06 16:39:01.316 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:01.317 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.307914624\n# Parse_time: 0\n# Compile_time: 0.001882414\n# Rewrite_time: 0.000008882\n# Optimize_time: 0\n# Wait_TS: 0.000084994\n# DB: mysql\n# Is_internal: true\n# Digest: 9e6b544fb0287e9d8a74031560ed0cd6a5b4e54db073b893a68a76b05d929781\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.default_roles ( HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '', USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', DEFAULT_ROLE_HOST CHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%', DEFAULT_ROLE_USER CHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '', PRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER) );"] [2024/05/06 16:39:01.324 +08:00] [INFO] [session.go:3817] ["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 16:39:01.388 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:01.333 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:01.388 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:01.333 +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 16:39:01.435 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:01.333 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:01.542 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=2.326428ms] [phyTblIDs="[38]"] [actionTypes="[8]"] [2024/05/06 16:39:01.571 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:01.571 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=39] [version=19] [2024/05/06 16:39:01.572 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=32.627739ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:01.333 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:01.605 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:01.333 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:01.665 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=39] [2024/05/06 16:39:01.666 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:01.667 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.345756447\n# Parse_time: 0\n# Compile_time: 0.003401235\n# Rewrite_time: 0.000012412\n# Optimize_time: 0\n# Wait_TS: 0.000087185\n# DB: mysql\n# Is_internal: true\n# Digest: 0a4bc55a9ab72ef62ddaa1ee6472d7872306066fd783a8bb67047a497fbb4dbe\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.bind_info ( original_sql TEXT NOT NULL, bind_sql TEXT NOT NULL, default_db TEXT NOT NULL, status TEXT NOT NULL, create_time TIMESTAMP(3) NOT NULL, update_time TIMESTAMP(3) NOT NULL, charset TEXT NOT NULL, collation TEXT NOT NULL, source VARCHAR(10) NOT NULL DEFAULT 'unknown', sql_digest varchar(64), plan_digest varchar(64), INDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\", INDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\" ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 16:39:01.679 +08:00] [INFO] [session.go:3817] ["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 16:39:01.744 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:01.687 +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 16:39:01.744 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:01.687 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:01.787 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:01.687 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:01.846 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=2.183544ms] [phyTblIDs="[40]"] [actionTypes="[8]"] [2024/05/06 16:39:01.871 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:01.871 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=41] [version=20] [2024/05/06 16:39:01.871 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=28.1306ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:01.687 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:01.909 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:01.687 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:01.956 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=41] [2024/05/06 16:39:01.956 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:01.960 +08:00] [INFO] [session.go:3817] ["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 16:39:01.996 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:01.968 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:01.996 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:01.968 +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 16:39:02.040 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:01.968 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:02.085 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=1.735783ms] [phyTblIDs="[42]"] [actionTypes="[8]"] [2024/05/06 16:39:02.120 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:02.120 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=43] [version=21] [2024/05/06 16:39:02.121 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=38.735195ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:01.968 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:02.154 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:01.968 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:02.191 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=43] [2024/05/06 16:39:02.191 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:02.194 +08:00] [INFO] [session.go:3817] ["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 16:39:02.218 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:02.202 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:02.219 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:02.202 +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 16:39:02.266 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:02.202 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:02.305 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=955.795µs] [phyTblIDs="[44]"] [actionTypes="[8]"] [2024/05/06 16:39:02.320 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:02.320 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=45] [version=22] [2024/05/06 16:39:02.320 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=16.249679ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:02.202 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:02.355 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:02.202 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:02.383 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=45] [2024/05/06 16:39:02.383 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:02.390 +08:00] [INFO] [session.go:3817] ["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 16:39:02.439 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:02.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:02.439 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:02.399 +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 16:39:02.482 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:02.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:02.594 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=1.822668ms] [phyTblIDs="[46]"] [actionTypes="[8]"] [2024/05/06 16:39:02.621 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:02.621 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=47] [version=23] [2024/05/06 16:39:02.623 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=30.919018ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:02.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:02.685 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:02.399 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:02.752 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=47] [2024/05/06 16:39:02.753 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:02.755 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.366513046\n# Parse_time: 0\n# Compile_time: 0.002046637\n# Rewrite_time: 0.000013207\n# Optimize_time: 0\n# Wait_TS: 0.000063678\n# DB: mysql\n# Is_internal: true\n# Digest: bd2a0d9809689d30e22f8d82b29b4ee110d16cda3353b77d74a1938afb746386\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_extended ( name varchar(32) NOT NULL, type tinyint(4) NOT NULL, table_id bigint(64) NOT NULL, column_ids varchar(32) NOT NULL, stats blob DEFAULT NULL, version bigint(64) unsigned NOT NULL, status tinyint(4) NOT NULL, PRIMARY KEY(name, table_id), KEY idx_1 (table_id, status, version), KEY idx_2 (status, version) );"] [2024/05/06 16:39:02.759 +08:00] [INFO] [session.go:3817] ["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 16:39:02.809 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:02.769 +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 16:39:02.809 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:02.769 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:02.849 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:02.769 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:02.926 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=1.972159ms] [phyTblIDs="[48]"] [actionTypes="[8]"] [2024/05/06 16:39:02.971 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:02.971 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=49] [version=24] [2024/05/06 16:39:02.972 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=48.471372ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:02.769 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:03.004 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:02.769 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:03.056 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=49] [2024/05/06 16:39:03.056 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:03.060 +08:00] [INFO] [session.go:3817] ["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 16:39:03.103 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:03.068 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:03.103 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:03.068 +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 16:39:03.153 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:03.068 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:03.201 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=1.292534ms] [phyTblIDs="[50]"] [actionTypes="[8]"] [2024/05/06 16:39:03.221 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:03.221 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=51] [version=25] [2024/05/06 16:39:03.221 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=22.065618ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:03.068 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:03.259 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:03.068 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:03.304 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=51] [2024/05/06 16:39:03.304 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:03.310 +08:00] [INFO] [session.go:3817] ["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 16:39:03.353 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:03.32 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:03.353 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:03.32 +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 16:39:03.395 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:03.32 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:03.458 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=1.376496ms] [phyTblIDs="[52]"] [actionTypes="[8]"] [2024/05/06 16:39:03.470 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:03.470 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=53] [version=26] [2024/05/06 16:39:03.472 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=16.223117ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:03.32 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:03.501 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:03.32 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:03.546 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=53] [2024/05/06 16:39:03.546 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:03.551 +08:00] [INFO] [session.go:3817] ["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 16:39:03.623 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:03.562 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:03.623 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:03.562 +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 16:39:03.663 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:03.562 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:03.707 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=1.195651ms] [phyTblIDs="[54]"] [actionTypes="[8]"] [2024/05/06 16:39:03.721 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:03.721 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=55] [version=27] [2024/05/06 16:39:03.722 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=16.714596ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:03.562 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:03.753 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:03.562 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:03.791 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=55] [2024/05/06 16:39:03.791 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:03.797 +08:00] [INFO] [session.go:3817] ["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 16:39:03.843 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:03.808 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:03.843 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:03.808 +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 16:39:03.889 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:03.808 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:03.944 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=1.441552ms] [phyTblIDs="[56]"] [actionTypes="[8]"] [2024/05/06 16:39:03.971 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:03.971 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=57] [version=28] [2024/05/06 16:39:03.973 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=30.705395ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:03.808 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:04.007 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:03.808 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:04.062 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=57] [2024/05/06 16:39:04.063 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:04.069 +08:00] [INFO] [session.go:3817] ["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 16:39:04.106 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:04.078 +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 16:39:04.106 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:04.078 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:04.146 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:04.078 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:04.195 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=1.212413ms] [phyTblIDs="[58]"] [actionTypes="[8]"] [2024/05/06 16:39:04.220 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:04.220 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=59] [version=29] [2024/05/06 16:39:04.222 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=28.874598ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:04.078 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:04.251 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:04.078 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:04.285 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=59] [2024/05/06 16:39:04.285 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:04.291 +08:00] [INFO] [session.go:3817] ["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 16:39:04.292 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [2024/05/06 16:39:04.344 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:04.301 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:04.344 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:04.301 +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 16:39:04.380 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:04.301 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:04.474 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=1.605804ms] [phyTblIDs="[60]"] [actionTypes="[8]"] [2024/05/06 16:39:04.520 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:04.520 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=61] [version=30] [2024/05/06 16:39:04.522 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=50.526645ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:04.301 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:04.559 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:04.301 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:04.605 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=61] [2024/05/06 16:39:04.606 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:04.607 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.318082785\n# Parse_time: 0\n# Compile_time: 0.002234491\n# Rewrite_time: 0.000012114\n# Optimize_time: 0\n# Wait_TS: 0.000070634\n# DB: mysql\n# Is_internal: true\n# Digest: 987fcd9b9a604209ec1101d918419b993c42f84fe228e20aee2fcca2931ff93e\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.analyze_options ( table_id BIGINT(64) NOT NULL, sample_num BIGINT(64) NOT NULL DEFAULT 0, sample_rate DOUBLE NOT NULL DEFAULT -1, buckets BIGINT(64) NOT NULL DEFAULT 0, topn BIGINT(64) NOT NULL DEFAULT -1, column_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT', column_ids TEXT(19372), PRIMARY KEY (table_id) CLUSTERED );"] [2024/05/06 16:39:04.612 +08:00] [INFO] [session.go:3817] ["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\t);"] [user=] [2024/05/06 16:39:04.655 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:04.622 +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\t);"] [2024/05/06 16:39:04.655 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:04.622 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:04.698 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:04.622 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:04.769 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=2.058694ms] [phyTblIDs="[62]"] [actionTypes="[8]"] [2024/05/06 16:39:04.821 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:04.821 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=63] [version=31] [2024/05/06 16:39:04.823 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=56.265606ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:04.622 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:04.855 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:04.622 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:04.898 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=63] [2024/05/06 16:39:04.898 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:04.904 +08:00] [INFO] [session.go:3817] ["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\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\t);"] [user=] [2024/05/06 16:39:04.943 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:04.912 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:04.943 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:04.912 +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\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\t);"] [2024/05/06 16:39:04.986 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:04.912 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:05.062 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=2.506455ms] [phyTblIDs="[64]"] [actionTypes="[8]"] [2024/05/06 16:39:05.120 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:05.120 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=65] [version=32] [2024/05/06 16:39:05.122 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=63.244102ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:04.912 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:05.162 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:04.912 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:05.208 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=65] [2024/05/06 16:39:05.208 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:05.209 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.307522361\n# Parse_time: 0\n# Compile_time: 0.002855144\n# Rewrite_time: 0.000010991\n# Optimize_time: 0\n# Wait_TS: 0.000072845\n# DB: mysql\n# Is_internal: true\n# Digest: ebccd6f5d49fb0fcff4d7dc20bb3ae798d172a92ba5f6709445c980166f7e32f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_meta_history ( table_id bigint(64) NOT NULL, modify_count bigint(64) NOT NULL, count bigint(64) NOT NULL, version bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN', create_time datetime(6) NOT NULL, UNIQUE KEY table_version (table_id, version), KEY table_create_time (table_id, create_time) );"] [2024/05/06 16:39:05.216 +08:00] [INFO] [session.go:3817] ["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 16:39:05.284 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:05.231 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:05.284 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:05.231 +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 16:39:05.338 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:05.231 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:05.477 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=2.978548ms] [phyTblIDs="[66]"] [actionTypes="[8]"] [2024/05/06 16:39:05.520 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:05.520 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=67] [version=33] [2024/05/06 16:39:05.521 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=48.312661ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:05.231 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:05.553 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:05.231 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:05.616 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=67] [2024/05/06 16:39:05.616 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:05.617 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.403697356\n# Parse_time: 0\n# Compile_time: 0.00303258\n# Rewrite_time: 0.000009033\n# Optimize_time: 0\n# Wait_TS: 0.000058545\n# DB: mysql\n# Is_internal: true\n# Digest: bfb9a3ff60c3c60c054a207c0a0db06c87e29edbe94005d8d5c89fe484f4f90a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.analyze_jobs ( id BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT, update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, table_schema CHAR(64) NOT NULL DEFAULT '', table_name CHAR(64) NOT NULL DEFAULT '', partition_name CHAR(64) NOT NULL DEFAULT '', job_info TEXT NOT NULL, processed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, start_time TIMESTAMP, end_time TIMESTAMP, state ENUM('pending', 'running', 'finished', 'failed') NOT NULL, fail_reason TEXT, instance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job', process_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job', PRIMARY KEY (id), KEY (update_time) );"] [2024/05/06 16:39:05.619 +08:00] [INFO] [session.go:3817] ["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 16:39:05.648 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:05.628 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:05.648 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:05.628 +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 16:39:05.682 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:05.628 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:05.716 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=1.203693ms] [phyTblIDs="[68]"] [actionTypes="[8]"] [2024/05/06 16:39:05.771 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:05.771 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=69] [version=34] [2024/05/06 16:39:05.773 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=58.185609ms] [job="ID:69, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:05.628 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:05.802 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:69, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:05.628 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:05.836 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=69] [2024/05/06 16:39:05.836 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:05.900 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:05.862 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:05.900 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:39:05.862 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] [2024/05/06 16:39:05.938 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:05.862 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:06.049 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=1.547816ms] [phyTblIDs="[70]"] [actionTypes="[2097152]"] [2024/05/06 16:39:06.070 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:06.070 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=71] [version=35] [2024/05/06 16:39:06.072 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=24.813371ms] [job="ID:71, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:39:05.862 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:06.103 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:71, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:05.862 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:06.152 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=71] [2024/05/06 16:39:06.152 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:06.153 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.309299877\n# Parse_time: 0\n# Compile_time: 0.006792319\n# Rewrite_time: 0.003719408\n# Optimize_time: 0\n# Wait_TS: 0.000088612\n# DB: mysql\n# Is_internal: true\n# Digest: 812c81f344f5d0c8b8aedcb68ff1dca865b59104853273f7e66b8abff5429992\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE OR REPLACE VIEW mysql.tidb_mdl_view as ( select JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID );"] [2024/05/06 16:39:06.159 +08:00] [INFO] [session.go:3817] ["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 16:39:06.211 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:06.17 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:06.211 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:06.17 +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 16:39:06.246 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:06.17 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:06.346 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=1.60676ms] [phyTblIDs="[72]"] [actionTypes="[8]"] [2024/05/06 16:39:06.370 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:06.370 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=73] [version=36] [2024/05/06 16:39:06.370 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=26.045298ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:06.17 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:06.407 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:06.17 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:06.466 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=73] [2024/05/06 16:39:06.466 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:06.468 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.311628969\n# Parse_time: 0\n# Compile_time: 0.003280858\n# Rewrite_time: 0.000011903\n# Optimize_time: 0\n# Wait_TS: 0.000087986\n# DB: mysql\n# Is_internal: true\n# Digest: 3d2f349b1c68ee2b30e34bad8bb3838af6c40d7a26072b2d29d801d7fedbac48\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.plan_replayer_status ( sql_digest VARCHAR(128), plan_digest VARCHAR(128), origin_sql TEXT, token VARCHAR(128), update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fail_reason TEXT, instance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 16:39:06.473 +08:00] [INFO] [session.go:3817] ["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 16:39:06.509 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:06.485 +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 16:39:06.509 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:06.485 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:06.553 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:06.485 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:06.600 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=1.245906ms] [phyTblIDs="[74]"] [actionTypes="[8]"] [2024/05/06 16:39:06.620 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:06.620 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=75] [version=37] [2024/05/06 16:39:06.623 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=24.301164ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:06.485 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:06.649 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:06.485 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:06.688 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=75] [2024/05/06 16:39:06.688 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:06.695 +08:00] [INFO] [session.go:3817] ["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 16:39:06.728 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:06.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:06.728 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:06.703 +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 16:39:06.765 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:06.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:06.816 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=1.720523ms] [phyTblIDs="[76]"] [actionTypes="[8]"] [2024/05/06 16:39:06.870 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:06.870 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=77] [version=38] [2024/05/06 16:39:06.873 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=38] ["take time"=59.076189ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:06.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:06.906 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:06.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:06.942 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=77] [2024/05/06 16:39:06.942 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:06.952 +08:00] [INFO] [session.go:3817] ["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 16:39:07.033 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:06.96 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:07.033 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:06.96 +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 16:39:07.081 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 234, tp general"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:06.96 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:07.295 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=4.346845ms] [phyTblIDs="[78]"] [actionTypes="[8]"] [2024/05/06 16:39:07.320 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:07.320 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=79] [version=39] [2024/05/06 16:39:07.321 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=39] ["take time"=36.754676ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:06.96 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:07.357 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 234, tp general"] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:06.96 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:07.440 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=79] [2024/05/06 16:39:07.441 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:07.442 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.493108909\n# Parse_time: 0\n# Compile_time: 0.003084519\n# Rewrite_time: 0.000008447\n# Optimize_time: 0\n# Wait_TS: 0.000069079\n# DB: mysql\n# Is_internal: true\n# Digest: a30bd3c3a49070c554e65922e84c6b76e646842e3925a859fcde73941a7cb423\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status ( table_id bigint(64) PRIMARY KEY, parent_table_id bigint(64), table_statistics text DEFAULT NULL, last_job_id varchar(64) DEFAULT NULL, last_job_start_time timestamp NULL DEFAULT NULL, last_job_finish_time timestamp NULL DEFAULT NULL, last_job_ttl_expire timestamp NULL DEFAULT NULL, last_job_summary text DEFAULT NULL, current_job_id varchar(64) DEFAULT NULL, current_job_owner_id varchar(64) DEFAULT NULL, current_job_owner_addr varchar(256) DEFAULT NULL, current_job_owner_hb_time timestamp, current_job_start_time timestamp NULL DEFAULT NULL, current_job_ttl_expire timestamp NULL DEFAULT NULL, current_job_state text DEFAULT NULL, current_job_status varchar(64) DEFAULT NULL, current_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 16:39:08.013 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 449572961633697792\n# Query_time: 0.386104909\n# Parse_time: 0\n# Compile_time: 0.20446518\n# Rewrite_time: 0.005881583\n# Optimize_time: 0\n# Wait_TS: 0.000064577\n# DB: mysql\n# Is_internal: true\n# Digest: ca2019e08a331284bd0c64be228a0537fcf9f5983e95d94b67ef42dcb8f54385\n# Num_cop_tasks: 0\n# Mem_max: 354227\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: true\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('ogPwPDAJMjdfMQkwCTAJTi9BCTAJdGltZToxNzMuMW1zLCBsb29wczoxLCBwcmVwYXJlOiB7dG90YWw6IDMyLjMBIkxhdXRvX2lkX2FsbG9jYXRvcjogewUMZF9jbnQ6IDEsIEdldDp7bnVtX3JwYzo0LCB0AUEAXwVosDM1OMK1c30sIGNvbW1pdF90eG46IHtwcmV3cml0ZTozNjkuMsK1cywgZ2V0XxEkGHM6MTUuN8IBFwkTFDozODguOQURHHNsb3dlc3RfEUMFdAQgewVzaDogMC4wMDBzLCByZWdpb25faWQ6IDIsIHN0bwHZBQcIMSwgGY4YcHJpbWFyedZEAA1kGG51bToxLCAF0Axfa2V5JU0JDgRieQHjgDJ9fX0sIGluc2VydDoxNDAuN21zCTk3LjkgS0IJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('rgPwgQqpAwoISW5zZXJ0XzE4AUABUgNOL0FaFXRpbWU6MTczLjFtcywgbG9vcHM6MWLtAnByZXBhcmU6IHt0b3RhbDogMzIuM21zLCBhdXRvX2lkX2FsbG9jYXRvcjoge2FsbG9jX2NudDogMSwgR2V0OntudW1fcnBjOjQsIHRvdGFsX3QBabAzNTjCtXN9LCBjb21taXRfdHhuOiB7cHJld3JpdGU6MzY5LjLCtXMsIGdldF8RJBhzOjE1LjfCARcJExQ6Mzg4LjkFERxzbG93ZXN0XxFDDF9ycGMZtGAwLjAwMHMsIHJlZ2lvbl9pZDogMiwgc3RvAdkFBwgxLCAZjhhwcmltYXJ51kQADWQYbnVtOjEsIAXQEF9rZXlzGQ4EYnkB45AyfX19LCBpbnNlcnQ6MTQwLjdtc3CzjwZ4////////////ARgB')\nINSERT HIGH_PRIORITY INTO mysql.GLOBAL_VARIABLES VALUES (\"tidb_ttl_job_run_interval\", \"1h0m0s\"), (\"low_priority_updates\", \"OFF\"), (\"long_query_time\", \"10.000000\"), (\"tidb_replica_read\", \"leader\"), (\"ndb_log_empty_epochs\", \"\"), (\"max_connect_errors\", \"100\"), (\"tidb_enable_prepared_plan_cache\", \"ON\"), (\"preload_buffer_size\", \"32768\"), (\"tidb_mem_quota_apply_cache\", \"33554432\"), (\"tidb_gogc_tuner_threshold\", \"0.6\"), (\"innodb_file_format\", \"Barracuda\"), (\"tidb_prepared_plan_cache_memory_guard_ratio\", \"0.1\"), (\"slow_query_log_file\", \"/usr/local/mysql/data/localhost-slow.log\"), (\"max_length_for_sort_data\", \"1024\"), (\"tidb_opt_insubq_to_join_and_agg\", \"ON\"), (\"tidb_enable_clustered_index\", \"ON\"), (\"flush\", \"OFF\"), (\"default_tmp_storage_engine\", \"InnoDB\"), (\"innodb_status_output\", \"OFF\"), (\"tidb_rc_write_check_ts\", \"OFF\"), (\"max_error_count\", \"64\"), (\"slave_parallel_workers\", \"0\"), (\"tidb_enable_ordered_result_mode\", \"OFF\"), (\"tidb_enable_list_partition\", \"ON\"), (\"tidb_default_string_match_selectivity\", \"0.8\"), (\"tidb_enable_auto_analyze\", \"OFF\"), (\"gtid_executed_compression_period\", \"\"), (\"innodb_strict_mode\", \"ON\"), (\"binlog_max_flush_queue_time\", \"0\"), (\"character_set_database\", \"utf8mb4\"), (\"sql_big_selects\", \"ON\"), (\"slave_sql_verify_checksum\", \"ON\"), (\"tidb_opt_fix_control\", \"\"), (\"tidb_stmt_summary_refresh_interval\", \"1800\"), (\"tidb_stmt_summary_history_size\", \"24\"), (\"tidb_opt_three_stage_distinct_agg\", \"ON\"), (\"transaction_prealloc_size\", \"4096\"), (\"log_syslog_include_pid\", \"\"), (\"innodb_stats_persistent\", \"ON\"), (\"tidb_enable_strict_double_type_check\", \"ON\"), (\"tidb_executor_concurrency\", \"5\"), (\"net_write_timeout\", \"60\"), (\"interactive_timeout\", \"28800\"), (\"innodb_flushing_avg_loops\", \"30\"), (\"innodb_stats_transient_sample_pages\", \"8\"), (\"innodb_purge_rseg_truncate_frequency\", \"\"), (\"tidb_query_log_max_len\", \"4096\"), (\"query_cache_size\", \"1048576\"), (\"session_track_gtids\", \"OFF\"), (\"validate_password.policy\", \"MEDIUM\"), (\"innodb_optimize_fulltext_only\", \"0\"), (\"tidb_opt_disk_factor\", \"1.5\"), (\"init_slave\", \"\"), (\"optimizer_trace_limit\", \"1\"), (\"tidb_ddl_reorg_worker_cnt\", \"4\"), (\"tidb_enable_index_merge\", \"ON\"), (\"tidb_txn_mode\", \"pessimistic\"), (\"master_info_repository\", \"FILE\"), (\"mysql_native_password_proxy_users\", \"\"), (\"binlog_format\", \"STATEMENT\"), (\"ndb_use_transactions\", \"\"), (\"tidb_allow_fallback_to_tikv\", \"\"), (\"min_examined_row_limit\", \"0\"), (\"tidb_broadcast_join_threshold_count\", \"10240\"), (\"tidb_gc_enable\", \"ON\"), (\"innodb_flush_log_at_trx_commit\", \"1\"), (\"tidb_analyze_partition_concurrency\", \"1\"), (\"innodb_ft_enable_stopword\", \"ON\"), (\"tidb_ddl_flashback_concurrency\", \"64\"), (\"innodb_log_checksum_algorithm\", \"\"), (\"tidb_opt_join_reorder_threshold\", \"0\"), (\"sql_buffer_result\", \"OFF\"), (\"tidb_index_serial_scan_concurrency\", \"1\"), (\"tidb_opt_advanced_join_hint\", \"OFF\"), (\"sha256_password_proxy_users\", \"\"), (\"collation_server\", \"utf8mb4_bin\"), (\"ndb_blob_write_batch_bytes\", \"\"), (\"sort_buffer_size\", \"262144\"), (\"tidb_enable_gogc_tuner\", \"ON\"), (\"expire_logs_days\", \"0\"), (\"tidb_enable_auto_increment_in_generated\", \"OFF\"), (\"thread_cache_size\", \"9\"), (\"character_set_connection\", \"utf8mb4\"), (\"slow_launch_time\", \"2\"), (\"tidb_enable_top_sql\", \"OFF\"), (\"tidb_ttl_scan_batch_size\", \"500\"), (\"tidb_top_sql_max_time_series_count\", \"100\"), (\"show_old_temporals\", \"OFF\"), (\"tidb_enable_inl_join_inner_multi_pattern\", \"OFF\"), (\"innodb_thread_concurrency\", \"0\"), (\"executed_gtids_compression_period\", \"\"), (\"tidb_enable_gc_aware_memory_track\", \"OFF\"), (\"tidb_streamagg_concurrency\", \"1\"), (\"tidb_ttl_job_schedule_window_end_time\", \"23:59 +0000\"), (\"innodb_concurrency_tickets\", \"5000\"), (\"tidb_enable_tso_follower_proxy\", \"OFF\"), (\"tidb_enable_outer_join_reorder\", \"ON\"), (\"tidb_generate_binary_plan\", \"ON\"), (\"tidb_evolve_plan_task_end_time\", \"23:59 +0000\"), (\"local_infile\", \"ON\"), (\"character_set_server\", \"utf8mb4\"), (\"innodb_api_bk_commit_interval\", \"5\"), (\"sql_require_primary_key\", \"OFF\"), (\"tidb_enable_reuse_chunk\", \"ON\"), (\"innodb_compression_failure_threshold_pct\", \"5\"), (\"tidb_opt_copcpu_factor\", \"3\"), (\"div_precision_incre(len:21519);"] [2024/05/06 16:39:08.217 +08:00] [INFO] [bootstrap.go:529] ["bootstrap successful"] ["take time"=13.946695619s] [2024/05/06 16:39:08.218 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:39:08.218 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 235, tp add index"] ["take time"=26.931µs] [2024/05/06 16:39:08.218 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 236, tp add index"] ["take time"=24.363µs] [2024/05/06 16:39:08.218 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 237, tp add index"] ["take time"=25.598µs] [2024/05/06 16:39:08.219 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 238, tp add index"] ["take time"=18.447µs] [2024/05/06 16:39:08.219 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 239, tp add index"] ["take time"=21.699µs] [2024/05/06 16:39:08.219 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 240, tp add index"] ["take time"=25.767µs] [2024/05/06 16:39:08.219 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 241, tp add index"] ["take time"=23.968µs] [2024/05/06 16:39:08.219 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 242, tp add index"] ["take time"=20.031µs] [2024/05/06 16:39:08.219 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 243, tp add index"] ["take time"=32.512µs] [2024/05/06 16:39:08.219 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 244, tp add index"] ["take time"=26.491µs] [2024/05/06 16:39:08.219 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:39:08.219 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 234, tp general"] ["take time"=23.962µs] [2024/05/06 16:39:08.220 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 232, tp general"] ["take time"=7.517µs] [2024/05/06 16:39:08.220 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 233, tp add index"] ["take time"=1.716µs] [2024/05/06 16:39:08.220 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:39:08.220 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:39:08.227 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=c3222257-a92b-4527-ad5e-03929c723587] ["take time"=8.852657ms] [2024/05/06 16:39:08.227 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=c3222257-a92b-4527-ad5e-03929c723587] [2024/05/06 16:39:08.227 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:39:08.227 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:39:08.227 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:39:08.227 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:39:08.227 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:39:08.227 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:39:08.227 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=9.415384ms] [2024/05/06 16:39:08.227 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=fdf8c774-bcaf-4b57-8689-0a7953c9dda2] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 16:39:08.304 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=39] ["start time"=75.1261ms] [2024/05/06 16:39:08.309 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:39:08.309 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=0f4556af-e040-47a1-bf8a-f2ea11f06ce4] [runWorker=true] [2024/05/06 16:39:08.310 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:39:08.310 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:39:08.310 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 245, tp general"] [2024/05/06 16:39:08.310 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 246, tp add index"] [2024/05/06 16:39:08.312 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:39:08.313 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:39:08.313 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:39:08.313 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:39:08.339 +08:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 16:39:08.497 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=100] [schemaVersion=39] [cur_db=] [sql="create temporary table test.tmp1 (id int primary key)"] [user=] [2024/05/06 16:39:09.311 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:39:09.311 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:39:09.311 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 245, tp general"] ["take time"=4.469µs] [2024/05/06 16:39:09.311 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 246, tp add index"] ["take time"=1.995µs] [2024/05/06 16:39:09.312 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:39:09.312 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:39:09.312 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=0f4556af-e040-47a1-bf8a-f2ea11f06ce4] ["take time"=812.647112ms] [2024/05/06 16:39:09.312 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=0f4556af-e040-47a1-bf8a-f2ea11f06ce4] [2024/05/06 16:39:09.312 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:39:09.312 +08:00] [INFO] [domain.go:1748] ["dumpFileGcChecker exited."] [2024/05/06 16:39:09.312 +08:00] [INFO] [domain.go:1444] ["LoadSysVarCacheLoop exited."] [2024/05/06 16:39:09.312 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:39:09.312 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:39:09.312 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:39:09.312 +08:00] [INFO] [domain.go:1394] ["loadPrivilegeInLoop exited."] [2024/05/06 16:39:09.312 +08:00] [INFO] [domain.go:1525] ["globalBindHandleWorkerLoop exited."] [2024/05/06 16:39:09.312 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:39:09.312 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:39:09.312 +08:00] [INFO] [domain.go:1569] ["handleEvolvePlanTasksLoop exited."] [2024/05/06 16:39:09.312 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:39:09.312 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:39:09.312 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:39:09.312 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:39:09.312 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:39:09.317 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=817.490043ms] [2024/05/06 16:39:09.318 +08:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 16:39:09.318 +08:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 16:39:09.318 +08:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 16:39:09.318 +08:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 16:39:09.318 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 16:39:09.319 +08:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestSnapshotInterceptor (15.11s) === RUN TestRcTSOCmdCountForPrepareExecuteExtra [2024/05/06 16:39:09.341 +08:00] [INFO] [region_cache.go:2484] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 16:39:09.344 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:39:09.344 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:39:09.349 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:39:09.349 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:39:09.353 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:39:09.354 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=7f6a167e-97ac-466c-944a-3217121132b2] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 16:39:09.355 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).Init\n\tdomain/domain.go:1074\ngithub.com/pingcap/tidb/session.(*domainMap).Get.func1\n\tsession/tidb.go:90\ngithub.com/pingcap/tidb/util.RunWithRetry\n\tutil/misc.go:69\ngithub.com/pingcap/tidb/session.(*domainMap).Get\n\tsession/tidb.go:76\ngithub.com/pingcap/tidb/session.createSessionWithOpt\n\tsession/session.go:3520\ngithub.com/pingcap/tidb/session.createSession\n\tsession/session.go:3516\ngithub.com/pingcap/tidb/session.runInBootstrapSession\n\tsession/session.go:3480\ngithub.com/pingcap/tidb/session.BootstrapSession\n\tsession/session.go:3309\ngithub.com/pingcap/tidb/testkit.bootstrap\n\ttestkit/mockstore.go:84\ngithub.com/pingcap/tidb/testkit.CreateMockStoreAndDomain\n\ttestkit/mockstore.go:69\ngithub.com/pingcap/tidb/testkit.CreateMockStore\n\ttestkit/mockstore.go:61\nsessiontxn/sessiontxn_test_test.TestRcTSOCmdCountForPrepareExecuteExtra\n\tsessiontxn/txn_rc_tso_optimize_test.go:152\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1446\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:39:09.372 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=16.080734ms] [2024/05/06 16:39:09.375 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:39:09.375 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=f909683f-be46-42d4-8318-8f40b9a4d57a] [runWorker=true] [2024/05/06 16:39:09.375 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:39:09.376 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:39:09.376 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 247, tp general"] [2024/05/06 16:39:09.376 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 248, tp add index"] [2024/05/06 16:39:09.376 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:39:09.376 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:39:09.376 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:39:09.376 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:39:09.381 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 16:39:09.396 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:09.388 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:09.396 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:39:09.388 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 16:39:09.628 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:39:09.878 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:39:10.128 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:39:10.377 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:39:10.417 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:09.388 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:10.454 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=15.591041ms] [2024/05/06 16:39:10.457 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:39:10.477 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:10.477 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=3] [version=1] [2024/05/06 16:39:10.479 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=40.828953ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:39:09.388 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:10.511 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:09.388 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:10.529 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=3] [2024/05/06 16:39:10.530 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:10.531 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.150548157\n# Parse_time: 0\n# Compile_time: 0.000500292\n# Rewrite_time: 0.000006197\n# Optimize_time: 0\n# Wait_TS: 0.000047342\n# DB: mysql\n# Is_internal: true\n# Digest: 0a22979ad136f741465cf206b13e5717b9758dda34f7cae5a7a925f91711d6a0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse mysql;\nCREATE DATABASE IF NOT EXISTS test;"] [2024/05/06 16:39:10.533 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 16:39:10.562 +08:00] [INFO] [session.go:3817] ["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 16:39:10.698 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:10.575 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:10.698 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:10.575 +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 16:39:10.736 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:10.575 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:11.031 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=5.510536ms] [phyTblIDs="[4]"] [actionTypes="[8]"] [2024/05/06 16:39:11.077 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:11.077 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=5] [version=2] [2024/05/06 16:39:11.078 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=52.564736ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:10.575 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:11.115 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:10.575 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:11.272 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=5] [2024/05/06 16:39:11.273 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:11.274 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.720396361\n# Parse_time: 0\n# Compile_time: 0.009197057\n# Rewrite_time: 0.000009532\n# Optimize_time: 0\n# Wait_TS: 0.000065755\n# DB: mysql\n# Is_internal: true\n# Digest: 14c6b489558060bdbede877927034270db5af07c6621aa28f87eeaec8727e925\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.user ( Host CHAR(255), User CHAR(32), authentication_string TEXT, plugin CHAR(64), Select_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Insert_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Update_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Delete_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Process_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Grant_priv ENUM('N','Y') NOT NULL DEFAULT 'N', References_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_db_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Super_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Index_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_user_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Event_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_slave_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_client_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Trigger_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Account_locked ENUM('N','Y') NOT NULL DEFAULT 'N', Shutdown_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Reload_priv ENUM('N','Y') NOT NULL DEFAULT 'N', FILE_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Config_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N', Password_reuse_history smallint unsigned DEFAULT NULL, Password_reuse_time smallint unsigned DEFAULT NULL, User_attributes json, Token_issuer VARCHAR(255), Password_expired ENUM('N','Y') NOT NULL DEFAULT 'N', Password_last_changed TIMESTAMP DEFAULT CURRENT_TIMESTAMP(), Password_lifetime SMALLINT UNSIGNED DEFAULT NULL, PRIMARY KEY (Host, User));"] [2024/05/06 16:39:11.279 +08:00] [INFO] [session.go:3817] ["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 16:39:11.319 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:11.287 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:11.320 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:11.287 +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 16:39:11.357 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:11.287 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:11.376 +08:00] [INFO] [info.go:1114] [SetTiFlashGroupConfig] [2024/05/06 16:39:11.413 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=1.603969ms] [phyTblIDs="[6]"] [actionTypes="[8]"] [2024/05/06 16:39:11.428 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:11.428 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=7] [version=3] [2024/05/06 16:39:11.429 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=18.135005ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:11.287 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:11.475 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:11.287 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:11.515 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=7] [2024/05/06 16:39:11.515 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:11.519 +08:00] [INFO] [session.go:3817] ["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 16:39:11.553 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:11.528 +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 16:39:11.553 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:11.528 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:11.588 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:11.528 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:11.637 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=1.090914ms] [phyTblIDs="[8]"] [actionTypes="[8]"] [2024/05/06 16:39:11.677 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:11.677 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=9] [version=4] [2024/05/06 16:39:11.677 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=48.132966ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:11.528 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:11.704 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:11.528 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:11.736 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=9] [2024/05/06 16:39:11.736 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:11.751 +08:00] [INFO] [session.go:3817] ["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),\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 16:39:11.840 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:11.763 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:11.840 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:11.763 +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),\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 16:39:11.886 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:11.763 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:12.052 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=3.911191ms] [phyTblIDs="[10]"] [actionTypes="[8]"] [2024/05/06 16:39:12.077 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:12.077 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=11] [version=5] [2024/05/06 16:39:12.078 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=30.465076ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:11.763 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:12.108 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:11.763 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:12.226 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=11] [2024/05/06 16:39:12.226 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:12.228 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.483661621\n# Parse_time: 0\n# Compile_time: 0.006760075\n# Rewrite_time: 0.000010688\n# Optimize_time: 0\n# Wait_TS: 0.000065292\n# DB: mysql\n# Is_internal: true\n# Digest: aeaf612801484f0311f850d36f60f29e6d904828682c1f3bb7307dff25ca3a15\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.db ( Host CHAR(255), DB CHAR(64), User CHAR(32), Select_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Insert_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Update_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Delete_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Grant_priv ENUM('N','Y') NOT NULL DEFAULT 'N', References_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Index_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Event_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Trigger_priv ENUM('N','Y') NOT NULL DEFAULT 'N', PRIMARY KEY (Host, DB, User));"] [2024/05/06 16:39:12.233 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:39:12.302 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:12.243 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:12.302 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:12.243 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:39:12.342 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:12.243 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:12.428 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=1.784097ms] [phyTblIDs="[12]"] [actionTypes="[8]"] [2024/05/06 16:39:12.478 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:12.478 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=13] [version=6] [2024/05/06 16:39:12.480 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=54.521887ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:12.243 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:12.513 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:12.243 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:12.567 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=13] [2024/05/06 16:39:12.567 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:12.568 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.337707097\n# Parse_time: 0\n# Compile_time: 0.002296621\n# Rewrite_time: 0.000013233\n# Optimize_time: 0\n# Wait_TS: 0.000049928\n# DB: mysql\n# Is_internal: true\n# Digest: e8b37dad6cc7f05ee1f0be61455667495826928a93ddd09b94e02fbaed113955\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tables_priv ( Host CHAR(255), DB CHAR(64), User CHAR(32), Table_name CHAR(64), Grantor CHAR(77), Timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, Table_priv SET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'), Column_priv SET('Select','Insert','Update','References'), PRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 16:39:12.572 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:39:12.615 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:12.579 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:12.615 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:12.579 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:39:12.651 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:12.579 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:12.722 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=1.792604ms] [phyTblIDs="[14]"] [actionTypes="[8]"] [2024/05/06 16:39:12.777 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:12.777 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=15] [version=7] [2024/05/06 16:39:12.778 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=58.167887ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:12.579 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:12.805 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:12.579 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:12.852 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=15] [2024/05/06 16:39:12.852 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:12.855 +08:00] [INFO] [session.go:3817] ["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(1024) DEFAULT NULL);"] [user=] [2024/05/06 16:39:12.890 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:12.864 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:12.890 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:12.864 +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(1024) DEFAULT NULL);"] [2024/05/06 16:39:12.923 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:12.864 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:12.959 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=1.051017ms] [phyTblIDs="[16]"] [actionTypes="[8]"] [2024/05/06 16:39:12.977 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:12.977 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=17] [version=8] [2024/05/06 16:39:12.978 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=20.358031ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:12.864 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:13.003 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:12.864 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:13.031 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=17] [2024/05/06 16:39:13.031 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:13.036 +08:00] [INFO] [session.go:3817] ["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 16:39:13.086 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:13.043 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:13.086 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:13.043 +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 16:39:13.124 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:13.043 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:13.176 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=1.196487ms] [phyTblIDs="[18]"] [actionTypes="[8]"] [2024/05/06 16:39:13.227 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:13.227 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=19] [version=9] [2024/05/06 16:39:13.229 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=54.20299ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:13.043 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:13.258 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:13.043 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:13.290 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=19] [2024/05/06 16:39:13.290 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:13.297 +08:00] [INFO] [session.go:3817] ["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 16:39:13.336 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:13.306 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:13.336 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:13.306 +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 16:39:13.379 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:13.306 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:13.463 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=1.430104ms] [phyTblIDs="[20]"] [actionTypes="[8]"] [2024/05/06 16:39:13.477 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:13.478 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=21] [version=10] [2024/05/06 16:39:13.480 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=18.215602ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:13.306 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:13.509 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:13.306 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:13.552 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=21] [2024/05/06 16:39:13.552 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:13.557 +08:00] [INFO] [session.go:3817] ["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 16:39:13.597 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:13.566 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:13.597 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:13.566 +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 16:39:13.636 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:13.566 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:13.692 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=1.466034ms] [phyTblIDs="[22]"] [actionTypes="[8]"] [2024/05/06 16:39:13.727 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:13.727 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=23] [version=11] [2024/05/06 16:39:13.728 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=38.576506ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:13.566 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:13.760 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:13.566 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:13.803 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=23] [2024/05/06 16:39:13.803 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:13.811 +08:00] [INFO] [session.go:3817] ["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 16:39:13.812 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [2024/05/06 16:39:13.886 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:13.819 +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 16:39:13.886 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:13.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:13.924 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:13.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:14.022 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=2.307296ms] [phyTblIDs="[24]"] [actionTypes="[8]"] [2024/05/06 16:39:14.077 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:14.077 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=25] [version=12] [2024/05/06 16:39:14.078 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=58.353469ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:13.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:14.116 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:13.819 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:14.177 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=25] [2024/05/06 16:39:14.177 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:14.178 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.370010645\n# Parse_time: 0\n# Compile_time: 0.002887646\n# Rewrite_time: 0.00001149\n# Optimize_time: 0\n# Wait_TS: 0.000055174\n# DB: mysql\n# Is_internal: true\n# Digest: 7780c45a0aac5f123ac85a7e601e79c5d7779e7c09a19953908e547605ed45d2\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_histograms ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, distinct_count BIGINT(64) NOT NULL, null_count BIGINT(64) NOT NULL DEFAULT 0, tot_col_size BIGINT(64) NOT NULL DEFAULT 0, modify_count BIGINT(64) NOT NULL DEFAULT 0, version BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, cm_sketch BLOB(6291456), stats_ver BIGINT(64) NOT NULL DEFAULT 0, flag BIGINT(64) NOT NULL DEFAULT 0, correlation DOUBLE NOT NULL DEFAULT 0, last_analyze_pos LONGBLOB DEFAULT NULL, UNIQUE INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:39:14.182 +08:00] [INFO] [session.go:3817] ["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 16:39:14.247 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:14.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:14.247 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:14.191 +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 16:39:14.289 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:14.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:14.389 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=1.821167ms] [phyTblIDs="[26]"] [actionTypes="[8]"] [2024/05/06 16:39:14.427 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:14.427 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=27] [version=13] [2024/05/06 16:39:14.428 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=46.547666ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:14.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:14.461 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:14.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:14.511 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=27] [2024/05/06 16:39:14.512 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:14.513 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.331998263\n# Parse_time: 0\n# Compile_time: 0.001924153\n# Rewrite_time: 0.000008387\n# Optimize_time: 0\n# Wait_TS: 0.000066082\n# DB: mysql\n# Is_internal: true\n# Digest: 5615b5212342304015b027afb253371dae02f19e53871cfbb034deb145dfce32\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_buckets ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, bucket_id BIGINT(64) NOT NULL, count BIGINT(64) NOT NULL, repeats BIGINT(64) NOT NULL, upper_bound LONGBLOB NOT NULL, lower_bound LONGBLOB , ndv BIGINT NOT NULL DEFAULT 0, UNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id) );"] [2024/05/06 16:39:14.517 +08:00] [INFO] [session.go:3817] ["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 16:39:14.555 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:14.527 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:14.555 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:14.527 +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 16:39:14.600 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:14.527 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:14.663 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=2.243665ms] [phyTblIDs="[28]"] [actionTypes="[8]"] [2024/05/06 16:39:14.678 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:14.678 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=29] [version=14] [2024/05/06 16:39:14.679 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=18.255444ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:14.527 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:14.711 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:14.527 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:14.777 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=29] [2024/05/06 16:39:14.777 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:14.784 +08:00] [INFO] [session.go:3817] ["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 16:39:14.834 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:14.793 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:14.834 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:14.793 +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 16:39:14.880 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:14.793 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:14.946 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=2.150993ms] [phyTblIDs="[30]"] [actionTypes="[8]"] [2024/05/06 16:39:14.977 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:14.977 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=31] [version=15] [2024/05/06 16:39:14.978 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=34.744686ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:14.793 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:15.008 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:14.793 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:15.048 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=31] [2024/05/06 16:39:15.048 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:15.052 +08:00] [INFO] [session.go:3817] ["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 16:39:15.090 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:15.059 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:15.090 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:15.059 +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 16:39:15.132 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:15.059 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:15.179 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=2.002919ms] [phyTblIDs="[32]"] [actionTypes="[8]"] [2024/05/06 16:39:15.227 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:15.227 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=33] [version=16] [2024/05/06 16:39:15.229 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=52.438983ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:15.059 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:15.267 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:15.059 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:15.301 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=33] [2024/05/06 16:39:15.301 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:15.307 +08:00] [INFO] [session.go:3817] ["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 16:39:15.344 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:15.316 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:15.344 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:15.316 +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 16:39:15.382 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:15.316 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:15.442 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=1.561281ms] [phyTblIDs="[34]"] [actionTypes="[8]"] [2024/05/06 16:39:15.477 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:15.477 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=35] [version=17] [2024/05/06 16:39:15.478 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=38.778037ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:15.316 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:15.514 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:15.316 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:15.557 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=35] [2024/05/06 16:39:15.557 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:15.564 +08:00] [INFO] [session.go:3817] ["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 16:39:15.628 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:15.6 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:15.628 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:15.6 +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 16:39:15.665 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:15.6 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:15.725 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=2.214022ms] [phyTblIDs="[36]"] [actionTypes="[8]"] [2024/05/06 16:39:15.777 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:15.777 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=37] [version=18] [2024/05/06 16:39:15.779 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=56.926769ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:15.6 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:15.814 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:15.6 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:15.857 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=37] [2024/05/06 16:39:15.858 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:15.866 +08:00] [INFO] [session.go:3817] ["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 16:39:15.922 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:15.875 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:15.922 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:15.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 16:39:15.964 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:15.875 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:16.052 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=2.135898ms] [phyTblIDs="[38]"] [actionTypes="[8]"] [2024/05/06 16:39:16.078 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:16.078 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=39] [version=19] [2024/05/06 16:39:16.080 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=30.286804ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:15.875 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:16.109 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:15.875 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:16.168 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=39] [2024/05/06 16:39:16.168 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:16.169 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.306551545\n# Parse_time: 0\n# Compile_time: 0.003000361\n# Rewrite_time: 0.000011673\n# Optimize_time: 0\n# Wait_TS: 0.000067147\n# DB: mysql\n# Is_internal: true\n# Digest: 0a4bc55a9ab72ef62ddaa1ee6472d7872306066fd783a8bb67047a497fbb4dbe\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.bind_info ( original_sql TEXT NOT NULL, bind_sql TEXT NOT NULL, default_db TEXT NOT NULL, status TEXT NOT NULL, create_time TIMESTAMP(3) NOT NULL, update_time TIMESTAMP(3) NOT NULL, charset TEXT NOT NULL, collation TEXT NOT NULL, source VARCHAR(10) NOT NULL DEFAULT 'unknown', sql_digest varchar(64), plan_digest varchar(64), INDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\", INDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\" ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 16:39:16.187 +08:00] [INFO] [session.go:3817] ["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 16:39:16.224 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:16.197 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:16.224 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:16.197 +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 16:39:16.272 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:16.197 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:16.326 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=1.915193ms] [phyTblIDs="[40]"] [actionTypes="[8]"] [2024/05/06 16:39:16.377 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:16.377 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=41] [version=20] [2024/05/06 16:39:16.379 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=56.203284ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:16.197 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:16.438 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:16.197 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:16.500 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=41] [2024/05/06 16:39:16.500 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:16.501 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.316126297\n# Parse_time: 0\n# Compile_time: 0.002281343\n# Rewrite_time: 0.000011961\n# Optimize_time: 0\n# Wait_TS: 0.00007632\n# DB: mysql\n# Is_internal: true\n# Digest: 04a90564803373a6eb3f5a52e8794d25c4d28f6c18af7899b0b9f1bf1539ec72\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_top_n ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, value LONGBLOB, count BIGINT(64) UNSIGNED NOT NULL, INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:39:16.503 +08:00] [INFO] [session.go:3817] ["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 16:39:16.542 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:16.511 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:16.542 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:16.511 +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 16:39:16.587 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:16.511 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:16.627 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=1.091804ms] [phyTblIDs="[42]"] [actionTypes="[8]"] [2024/05/06 16:39:16.677 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:16.677 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=43] [version=21] [2024/05/06 16:39:16.677 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=52.289037ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:16.511 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:16.707 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:16.511 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:16.739 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=43] [2024/05/06 16:39:16.739 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:16.743 +08:00] [INFO] [session.go:3817] ["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 16:39:16.773 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:16.752 +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 16:39:16.773 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:16.752 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:16.812 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:16.752 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:16.842 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=1.276599ms] [phyTblIDs="[44]"] [actionTypes="[8]"] [2024/05/06 16:39:16.877 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:16.877 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=45] [version=22] [2024/05/06 16:39:16.879 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=38.695193ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:16.752 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:16.906 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:16.752 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:16.929 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=45] [2024/05/06 16:39:16.930 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:16.936 +08:00] [INFO] [session.go:3817] ["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 16:39:16.989 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:16.946 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:16.989 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:16.946 +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 16:39:17.031 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:16.946 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:17.109 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=1.851786ms] [phyTblIDs="[46]"] [actionTypes="[8]"] [2024/05/06 16:39:17.127 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:17.127 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=47] [version=23] [2024/05/06 16:39:17.129 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=22.733097ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:16.946 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:17.166 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:16.946 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:17.217 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=47] [2024/05/06 16:39:17.217 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:17.221 +08:00] [INFO] [session.go:3817] ["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 16:39:17.258 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:17.229 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:17.258 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:17.229 +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 16:39:17.293 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:17.229 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:17.371 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=1.50891ms] [phyTblIDs="[48]"] [actionTypes="[8]"] [2024/05/06 16:39:17.427 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:17.427 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=49] [version=24] [2024/05/06 16:39:17.429 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=60.271873ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:17.229 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:17.459 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:17.229 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:17.498 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=49] [2024/05/06 16:39:17.498 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:17.503 +08:00] [INFO] [session.go:3817] ["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 16:39:17.538 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:17.512 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:17.538 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:17.512 +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 16:39:17.573 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:17.512 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:17.625 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=2.174738ms] [phyTblIDs="[50]"] [actionTypes="[8]"] [2024/05/06 16:39:17.677 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:17.677 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=51] [version=25] [2024/05/06 16:39:17.679 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=56.988255ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:17.512 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:17.707 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:17.512 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:17.759 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=51] [2024/05/06 16:39:17.759 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:17.763 +08:00] [INFO] [session.go:3817] ["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 16:39:17.796 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:17.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:17.796 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:17.771 +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 16:39:17.831 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:17.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:17.887 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=1.350562ms] [phyTblIDs="[52]"] [actionTypes="[8]"] [2024/05/06 16:39:17.927 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:17.927 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=53] [version=26] [2024/05/06 16:39:17.928 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=50.547081ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:17.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:17.963 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:17.771 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:17.998 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=53] [2024/05/06 16:39:17.998 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:18.002 +08:00] [INFO] [session.go:3817] ["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 16:39:18.046 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:18.01 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:18.046 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:18.01 +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 16:39:18.089 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:18.01 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:18.146 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=1.969036ms] [phyTblIDs="[54]"] [actionTypes="[8]"] [2024/05/06 16:39:18.177 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:18.177 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=55] [version=27] [2024/05/06 16:39:18.178 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=34.416312ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:18.01 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:18.209 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:18.01 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:18.269 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=55] [2024/05/06 16:39:18.269 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:18.274 +08:00] [INFO] [session.go:3817] ["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 16:39:18.316 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:18.282 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:18.316 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:18.282 +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 16:39:18.360 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:18.282 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:18.413 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=1.335491ms] [phyTblIDs="[56]"] [actionTypes="[8]"] [2024/05/06 16:39:18.427 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:18.427 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=57] [version=28] [2024/05/06 16:39:18.428 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=16.397986ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:18.282 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:18.459 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:18.282 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:18.493 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=57] [2024/05/06 16:39:18.493 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:18.501 +08:00] [INFO] [session.go:3817] ["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 16:39:18.537 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:18.511 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:18.537 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:18.511 +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 16:39:18.580 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:18.511 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:18.627 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=1.830366ms] [phyTblIDs="[58]"] [actionTypes="[8]"] [2024/05/06 16:39:18.677 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:18.677 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=59] [version=29] [2024/05/06 16:39:18.679 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=54.450826ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:18.511 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:18.707 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:18.511 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:18.744 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=59] [2024/05/06 16:39:18.745 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:18.750 +08:00] [INFO] [session.go:3817] ["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 16:39:18.752 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [2024/05/06 16:39:18.805 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:18.758 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:18.805 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:18.758 +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 16:39:18.839 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:18.758 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:18.906 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=1.798038ms] [phyTblIDs="[60]"] [actionTypes="[8]"] [2024/05/06 16:39:18.927 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:18.928 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=61] [version=30] [2024/05/06 16:39:18.929 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=24.433118ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:18.758 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:18.961 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:18.758 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:19.006 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=61] [2024/05/06 16:39:19.006 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:19.012 +08:00] [INFO] [session.go:3817] ["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\t);"] [user=] [2024/05/06 16:39:19.076 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:19.021 +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\t);"] [2024/05/06 16:39:19.076 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:19.021 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:19.114 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:19.021 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:19.179 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=1.601657ms] [phyTblIDs="[62]"] [actionTypes="[8]"] [2024/05/06 16:39:19.227 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:19.227 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=63] [version=31] [2024/05/06 16:39:19.229 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=52.272503ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:19.021 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:19.264 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:19.021 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:19.315 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=63] [2024/05/06 16:39:19.316 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:19.317 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.306456949\n# Parse_time: 0\n# Compile_time: 0.001892813\n# Rewrite_time: 0.000009\n# Optimize_time: 0\n# Wait_TS: 0.000049767\n# DB: mysql\n# Is_internal: true\n# Digest: 11757f6de6b3d2a64e92f14cd7b7f739729563ede3b0139d016148eba0b27ebf\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_history ( table_id bigint(64) NOT NULL, stats_data longblob NOT NULL, seq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice', version bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN', create_time datetime(6) NOT NULL, UNIQUE KEY table_version_seq (table_id, version, seq_no), KEY table_create_time (table_id, create_time, seq_no) );"] [2024/05/06 16:39:19.323 +08:00] [INFO] [session.go:3817] ["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\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\t);"] [user=] [2024/05/06 16:39:19.365 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:19.331 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:19.365 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:19.331 +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\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\t);"] [2024/05/06 16:39:19.401 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:19.331 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:19.467 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=1.500537ms] [phyTblIDs="[64]"] [actionTypes="[8]"] [2024/05/06 16:39:19.477 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:19.477 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=65] [version=32] [2024/05/06 16:39:19.478 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=12.858889ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:19.331 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:19.507 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:19.331 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:19.548 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=65] [2024/05/06 16:39:19.548 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:19.556 +08:00] [INFO] [session.go:3817] ["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 16:39:19.630 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:19.564 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:19.630 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:19.564 +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 16:39:19.664 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:19.564 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:19.759 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=2.20192ms] [phyTblIDs="[66]"] [actionTypes="[8]"] [2024/05/06 16:39:19.777 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:19.777 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=67] [version=33] [2024/05/06 16:39:19.779 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=22.426664ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:19.564 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:19.807 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:19.564 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:19.919 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=67] [2024/05/06 16:39:19.919 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:19.921 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.367366578\n# Parse_time: 0\n# Compile_time: 0.002978408\n# Rewrite_time: 0.00000764\n# Optimize_time: 0\n# Wait_TS: 0.000059523\n# DB: mysql\n# Is_internal: true\n# Digest: bfb9a3ff60c3c60c054a207c0a0db06c87e29edbe94005d8d5c89fe484f4f90a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.analyze_jobs ( id BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT, update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, table_schema CHAR(64) NOT NULL DEFAULT '', table_name CHAR(64) NOT NULL DEFAULT '', partition_name CHAR(64) NOT NULL DEFAULT '', job_info TEXT NOT NULL, processed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, start_time TIMESTAMP, end_time TIMESTAMP, state ENUM('pending', 'running', 'finished', 'failed') NOT NULL, fail_reason TEXT, instance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job', process_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job', PRIMARY KEY (id), KEY (update_time) );"] [2024/05/06 16:39:19.923 +08:00] [INFO] [session.go:3817] ["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 16:39:19.947 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:19.931 +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 16:39:19.947 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:19.931 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:19.986 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:19.931 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:20.017 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=943.098µs] [phyTblIDs="[68]"] [actionTypes="[8]"] [2024/05/06 16:39:20.027 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:20.027 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=69] [version=34] [2024/05/06 16:39:20.029 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=12.868869ms] [job="ID:69, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:19.931 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:20.064 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:69, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:19.931 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:20.101 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=69] [2024/05/06 16:39:20.101 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:20.166 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:39:20.121 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] [2024/05/06 16:39:20.166 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:20.121 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:20.206 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:20.121 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:20.273 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=1.529154ms] [phyTblIDs="[70]"] [actionTypes="[2097152]"] [2024/05/06 16:39:20.327 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:20.327 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=71] [version=35] [2024/05/06 16:39:20.328 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=56.105994ms] [job="ID:71, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:39:20.121 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:20.357 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:71, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:20.121 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:20.404 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=71] [2024/05/06 16:39:20.404 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:20.411 +08:00] [INFO] [session.go:3817] ["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 16:39:20.452 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:20.421 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:20.452 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:20.421 +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 16:39:20.486 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:20.421 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:20.548 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=1.458335ms] [phyTblIDs="[72]"] [actionTypes="[8]"] [2024/05/06 16:39:20.577 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:20.577 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=73] [version=36] [2024/05/06 16:39:20.578 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=32.176813ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:20.421 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:20.612 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:20.421 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:20.683 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=73] [2024/05/06 16:39:20.683 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:20.687 +08:00] [INFO] [session.go:3817] ["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 16:39:20.734 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:20.695 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:20.734 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:20.695 +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 16:39:20.782 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:20.695 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:20.825 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=1.251371ms] [phyTblIDs="[74]"] [actionTypes="[8]"] [2024/05/06 16:39:20.878 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:20.878 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=75] [version=37] [2024/05/06 16:39:20.880 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=56.725862ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:20.695 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:20.912 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:20.695 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:20.947 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=75] [2024/05/06 16:39:20.947 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:20.952 +08:00] [INFO] [session.go:3817] ["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 16:39:20.986 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:20.96 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:20.986 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:20.96 +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 16:39:21.025 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:20.96 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:21.079 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=1.946014ms] [phyTblIDs="[76]"] [actionTypes="[8]"] [2024/05/06 16:39:21.127 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:21.127 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=77] [version=38] [2024/05/06 16:39:21.129 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=38] ["take time"=52.77686ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:20.96 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:21.159 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:20.96 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:21.193 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=77] [2024/05/06 16:39:21.194 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:21.202 +08:00] [INFO] [session.go:3817] ["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 16:39:21.269 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:21.21 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:21.270 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:21.21 +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 16:39:21.309 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 249, tp general"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:21.21 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:21.471 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=2.531279ms] [phyTblIDs="[78]"] [actionTypes="[8]"] [2024/05/06 16:39:21.527 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:21.527 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=79] [version=39] [2024/05/06 16:39:21.529 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=39] ["take time"=61.066202ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:21.21 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:21.562 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 249, tp general"] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:21.21 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:21.658 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=79] [2024/05/06 16:39:21.658 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:21.659 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.459296699\n# Parse_time: 0\n# Compile_time: 0.002878381\n# Rewrite_time: 0.000007463\n# Optimize_time: 0\n# Wait_TS: 0.00005328\n# DB: mysql\n# Is_internal: true\n# Digest: a30bd3c3a49070c554e65922e84c6b76e646842e3925a859fcde73941a7cb423\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status ( table_id bigint(64) PRIMARY KEY, parent_table_id bigint(64), table_statistics text DEFAULT NULL, last_job_id varchar(64) DEFAULT NULL, last_job_start_time timestamp NULL DEFAULT NULL, last_job_finish_time timestamp NULL DEFAULT NULL, last_job_ttl_expire timestamp NULL DEFAULT NULL, last_job_summary text DEFAULT NULL, current_job_id varchar(64) DEFAULT NULL, current_job_owner_id varchar(64) DEFAULT NULL, current_job_owner_addr varchar(256) DEFAULT NULL, current_job_owner_hb_time timestamp, current_job_start_time timestamp NULL DEFAULT NULL, current_job_ttl_expire timestamp NULL DEFAULT NULL, current_job_state text DEFAULT NULL, current_job_status varchar(64) DEFAULT NULL, current_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 16:39:22.152 +08:00] [INFO] [bootstrap.go:529] ["bootstrap successful"] ["take time"=12.775741212s] [2024/05/06 16:39:22.153 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:39:22.153 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 259, tp add index"] ["take time"=20.995µs] [2024/05/06 16:39:22.153 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 250, tp add index"] ["take time"=15.627µs] [2024/05/06 16:39:22.154 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 251, tp add index"] ["take time"=14.25µs] [2024/05/06 16:39:22.154 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 252, tp add index"] ["take time"=16.626µs] [2024/05/06 16:39:22.154 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 253, tp add index"] ["take time"=20.527µs] [2024/05/06 16:39:22.154 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 254, tp add index"] ["take time"=26.338µs] [2024/05/06 16:39:22.154 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 255, tp add index"] ["take time"=19.146µs] [2024/05/06 16:39:22.154 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 256, tp add index"] ["take time"=18.036µs] [2024/05/06 16:39:22.154 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 257, tp add index"] ["take time"=17.067µs] [2024/05/06 16:39:22.154 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 258, tp add index"] ["take time"=21.399µs] [2024/05/06 16:39:22.154 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:39:22.154 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 249, tp general"] ["take time"=10.243µs] [2024/05/06 16:39:22.154 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 247, tp general"] ["take time"=6.673µs] [2024/05/06 16:39:22.154 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 248, tp add index"] ["take time"=1.549µs] [2024/05/06 16:39:22.154 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:39:22.155 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:39:22.160 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=f909683f-be46-42d4-8318-8f40b9a4d57a] ["take time"=7.072411ms] [2024/05/06 16:39:22.160 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=f909683f-be46-42d4-8318-8f40b9a4d57a] [2024/05/06 16:39:22.160 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:39:22.160 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:39:22.160 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:39:22.160 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:39:22.160 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:39:22.160 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:39:22.161 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=7.461342ms] [2024/05/06 16:39:22.161 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=7f6a167e-97ac-466c-944a-3217121132b2] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 16:39:22.221 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=39] ["start time"=59.508201ms] [2024/05/06 16:39:22.224 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:39:22.225 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=b9850a79-0d4d-4cf1-8c3a-4f08fb8262d0] [runWorker=true] [2024/05/06 16:39:22.225 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:39:22.225 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:39:22.225 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 260, tp general"] [2024/05/06 16:39:22.226 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 261, tp add index"] [2024/05/06 16:39:22.245 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:39:22.245 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:39:22.245 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:39:22.246 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:39:22.267 +08:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 16:39:22.465 +08:00] [INFO] [set.go:160] ["set global var"] [conn=101] [name=transaction_isolation] [val=READ-COMMITTED] [2024/05/06 16:39:22.523 +08:00] [INFO] [set.go:160] ["set global var"] [conn=101] [name=tx_isolation] [val=READ-COMMITTED] [2024/05/06 16:39:22.529 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=102] [schemaVersion=39] [cur_db=test] [sql="drop table if exists t1"] [user=] [2024/05/06 16:39:22.530 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=102] [schemaVersion=39] [cur_db=test] [sql="drop table if exists t2"] [user=] [2024/05/06 16:39:22.532 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=102] [schemaVersion=39] [cur_db=test] [sql="create table t1(id1 int, id2 int, id3 int, PRIMARY KEY(id1), UNIQUE KEY udx_id2 (id2))"] [user=] [2024/05/06 16:39:22.565 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:22.54 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:22.565 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:22.54 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t1(id1 int, id2 int, id3 int, PRIMARY KEY(id1), UNIQUE KEY udx_id2 (id2))"] [2024/05/06 16:39:23.266 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 262, tp general"] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:22.54 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:23.312 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=1.266638ms] [phyTblIDs="[80]"] [actionTypes="[8]"] [2024/05/06 16:39:23.346 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=81] [version=40] [2024/05/06 16:39:23.349 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=40] ["take time"=38.249459ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:22.54 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:23.379 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 262, tp general"] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:22.54 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:23.419 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=81] [2024/05/06 16:39:23.419 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:23.420 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Conn_ID: 102\n# Query_time: 0.889448637\n# Parse_time: 0.000898242\n# Compile_time: 0.000698685\n# Rewrite_time: 0.00000611\n# Optimize_time: 0.000284859\n# Wait_TS: 0.000039864\n# DB: test\n# Is_internal: false\n# Digest: 54f48162a477925f3e5af75acc67167b75c3c3ff88049c2b29372f0e6105a112\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse test;\ncreate table t1(id1 int, id2 int, id3 int, PRIMARY KEY(id1), UNIQUE KEY udx_id2 (id2));"] [2024/05/06 16:39:23.424 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=102] [schemaVersion=40] [cur_db=test] [sql="create table t2(id1 int, id2 int, id3 int, PRIMARY KEY(id1), UNIQUE KEY udx_id2 (id2))"] [user=] [2024/05/06 16:39:23.458 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:23.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:23.458 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:23.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t2(id1 int, id2 int, id3 int, PRIMARY KEY(id1), UNIQUE KEY udx_id2 (id2))"] [2024/05/06 16:39:23.497 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 262, tp general"] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:23.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:23.536 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=1.693949ms] [phyTblIDs="[82]"] [actionTypes="[8]"] [2024/05/06 16:39:23.596 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=83] [version=41] [2024/05/06 16:39:23.598 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=41] ["take time"=64.439414ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:23.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:23.629 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 262, tp general"] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:23.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:23.664 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=83] [2024/05/06 16:39:23.665 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:24.103 +08:00] [INFO] [region_request.go:1285] ["send request failed, err: context canceled"] [req-ts=449572966000230400] [req-type=Cop] [region="{ region id: 2, ver: 1, confVer: 1 }"] [region-is-valid=true] [retry-times=0] [replica-read-type=leader] [replica-selector-state=accessKnownLeader] [stale-read=false] [replica-status="peer: 3, store: 1, isEpochStale: false, attempts: 1, replica-epoch: 0, store-epoch: 0, store-state: resolved, store-liveness-state: reachable"] [total-backoff-ms=0] [total-backoff-times=0] [total-region-errors=] [2024/05/06 16:39:24.129 +08:00] [INFO] [region_request.go:1285] ["send request failed, err: context canceled"] [req-ts=449572966007046144] [req-type=Cop] [region="{ region id: 2, ver: 1, confVer: 1 }"] [region-is-valid=true] [retry-times=0] [replica-read-type=leader] [replica-selector-state=accessKnownLeader] [stale-read=false] [replica-status="peer: 3, store: 1, isEpochStale: false, attempts: 1, replica-epoch: 0, store-epoch: 0, store-state: resolved, store-liveness-state: reachable"] [total-backoff-ms=0] [total-backoff-times=0] [total-region-errors=] [2024/05/06 16:39:24.153 +08:00] [INFO] [region_request.go:1285] ["send request failed, err: context canceled"] [req-ts=449572966013599744] [req-type=Cop] [region="{ region id: 2, ver: 1, confVer: 1 }"] [region-is-valid=true] [retry-times=0] [replica-read-type=leader] [replica-selector-state=accessKnownLeader] [stale-read=false] [replica-status="peer: 3, store: 1, isEpochStale: false, attempts: 1, replica-epoch: 0, store-epoch: 0, store-state: resolved, store-liveness-state: reachable"] [total-backoff-ms=0] [total-backoff-times=0] [total-region-errors=] [2024/05/06 16:39:24.182 +08:00] [INFO] [region_request.go:1285] ["send request failed, err: context canceled"] [req-ts=449572966020939776] [req-type=Cop] [region="{ region id: 2, ver: 1, confVer: 1 }"] [region-is-valid=true] [retry-times=0] [replica-read-type=leader] [replica-selector-state=accessKnownLeader] [stale-read=false] [replica-status="peer: 3, store: 1, isEpochStale: false, attempts: 1, replica-epoch: 0, store-epoch: 0, store-state: resolved, store-liveness-state: reachable"] [total-backoff-ms=0] [total-backoff-times=0] [total-region-errors=] [2024/05/06 16:39:24.209 +08:00] [INFO] [region_request.go:1285] ["send request failed, err: context canceled"] [req-ts=449572966028017664] [req-type=Cop] [region="{ region id: 2, ver: 1, confVer: 1 }"] [region-is-valid=true] [retry-times=0] [replica-read-type=leader] [replica-selector-state=accessKnownLeader] [stale-read=false] [replica-status="peer: 3, store: 1, isEpochStale: false, attempts: 1, replica-epoch: 0, store-epoch: 0, store-state: resolved, store-liveness-state: reachable"] [total-backoff-ms=0] [total-backoff-times=0] [total-region-errors=] [2024/05/06 16:39:24.246 +08:00] [INFO] [info.go:1114] [SetTiFlashGroupConfig] [2024/05/06 16:39:24.607 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=102] [schemaVersion=41] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:39:24.625 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:85, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:3, start time: 2024-05-06 16:39:24.614 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:24.626 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:85, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:3, start time: 2024-05-06 16:39:24.614 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:39:24.661 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 262, tp general"] [job="ID:85, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:24.614 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:24.690 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=1.12656ms] [phyTblIDs="[80,84]"] [actionTypes="[2048,2048]"] [2024/05/06 16:39:24.746 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=85] [version=42] [2024/05/06 16:39:24.747 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=42] ["take time"=58.626068ms] [job="ID:85, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:24.614 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:24.772 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=85] [elementID=1] [comment="table ID is 80"] [2024/05/06 16:39:24.777 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=85] [jobType="truncate table"] [2024/05/06 16:39:24.780 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 262, tp general"] [job="ID:85, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:24.614 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:24.808 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=85] [elementID=1] [startKey=748000000000000050] [endKey=748000000000000051] [2024/05/06 16:39:24.829 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=85] [2024/05/06 16:39:24.829 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:24.880 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=102] [schemaVersion=42] [cur_db=test] [sql="truncate table t1"] [user=] [2024/05/06 16:39:24.896 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:87, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:84, RowCount:0, ArgLen:3, start time: 2024-05-06 16:39:24.888 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:24.896 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:87, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:84, RowCount:0, ArgLen:3, start time: 2024-05-06 16:39:24.888 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="truncate table t1"] [2024/05/06 16:39:24.929 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 262, tp general"] [job="ID:87, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:24.888 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:24.956 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=1.166613ms] [phyTblIDs="[84,86]"] [actionTypes="[2048,2048]"] [2024/05/06 16:39:24.996 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=87] [version=43] [2024/05/06 16:39:24.998 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=43] ["take time"=44.377982ms] [job="ID:87, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:24.888 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:25.025 +08:00] [INFO] [delete_range.go:440] ["[ddl] insert into delete-range table"] [jobID=87] [elementID=1] [comment="table ID is 84"] [2024/05/06 16:39:25.030 +08:00] [INFO] [delete_range.go:109] ["[ddl] add job into delete-range table"] [jobID=87] [jobType="truncate table"] [2024/05/06 16:39:25.032 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 262, tp general"] [job="ID:87, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:24.888 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:25.072 +08:00] [INFO] [delete_range.go:245] ["[ddl] delRange emulator complete task"] [jobID=87] [elementID=1] [startKey=748000000000000054] [endKey=748000000000000055] [2024/05/06 16:39:25.087 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=87] [2024/05/06 16:39:25.088 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:25.131 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:39:25.132 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 267, tp add index"] ["take time"=15.306µs] [2024/05/06 16:39:25.132 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 268, tp add index"] ["take time"=11.385µs] [2024/05/06 16:39:25.132 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 269, tp add index"] ["take time"=10.058µs] [2024/05/06 16:39:25.132 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 270, tp add index"] ["take time"=9.969µs] [2024/05/06 16:39:25.132 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 271, tp add index"] ["take time"=11.027µs] [2024/05/06 16:39:25.132 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 272, tp add index"] ["take time"=9.787µs] [2024/05/06 16:39:25.132 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 263, tp add index"] ["take time"=10.255µs] [2024/05/06 16:39:25.132 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 264, tp add index"] ["take time"=9.689µs] [2024/05/06 16:39:25.132 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 265, tp add index"] ["take time"=13.121µs] [2024/05/06 16:39:25.132 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 266, tp add index"] ["take time"=13.489µs] [2024/05/06 16:39:25.132 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:39:25.132 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 262, tp general"] ["take time"=11.051µs] [2024/05/06 16:39:25.132 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 260, tp general"] ["take time"=4.863µs] [2024/05/06 16:39:25.132 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 261, tp add index"] ["take time"=2.363µs] [2024/05/06 16:39:25.132 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:39:25.133 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:39:25.135 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=b9850a79-0d4d-4cf1-8c3a-4f08fb8262d0] ["take time"=3.203291ms] [2024/05/06 16:39:25.135 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=b9850a79-0d4d-4cf1-8c3a-4f08fb8262d0] [2024/05/06 16:39:25.135 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:39:25.135 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:39:25.135 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:39:25.135 +08:00] [INFO] [domain.go:1748] ["dumpFileGcChecker exited."] [2024/05/06 16:39:25.135 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:39:25.135 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:39:25.135 +08:00] [INFO] [domain.go:1525] ["globalBindHandleWorkerLoop exited."] [2024/05/06 16:39:25.135 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:39:25.135 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:39:25.135 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:39:25.135 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:39:25.135 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:39:25.135 +08:00] [INFO] [handle_hist.go:190] ["SubLoadWorker exited."] [2024/05/06 16:39:25.135 +08:00] [INFO] [domain.go:1444] ["LoadSysVarCacheLoop exited."] [2024/05/06 16:39:25.135 +08:00] [INFO] [domain.go:1394] ["loadPrivilegeInLoop exited."] [2024/05/06 16:39:25.135 +08:00] [INFO] [domain.go:1569] ["handleEvolvePlanTasksLoop exited."] [2024/05/06 16:39:25.138 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=6.884572ms] [2024/05/06 16:39:25.140 +08:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 16:39:25.140 +08:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 16:39:25.140 +08:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 16:39:25.140 +08:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 16:39:25.140 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 16:39:25.140 +08:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestRcTSOCmdCountForPrepareExecuteExtra (15.82s) === RUN TestRcTSOCmdCountForTextSQLExecuteExtra [2024/05/06 16:39:25.152 +08:00] [INFO] [region_cache.go:2484] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 16:39:25.155 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:39:25.155 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:39:25.160 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:39:25.160 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:39:25.164 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 16:39:25.166 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=bc95bb16-0326-465c-ac45-86bfcb6b18f0] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 16:39:25.167 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).Init\n\tdomain/domain.go:1074\ngithub.com/pingcap/tidb/session.(*domainMap).Get.func1\n\tsession/tidb.go:90\ngithub.com/pingcap/tidb/util.RunWithRetry\n\tutil/misc.go:69\ngithub.com/pingcap/tidb/session.(*domainMap).Get\n\tsession/tidb.go:76\ngithub.com/pingcap/tidb/session.createSessionWithOpt\n\tsession/session.go:3520\ngithub.com/pingcap/tidb/session.createSession\n\tsession/session.go:3516\ngithub.com/pingcap/tidb/session.runInBootstrapSession\n\tsession/session.go:3480\ngithub.com/pingcap/tidb/session.BootstrapSession\n\tsession/session.go:3309\ngithub.com/pingcap/tidb/testkit.bootstrap\n\ttestkit/mockstore.go:84\ngithub.com/pingcap/tidb/testkit.CreateMockStoreAndDomain\n\ttestkit/mockstore.go:69\ngithub.com/pingcap/tidb/testkit.CreateMockStore\n\ttestkit/mockstore.go:61\nsessiontxn/sessiontxn_test_test.TestRcTSOCmdCountForTextSQLExecuteExtra\n\tsessiontxn/txn_rc_tso_optimize_test.go:497\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1446\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:39:25.184 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=17.067086ms] [2024/05/06 16:39:25.187 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:39:25.187 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=dd937d05-8d41-4f8a-8c6a-4788e0503807] [runWorker=true] [2024/05/06 16:39:25.187 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:39:25.187 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:39:25.187 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 274, tp add index"] [2024/05/06 16:39:25.187 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 273, tp general"] [2024/05/06 16:39:25.188 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:39:25.188 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:39:25.188 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:39:25.188 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:39:25.192 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 16:39:25.209 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:25.2 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:25.209 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:39:25.2 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 16:39:25.439 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:39:25.689 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:39:25.940 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:39:26.189 +08:00] [WARN] [domain.go:188] ["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/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tdomain/domain.go:261\ngithub.com/pingcap/tidb/domain.(*Domain).loadInfoSchema\n\tdomain/domain.go:186\ngithub.com/pingcap/tidb/domain.(*Domain).Reload\n\tdomain/domain.go:502\ngithub.com/pingcap/tidb/domain.(*Domain).loadSchemaInLoop\n\tdomain/domain.go:799\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1594"] [version=0] [2024/05/06 16:39:26.228 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:25.2 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:26.267 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=16.041086ms] [2024/05/06 16:39:26.270 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:39:26.288 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:26.288 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=3] [version=1] [2024/05/06 16:39:26.291 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=1] ["take time"=40.619769ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 16:39:25.2 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:26.321 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:25.2 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:26.343 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=3] [2024/05/06 16:39:26.343 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:26.344 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 1.151876489\n# Parse_time: 0\n# Compile_time: 0.000394859\n# Rewrite_time: 0.000013391\n# Optimize_time: 0\n# Wait_TS: 0.000046809\n# DB: mysql\n# Is_internal: true\n# Digest: 0a22979ad136f741465cf206b13e5717b9758dda34f7cae5a7a925f91711d6a0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nuse mysql;\nCREATE DATABASE IF NOT EXISTS test;"] [2024/05/06 16:39:26.346 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 16:39:26.368 +08:00] [INFO] [session.go:3817] ["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 16:39:26.521 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:26.379 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:26.521 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:26.379 +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 16:39:26.560 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:26.379 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:26.855 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=6.190279ms] [phyTblIDs="[4]"] [actionTypes="[8]"] [2024/05/06 16:39:26.889 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:26.889 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=5] [version=2] [2024/05/06 16:39:26.891 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=2] ["take time"=42.993633ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:26.379 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:26.929 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:26.379 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:27.088 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=5] [2024/05/06 16:39:27.088 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:27.089 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.731055935\n# Parse_time: 0\n# Compile_time: 0.010422363\n# Rewrite_time: 0.000012213\n# Optimize_time: 0\n# Wait_TS: 0.000068455\n# DB: mysql\n# Is_internal: true\n# Digest: 14c6b489558060bdbede877927034270db5af07c6621aa28f87eeaec8727e925\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.user ( Host CHAR(255), User CHAR(32), authentication_string TEXT, plugin CHAR(64), Select_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Insert_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Update_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Delete_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Process_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Grant_priv ENUM('N','Y') NOT NULL DEFAULT 'N', References_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_db_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Super_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Index_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_user_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Event_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_slave_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Repl_client_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Trigger_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_role_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Account_locked ENUM('N','Y') NOT NULL DEFAULT 'N', Shutdown_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Reload_priv ENUM('N','Y') NOT NULL DEFAULT 'N', FILE_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Config_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N', Password_reuse_history smallint unsigned DEFAULT NULL, Password_reuse_time smallint unsigned DEFAULT NULL, User_attributes json, Token_issuer VARCHAR(255), Password_expired ENUM('N','Y') NOT NULL DEFAULT 'N', Password_last_changed TIMESTAMP DEFAULT CURRENT_TIMESTAMP(), Password_lifetime SMALLINT UNSIGNED DEFAULT NULL, PRIMARY KEY (Host, User));"] [2024/05/06 16:39:27.094 +08:00] [INFO] [session.go:3817] ["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 16:39:27.129 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:27.103 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:27.129 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:27.103 +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 16:39:27.163 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:27.103 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:27.188 +08:00] [INFO] [info.go:1114] [SetTiFlashGroupConfig] [2024/05/06 16:39:27.216 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=1.311912ms] [phyTblIDs="[6]"] [actionTypes="[8]"] [2024/05/06 16:39:27.238 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:27.239 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=7] [version=3] [2024/05/06 16:39:27.241 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=3] ["take time"=26.758728ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:27.103 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:27.268 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:27.103 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:27.304 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=7] [2024/05/06 16:39:27.305 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:27.308 +08:00] [INFO] [session.go:3817] ["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 16:39:27.340 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:27.315 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:27.340 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:27.315 +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 16:39:27.375 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:27.315 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:27.424 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=1.123818ms] [phyTblIDs="[8]"] [actionTypes="[8]"] [2024/05/06 16:39:27.439 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:27.439 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=9] [version=4] [2024/05/06 16:39:27.441 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=4] ["take time"=18.633104ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:27.315 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:27.473 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:27.315 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:27.508 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=9] [2024/05/06 16:39:27.508 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:27.528 +08:00] [INFO] [session.go:3817] ["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),\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 16:39:27.623 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:27.539 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:27.624 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:27.539 +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),\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 16:39:27.663 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:27.539 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:27.815 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=3.176272ms] [phyTblIDs="[10]"] [actionTypes="[8]"] [2024/05/06 16:39:27.839 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:27.839 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=11] [version=5] [2024/05/06 16:39:27.840 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=5] ["take time"=28.653808ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:27.539 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:27.870 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:27.539 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:27.961 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=11] [2024/05/06 16:39:27.962 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:27.963 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.443951192\n# Parse_time: 0\n# Compile_time: 0.009566618\n# Rewrite_time: 0.000010758\n# Optimize_time: 0\n# Wait_TS: 0.000080604\n# DB: mysql\n# Is_internal: true\n# Digest: aeaf612801484f0311f850d36f60f29e6d904828682c1f3bb7307dff25ca3a15\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.db ( Host CHAR(255), DB CHAR(64), User CHAR(32), Select_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Insert_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Update_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Delete_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Drop_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Grant_priv ENUM('N','Y') NOT NULL DEFAULT 'N', References_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Index_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Show_view_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Create_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Alter_routine_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Event_priv ENUM('N','Y') NOT NULL DEFAULT 'N', Trigger_priv ENUM('N','Y') NOT NULL DEFAULT 'N', PRIMARY KEY (Host, DB, User));"] [2024/05/06 16:39:27.967 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:39:28.012 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:27.976 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:28.012 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:27.976 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\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 16:39:28.049 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:27.976 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:28.123 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=1.743703ms] [phyTblIDs="[12]"] [actionTypes="[8]"] [2024/05/06 16:39:28.139 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:28.139 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=13] [version=6] [2024/05/06 16:39:28.139 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=6] ["take time"=18.06267ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:27.976 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:28.166 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:27.976 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:28.223 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=13] [2024/05/06 16:39:28.223 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:28.251 +08:00] [INFO] [session.go:3817] ["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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:39:28.296 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:28.261 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:28.296 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:28.261 +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),\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64),\n\t\tColumn_name\tCHAR(64),\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 16:39:28.335 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:28.261 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:28.397 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=1.609781ms] [phyTblIDs="[14]"] [actionTypes="[8]"] [2024/05/06 16:39:28.439 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:28.439 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=15] [version=7] [2024/05/06 16:39:28.440 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=7] ["take time"=44.529906ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:28.261 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:28.465 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:28.261 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:28.507 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=15] [2024/05/06 16:39:28.508 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:28.511 +08:00] [INFO] [session.go:3817] ["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(1024) DEFAULT NULL);"] [user=] [2024/05/06 16:39:28.538 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:28.517 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:28.538 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:28.517 +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(1024) DEFAULT NULL);"] [2024/05/06 16:39:28.569 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:28.517 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:28.614 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=1.024069ms] [phyTblIDs="[16]"] [actionTypes="[8]"] [2024/05/06 16:39:28.639 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:28.639 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=17] [version=8] [2024/05/06 16:39:28.640 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=8] ["take time"=28.286371ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:28.517 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:28.666 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:28.517 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:28.693 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=17] [2024/05/06 16:39:28.694 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:28.697 +08:00] [INFO] [session.go:3817] ["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 16:39:28.732 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:28.704 +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 16:39:28.732 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:28.704 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:28.764 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:28.704 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:28.807 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=1.903518ms] [phyTblIDs="[18]"] [actionTypes="[8]"] [2024/05/06 16:39:28.839 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:28.839 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=19] [version=9] [2024/05/06 16:39:28.841 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=9] ["take time"=36.657323ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:28.704 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:28.867 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:28.704 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:28.898 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=19] [2024/05/06 16:39:28.898 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:28.906 +08:00] [INFO] [session.go:3817] ["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 16:39:28.954 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:28.919 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:28.954 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:28.919 +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 16:39:28.989 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:28.919 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:29.074 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=1.882333ms] [phyTblIDs="[20]"] [actionTypes="[8]"] [2024/05/06 16:39:29.089 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:29.089 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=21] [version=10] [2024/05/06 16:39:29.091 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=10] ["take time"=20.192882ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:28.919 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:29.119 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:28.919 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:29.160 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=21] [2024/05/06 16:39:29.161 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:29.165 +08:00] [INFO] [session.go:3817] ["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 16:39:29.205 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:29.173 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:29.205 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:29.173 +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 16:39:29.255 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:29.173 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:29.308 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=1.443653ms] [phyTblIDs="[22]"] [actionTypes="[8]"] [2024/05/06 16:39:29.339 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:29.339 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=23] [version=11] [2024/05/06 16:39:29.341 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=11] ["take time"=34.980433ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:29.173 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:29.374 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:29.173 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:29.412 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=23] [2024/05/06 16:39:29.413 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:29.421 +08:00] [INFO] [session.go:3817] ["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 16:39:29.422 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [2024/05/06 16:39:29.476 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:29.429 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:29.476 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:29.429 +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 16:39:29.513 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:29.429 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:29.617 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=2.290279ms] [phyTblIDs="[24]"] [actionTypes="[8]"] [2024/05/06 16:39:29.638 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:29.639 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=25] [version=12] [2024/05/06 16:39:29.641 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=12] ["take time"=26.933909ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:29.429 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:29.670 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:29.429 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:29.732 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=25] [2024/05/06 16:39:29.732 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:29.733 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.314787439\n# Parse_time: 0\n# Compile_time: 0.002853296\n# Rewrite_time: 0.000009139\n# Optimize_time: 0\n# Wait_TS: 0.000054843\n# DB: mysql\n# Is_internal: true\n# Digest: 7780c45a0aac5f123ac85a7e601e79c5d7779e7c09a19953908e547605ed45d2\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.stats_histograms ( table_id BIGINT(64) NOT NULL, is_index TINYINT(2) NOT NULL, hist_id BIGINT(64) NOT NULL, distinct_count BIGINT(64) NOT NULL, null_count BIGINT(64) NOT NULL DEFAULT 0, tot_col_size BIGINT(64) NOT NULL DEFAULT 0, modify_count BIGINT(64) NOT NULL DEFAULT 0, version BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, cm_sketch BLOB(6291456), stats_ver BIGINT(64) NOT NULL DEFAULT 0, flag BIGINT(64) NOT NULL DEFAULT 0, correlation DOUBLE NOT NULL DEFAULT 0, last_analyze_pos LONGBLOB DEFAULT NULL, UNIQUE INDEX tbl(table_id, is_index, hist_id) );"] [2024/05/06 16:39:29.738 +08:00] [INFO] [session.go:3817] ["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 16:39:29.802 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:29.744 +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 16:39:29.802 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:29.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:29.840 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:29.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:29.913 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=2.004904ms] [phyTblIDs="[26]"] [actionTypes="[8]"] [2024/05/06 16:39:29.939 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:29.939 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=27] [version=13] [2024/05/06 16:39:29.941 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=13] ["take time"=30.356968ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:29.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:29.970 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:29.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:30.020 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=27] [2024/05/06 16:39:30.020 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:30.027 +08:00] [INFO] [session.go:3817] ["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 16:39:30.061 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:30.035 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:30.061 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:30.035 +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 16:39:30.095 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:30.035 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:30.155 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=1.426221ms] [phyTblIDs="[28]"] [actionTypes="[8]"] [2024/05/06 16:39:30.189 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:30.189 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=29] [version=14] [2024/05/06 16:39:30.191 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=14] ["take time"=38.374403ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:30.035 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:30.246 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:30.035 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:30.285 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=29] [2024/05/06 16:39:30.285 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:30.290 +08:00] [INFO] [session.go:3817] ["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 16:39:30.325 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:30.297 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:30.325 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:30.297 +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 16:39:30.364 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:30.297 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:30.420 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=1.391773ms] [phyTblIDs="[30]"] [actionTypes="[8]"] [2024/05/06 16:39:30.439 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:30.439 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=31] [version=15] [2024/05/06 16:39:30.440 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=15] ["take time"=22.189272ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:30.297 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:30.467 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:30.297 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:30.510 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=31] [2024/05/06 16:39:30.510 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:30.514 +08:00] [INFO] [session.go:3817] ["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 16:39:30.568 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:30.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:30.568 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:30.543 +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 16:39:30.606 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:30.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:30.655 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=1.264851ms] [phyTblIDs="[32]"] [actionTypes="[8]"] [2024/05/06 16:39:30.689 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:30.689 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=33] [version=16] [2024/05/06 16:39:30.691 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=16] ["take time"=38.33354ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:30.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:30.719 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:30.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:30.769 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=33] [2024/05/06 16:39:30.769 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:30.775 +08:00] [INFO] [session.go:3817] ["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 16:39:30.813 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:30.782 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:30.813 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:30.782 +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 16:39:30.853 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:30.782 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:30.909 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=1.403859ms] [phyTblIDs="[34]"] [actionTypes="[8]"] [2024/05/06 16:39:30.939 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:30.939 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=35] [version=17] [2024/05/06 16:39:30.939 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=17] ["take time"=32.12577ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:30.782 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:30.969 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:30.782 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:31.006 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=35] [2024/05/06 16:39:31.007 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:31.011 +08:00] [INFO] [session.go:3817] ["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 16:39:31.052 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:31.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:31.052 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:31.018 +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 16:39:31.090 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:31.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:31.140 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=1.314098ms] [phyTblIDs="[36]"] [actionTypes="[8]"] [2024/05/06 16:39:31.188 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:31.189 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=37] [version=18] [2024/05/06 16:39:31.189 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=18] ["take time"=50.211737ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:31.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:31.248 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:31.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:31.284 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=37] [2024/05/06 16:39:31.284 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:31.291 +08:00] [INFO] [session.go:3817] ["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 16:39:31.365 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:31.299 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:31.366 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:31.299 +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 16:39:31.400 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:31.299 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:31.494 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=2.47111ms] [phyTblIDs="[38]"] [actionTypes="[8]"] [2024/05/06 16:39:31.539 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:31.539 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=39] [version=19] [2024/05/06 16:39:31.541 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=19] ["take time"=50.451383ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:31.299 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:31.570 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:31.299 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:31.629 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=39] [2024/05/06 16:39:31.629 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:31.630 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.340834849\n# Parse_time: 0\n# Compile_time: 0.002594046\n# Rewrite_time: 0.000007428\n# Optimize_time: 0\n# Wait_TS: 0.000053263\n# DB: mysql\n# Is_internal: true\n# Digest: 0a4bc55a9ab72ef62ddaa1ee6472d7872306066fd783a8bb67047a497fbb4dbe\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.bind_info ( original_sql TEXT NOT NULL, bind_sql TEXT NOT NULL, default_db TEXT NOT NULL, status TEXT NOT NULL, create_time TIMESTAMP(3) NOT NULL, update_time TIMESTAMP(3) NOT NULL, charset TEXT NOT NULL, collation TEXT NOT NULL, source VARCHAR(10) NOT NULL DEFAULT 'unknown', sql_digest varchar(64), plan_digest varchar(64), INDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\", INDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\" ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 16:39:31.643 +08:00] [INFO] [session.go:3817] ["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 16:39:31.676 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:31.65 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:31.676 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:31.65 +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 16:39:31.709 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:31.65 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:31.764 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=1.414117ms] [phyTblIDs="[40]"] [actionTypes="[8]"] [2024/05/06 16:39:31.788 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:31.789 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=41] [version=20] [2024/05/06 16:39:31.789 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=20] ["take time"=26.175793ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:31.65 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:31.820 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:31.65 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:31.869 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=41] [2024/05/06 16:39:31.869 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:31.874 +08:00] [INFO] [session.go:3817] ["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 16:39:31.905 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:31.881 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:31.905 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:31.881 +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 16:39:31.946 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:31.881 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:31.987 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=1.065686ms] [phyTblIDs="[42]"] [actionTypes="[8]"] [2024/05/06 16:39:32.039 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:32.039 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=43] [version=21] [2024/05/06 16:39:32.040 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=21] ["take time"=54.610472ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:31.881 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:32.076 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:31.881 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:32.107 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=43] [2024/05/06 16:39:32.107 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:32.112 +08:00] [INFO] [session.go:3817] ["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 16:39:32.142 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:32.123 +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 16:39:32.142 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:32.123 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:32.179 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:32.123 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:32.231 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=918.597µs] [phyTblIDs="[44]"] [actionTypes="[8]"] [2024/05/06 16:39:32.288 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:32.289 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=45] [version=22] [2024/05/06 16:39:32.291 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=22] ["take time"=60.913234ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:32.123 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:32.315 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:32.123 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:32.341 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=45] [2024/05/06 16:39:32.342 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:32.351 +08:00] [INFO] [session.go:3817] ["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 16:39:32.394 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:32.359 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:32.394 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:32.359 +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 16:39:32.432 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:32.359 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:32.507 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=2.154317ms] [phyTblIDs="[46]"] [actionTypes="[8]"] [2024/05/06 16:39:32.539 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:32.539 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=47] [version=23] [2024/05/06 16:39:32.541 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=23] ["take time"=36.892724ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:32.359 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:32.570 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:32.359 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:32.616 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=47] [2024/05/06 16:39:32.616 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:32.619 +08:00] [INFO] [session.go:3817] ["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 16:39:32.659 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:32.626 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:32.659 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:32.626 +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 16:39:32.698 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:32.626 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:32.754 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=1.708901ms] [phyTblIDs="[48]"] [actionTypes="[8]"] [2024/05/06 16:39:32.789 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:32.789 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=49] [version=24] [2024/05/06 16:39:32.791 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=24] ["take time"=39.060264ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:32.626 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:32.818 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:32.626 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:32.856 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=49] [2024/05/06 16:39:32.856 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:32.862 +08:00] [INFO] [session.go:3817] ["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 16:39:32.894 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:32.869 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:32.894 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:32.869 +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 16:39:32.926 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:32.869 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:32.980 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=1.30429ms] [phyTblIDs="[50]"] [actionTypes="[8]"] [2024/05/06 16:39:33.039 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:33.039 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=51] [version=25] [2024/05/06 16:39:33.041 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=25] ["take time"=62.932815ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:32.869 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:33.075 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:32.869 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:33.112 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=51] [2024/05/06 16:39:33.113 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:33.117 +08:00] [INFO] [session.go:3817] ["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 16:39:33.155 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:33.124 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:33.156 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:33.124 +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 16:39:33.191 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:33.124 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:33.241 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=1.326188ms] [phyTblIDs="[52]"] [actionTypes="[8]"] [2024/05/06 16:39:33.289 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:33.289 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=53] [version=26] [2024/05/06 16:39:33.290 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=26] ["take time"=50.066422ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:33.124 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:33.320 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:33.124 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:33.353 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=53] [2024/05/06 16:39:33.353 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:33.357 +08:00] [INFO] [session.go:3817] ["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 16:39:33.388 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:33.364 +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 16:39:33.388 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:33.364 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:33.422 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:33.364 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:33.474 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=1.857613ms] [phyTblIDs="[54]"] [actionTypes="[8]"] [2024/05/06 16:39:33.489 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:33.489 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=55] [version=27] [2024/05/06 16:39:33.490 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=27] ["take time"=18.277484ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:33.364 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:33.521 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:33.364 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:33.553 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=55] [2024/05/06 16:39:33.553 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:33.559 +08:00] [INFO] [session.go:3817] ["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 16:39:33.596 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:33.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:33.596 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:33.569 +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 16:39:33.632 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:33.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:33.679 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=1.284171ms] [phyTblIDs="[56]"] [actionTypes="[8]"] [2024/05/06 16:39:33.689 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:33.689 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=57] [version=28] [2024/05/06 16:39:33.690 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=28] ["take time"=12.862094ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:33.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:33.717 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:33.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:33.751 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=57] [2024/05/06 16:39:33.751 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:33.756 +08:00] [INFO] [session.go:3817] ["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 16:39:33.810 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:33.764 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:33.810 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:33.764 +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 16:39:33.848 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:33.764 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:33.894 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=1.20498ms] [phyTblIDs="[58]"] [actionTypes="[8]"] [2024/05/06 16:39:33.939 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:33.939 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=59] [version=29] [2024/05/06 16:39:33.940 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=29] ["take time"=48.046663ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:33.764 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:33.970 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:33.764 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:34.007 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=59] [2024/05/06 16:39:34.008 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:34.014 +08:00] [INFO] [session.go:3817] ["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 16:39:34.015 +08:00] [INFO] [ddl_api.go:1045] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [2024/05/06 16:39:34.051 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:34.022 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:34.051 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:34.022 +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 16:39:34.086 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:34.022 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:34.144 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=2.088782ms] [phyTblIDs="[60]"] [actionTypes="[8]"] [2024/05/06 16:39:34.188 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:34.189 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=61] [version=30] [2024/05/06 16:39:34.190 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=30] ["take time"=48.388338ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:34.022 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:34.251 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:34.022 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:34.293 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=61] [2024/05/06 16:39:34.293 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:34.301 +08:00] [INFO] [session.go:3817] ["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\t);"] [user=] [2024/05/06 16:39:34.343 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:34.309 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:34.343 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:34.309 +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\t);"] [2024/05/06 16:39:34.377 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:34.309 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:34.439 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=1.523544ms] [phyTblIDs="[62]"] [actionTypes="[8]"] [2024/05/06 16:39:34.489 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:34.489 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=63] [version=31] [2024/05/06 16:39:34.491 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=31] ["take time"=54.596931ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:34.309 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:34.518 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:34.309 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:34.569 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=63] [2024/05/06 16:39:34.569 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:34.575 +08:00] [INFO] [session.go:3817] ["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\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\t);"] [user=] [2024/05/06 16:39:34.612 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:34.583 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:34.612 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:34.583 +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\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\t);"] [2024/05/06 16:39:34.666 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:34.583 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:34.728 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=1.496188ms] [phyTblIDs="[64]"] [actionTypes="[8]"] [2024/05/06 16:39:34.739 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:34.739 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=65] [version=32] [2024/05/06 16:39:34.740 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=32] ["take time"=14.404521ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:34.583 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:34.768 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:34.583 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:34.822 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=65] [2024/05/06 16:39:34.822 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:34.830 +08:00] [INFO] [session.go:3817] ["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 16:39:34.883 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:34.839 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:34.883 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:34.839 +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 16:39:34.918 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:34.839 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:35.010 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=2.182935ms] [phyTblIDs="[66]"] [actionTypes="[8]"] [2024/05/06 16:39:35.038 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:35.039 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=67] [version=33] [2024/05/06 16:39:35.040 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=33] ["take time"=32.044292ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:34.839 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:35.073 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:34.839 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:35.134 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=67] [2024/05/06 16:39:35.134 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:35.135 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.307719819\n# Parse_time: 0\n# Compile_time: 0.003055727\n# Rewrite_time: 0.000008969\n# Optimize_time: 0\n# Wait_TS: 0.000058925\n# DB: mysql\n# Is_internal: true\n# Digest: bfb9a3ff60c3c60c054a207c0a0db06c87e29edbe94005d8d5c89fe484f4f90a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.analyze_jobs ( id BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT, update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, table_schema CHAR(64) NOT NULL DEFAULT '', table_name CHAR(64) NOT NULL DEFAULT '', partition_name CHAR(64) NOT NULL DEFAULT '', job_info TEXT NOT NULL, processed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0, start_time TIMESTAMP, end_time TIMESTAMP, state ENUM('pending', 'running', 'finished', 'failed') NOT NULL, fail_reason TEXT, instance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job', process_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job', PRIMARY KEY (id), KEY (update_time) );"] [2024/05/06 16:39:35.136 +08:00] [INFO] [session.go:3817] ["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 16:39:35.163 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:35.143 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:35.163 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:35.143 +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 16:39:35.203 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:35.143 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:35.239 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=968.619µs] [phyTblIDs="[68]"] [actionTypes="[8]"] [2024/05/06 16:39:35.289 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:35.289 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=69] [version=34] [2024/05/06 16:39:35.290 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=34] ["take time"=52.596902ms] [job="ID:69, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:35.143 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:35.317 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:69, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:35.143 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:35.342 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=69] [2024/05/06 16:39:35.342 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:35.410 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:35.358 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:35.410 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:39:35.358 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\tselect JOB_ID, DB_NAME, TABLE_NAME, QUERY, SESSION_ID, TxnStart, TIDB_DECODE_SQL_DIGESTS(ALL_SQL_DIGESTS, 4096) AS SQL_DIGESTS from information_schema.ddl_jobs, information_schema.CLUSTER_TIDB_TRX, information_schema.CLUSTER_PROCESSLIST where ddl_jobs.STATE = 'running' and find_in_set(ddl_jobs.table_id, CLUSTER_TIDB_TRX.RELATED_TABLE_IDS) and CLUSTER_TIDB_TRX.SESSION_ID=CLUSTER_PROCESSLIST.ID\n\t);"] [2024/05/06 16:39:35.444 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:35.358 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:35.508 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=1.509031ms] [phyTblIDs="[70]"] [actionTypes="[2097152]"] [2024/05/06 16:39:35.539 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:35.539 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=71] [version=35] [2024/05/06 16:39:35.541 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=35] ["take time"=34.708544ms] [job="ID:71, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 16:39:35.358 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:35.571 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:71, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:35.358 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:35.618 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=71] [2024/05/06 16:39:35.618 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:35.623 +08:00] [INFO] [session.go:3817] ["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 16:39:35.674 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:35.63 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:35.674 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:35.63 +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 16:39:35.710 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:35.63 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:35.779 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=1.515424ms] [phyTblIDs="[72]"] [actionTypes="[8]"] [2024/05/06 16:39:35.789 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:35.789 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=73] [version=36] [2024/05/06 16:39:35.791 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=36] ["take time"=14.872296ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:35.63 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:35.817 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:35.63 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:35.856 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=73] [2024/05/06 16:39:35.857 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:35.860 +08:00] [INFO] [session.go:3817] ["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 16:39:35.896 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:35.868 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:35.896 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:35.868 +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 16:39:35.936 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:35.868 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:35.984 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=1.170897ms] [phyTblIDs="[74]"] [actionTypes="[8]"] [2024/05/06 16:39:36.039 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:36.040 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=75] [version=37] [2024/05/06 16:39:36.042 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=37] ["take time"=58.994607ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:35.868 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:36.072 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:35.868 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:36.106 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=75] [2024/05/06 16:39:36.107 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:36.111 +08:00] [INFO] [session.go:3817] ["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 16:39:36.148 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:36.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:36.148 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:36.119 +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 16:39:36.181 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:36.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:36.265 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=1.207783ms] [phyTblIDs="[76]"] [actionTypes="[8]"] [2024/05/06 16:39:36.289 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:36.289 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=77] [version=38] [2024/05/06 16:39:36.291 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=38] ["take time"=28.179271ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:36.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:36.318 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:36.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:36.350 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=77] [2024/05/06 16:39:36.350 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:36.358 +08:00] [INFO] [session.go:3817] ["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 16:39:36.421 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["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 16:39:36.366 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:36.422 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:36.366 +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 16:39:36.458 +08:00] [INFO] [ddl_worker.go:1180] ["[ddl] run DDL job"] [worker="worker 275, tp general"] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:36.366 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:36.566 +08:00] [INFO] [domain.go:215] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=2.584266ms] [phyTblIDs="[78]"] [actionTypes="[8]"] [2024/05/06 16:39:36.588 +08:00] [INFO] [domain.go:750] ["session manager is nil"] [2024/05/06 16:39:36.589 +08:00] [INFO] [domain.go:769] ["mdl gets lock, update to owner"] [jobID=79] [version=39] [2024/05/06 16:39:36.590 +08:00] [INFO] [ddl_worker.go:1392] ["[ddl] wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [ver=39] ["take time"=26.897271ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:36.366 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:36.619 +08:00] [INFO] [ddl_worker.go:657] ["[ddl] finish DDL job"] [worker="worker 275, tp general"] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 16:39:36.366 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 16:39:36.695 +08:00] [INFO] [ddl.go:1127] ["[ddl] DDL job is finished"] [jobID=79] [2024/05/06 16:39:36.695 +08:00] [INFO] [callback.go:121] ["performing DDL change, must reload"] [2024/05/06 16:39:36.696 +08:00] [WARN] [adapter.go:1597] ["# Txn_start_ts: 0\n# Query_time: 0.340911208\n# Parse_time: 0\n# Compile_time: 0.002946214\n# Rewrite_time: 0.000011018\n# Optimize_time: 0\n# Wait_TS: 0.000042014\n# DB: mysql\n# Is_internal: true\n# Digest: a30bd3c3a49070c554e65922e84c6b76e646842e3925a859fcde73941a7cb423\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\nCREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status ( table_id bigint(64) PRIMARY KEY, parent_table_id bigint(64), table_statistics text DEFAULT NULL, last_job_id varchar(64) DEFAULT NULL, last_job_start_time timestamp NULL DEFAULT NULL, last_job_finish_time timestamp NULL DEFAULT NULL, last_job_ttl_expire timestamp NULL DEFAULT NULL, last_job_summary text DEFAULT NULL, current_job_id varchar(64) DEFAULT NULL, current_job_owner_id varchar(64) DEFAULT NULL, current_job_owner_addr varchar(256) DEFAULT NULL, current_job_owner_hb_time timestamp, current_job_start_time timestamp NULL DEFAULT NULL, current_job_ttl_expire timestamp NULL DEFAULT NULL, current_job_state text DEFAULT NULL, current_job_status varchar(64) DEFAULT NULL, current_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 16:39:37.243 +08:00] [INFO] [bootstrap.go:529] ["bootstrap successful"] ["take time"=12.054779633s] [2024/05/06 16:39:37.244 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:39:37.245 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 285, tp add index"] ["take time"=17.201µs] [2024/05/06 16:39:37.245 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 276, tp add index"] ["take time"=16.141µs] [2024/05/06 16:39:37.245 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 277, tp add index"] ["take time"=15.022µs] [2024/05/06 16:39:37.245 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 278, tp add index"] ["take time"=14.79µs] [2024/05/06 16:39:37.245 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 279, tp add index"] ["take time"=14.021µs] [2024/05/06 16:39:37.245 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 280, tp add index"] ["take time"=11.453µs] [2024/05/06 16:39:37.245 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 281, tp add index"] ["take time"=15.195µs] [2024/05/06 16:39:37.245 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 282, tp add index"] ["take time"=16.422µs] [2024/05/06 16:39:37.245 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 283, tp add index"] ["take time"=13.618µs] [2024/05/06 16:39:37.245 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 284, tp add index"] ["take time"=15.594µs] [2024/05/06 16:39:37.245 +08:00] [INFO] [ddl_workerpool.go:82] ["[ddl] closing workerPool"] [2024/05/06 16:39:37.245 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 275, tp general"] ["take time"=16.481µs] [2024/05/06 16:39:37.245 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 273, tp general"] ["take time"=1.364µs] [2024/05/06 16:39:37.245 +08:00] [INFO] [ddl_worker.go:165] ["[ddl] DDL worker closed"] [worker="worker 274, tp add index"] ["take time"=2.049µs] [2024/05/06 16:39:37.245 +08:00] [INFO] [delete_range.go:148] ["[ddl] closing delRange"] [2024/05/06 16:39:37.246 +08:00] [INFO] [session_pool.go:94] ["[ddl] closing sessionPool"] [2024/05/06 16:39:37.252 +08:00] [INFO] [ddl.go:833] ["[ddl] DDL closed"] [ID=dd937d05-8d41-4f8a-8c6a-4788e0503807] ["take time"=7.966264ms] [2024/05/06 16:39:37.252 +08:00] [INFO] [ddl.go:657] ["[ddl] stop DDL"] [ID=dd937d05-8d41-4f8a-8c6a-4788e0503807] [2024/05/06 16:39:37.253 +08:00] [INFO] [domain.go:574] ["topNSlowQueryLoop exited."] [2024/05/06 16:39:37.253 +08:00] [INFO] [domain.go:603] ["infoSyncerKeeper exited."] [2024/05/06 16:39:37.253 +08:00] [INFO] [domain.go:651] ["topologySyncerKeeper exited."] [2024/05/06 16:39:37.253 +08:00] [INFO] [domain.go:1156] ["closestReplicaReadCheckLoop exited."] [2024/05/06 16:39:37.253 +08:00] [INFO] [domain.go:792] ["loadSchemaInLoop exited."] [2024/05/06 16:39:37.253 +08:00] [INFO] [domain.go:628] ["globalConfigSyncerKeeper exited."] [2024/05/06 16:39:37.253 +08:00] [INFO] [domain.go:920] ["domain closed"] ["take time"=8.355409ms] [2024/05/06 16:39:37.253 +08:00] [INFO] [tidb.go:77] ["new domain"] [store=bc95bb16-0326-465c-ac45-86bfcb6b18f0] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 16:39:37.321 +08:00] [INFO] [domain.go:241] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=39] ["start time"=66.830293ms] [2024/05/06 16:39:37.324 +08:00] [INFO] [domain.go:525] ["full load and reset schema validator"] [2024/05/06 16:39:37.324 +08:00] [INFO] [ddl.go:719] ["[ddl] start DDL"] [ID=e2555a26-b09b-403f-acff-0f1ddbfc5958] [runWorker=true] [2024/05/06 16:39:37.324 +08:00] [INFO] [ddl.go:665] ["[ddl] start delRangeManager OK"] ["is a emulator"=true] [2024/05/06 16:39:37.325 +08:00] [INFO] [delete_range.go:158] ["[ddl] start delRange emulator"] [2024/05/06 16:39:37.325 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 287, tp add index"] [2024/05/06 16:39:37.325 +08:00] [INFO] [ddl_worker.go:171] ["[ddl] start DDL worker"] [worker="worker 286, tp general"] [2024/05/06 16:39:37.326 +08:00] [WARN] [env.go:52] ["[ddl-ingest] initialize environment failed"] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=true] [2024/05/06 16:39:37.327 +08:00] [INFO] [env.go:108] ["[ddl-ingest] the lightning sorted dir"] ["data path:"=/tmp/tidb/tmp_ddl-4000] [2024/05/06 16:39:37.327 +08:00] [INFO] [env.go:75] ["[ddl-ingest] init global lightning backend environment finished"] ["memory limitation"=2147483648] ["sort path disk quota"=107374182400] ["max open file number"=1073741816] ["lightning is initialized"=true] [2024/05/06 16:39:37.327 +08:00] [WARN] [domain.go:1120] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 16:39:37.345 +08:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 16:39:37.530 +08:00] [INFO] [set.go:160] ["set global var"] [conn=103] [name=transaction_isolation] [val=READ-COMMITTED] [2024/05/06 16:39:37.593 +08:00] [INFO] [set.go:160] ["set global var"] [conn=103] [name=tx_isolation] [val=READ-COMMITTED] [2024/05/06 16:39:37.601 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=104] [schemaVersion=39] [cur_db=test] [sql="drop table if exists t1"] [user=] [2024/05/06 16:39:37.603 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=104] [schemaVersion=39] [cur_db=test] [sql="drop table if exists t2"] [user=] [2024/05/06 16:39:37.605 +08:00] [INFO] [session.go:3817] ["CRUCIAL OPERATION"] [conn=104] [schemaVersion=39] [cur_db=test] [sql="create table t1(id1 int, id2 int, id3 int, PRIMARY KEY(id1), UNIQUE KEY udx_id2 (id2))"] [user=] [2024/05/06 16:39:37.657 +08:00] [INFO] [ddl_worker.go:314] ["[ddl] add DDL jobs"] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:37.634 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 16:39:37.657 +08:00] [INFO] [ddl.go:1029] ["[ddl] start DDL job"] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 16:39:37.634 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t1(id1 int, id2 int, id3 int, PRIMARY KEY(id1), UNIQUE KEY udx_id2 (id2))"] -- Test timed out at 2024-05-06 16:39:37 CST -- ================================================================================ INFO: Elapsed time: 920.350s, Critical Path: 567.43s INFO: 8957 processes: 6114 remote cache hit, 1534 internal, 1309 linux-sandbox. INFO: Build completed successfully, 8957 total actions Test cases: finished with 8280 passing and 0 failing out of 8280 test cases Executed 85 out of 246 tests: 246 tests pass. INFO: Build completed successfully, 8957 total actions INFO: Build Event Protocol files produced successfully. bazel --output_user_root=/home/jenkins/.tidb/tmp --host_jvm_args=-XX:+UnlockExperimentalVMOptions --host_jvm_args=-XX:+UseZGC coverage --config=ci --repository_cache=/share/.cache/bazel-repository-cache \ --build_event_json_file=bazel_2.json --@io_bazel_rules_go//go/config:cover_format=go_cover --define gotags=featuretag \ -- //... -//cmd/... -//tests/graceshutdown/... \ -//tests/globalkilltest/... -//tests/readonlytest/... -//br/pkg/task:task_test -//tests/realtikvtest/... INFO: Invocation ID: 4024ec03-3e9a-4215-a620-a90807a3d55d INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/release-6.5/ghpr_unit_test/tidb/.bazelrc: --host_jvm_args=-Xmx5g, --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-6.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_08_26_02.1662511134/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'coverage' 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: Reading rc options for 'coverage' from /home/jenkins/agent/workspace/pingcap/tidb/release-6.5/ghpr_unit_test/tidb/.bazelrc: Inherited 'test' options: --test_env=TZ=Asia/Shanghai --test_output=errors --test_summary=testcase INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/release-6.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-6.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=104857600 Loading: Loading: Loading: 0 packages loaded INFO: Using default value for --instrumentation_filter: "^//autoid_service[/:],^//bindinfo[/:],^//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/trace[/:],^//br/pkg/utils[/:],^//br/pkg/version[/:],^//config[/:],^//ddl[/:],^//distsql[/:],^//domain[/:],^//dumpling/export[/:],^//errno[/:],^//executor[/:],^//expression[/:],^//extension[/:],^//infoschema[/:],^//kv[/:],^//meta[/:],^//metrics[/:],^//owner[/:],^//parser[/:],^//planner/cascades[/:],^//planner/core[/:],^//planner/funcdep[/:],^//planner/implementation[/:],^//planner/memo[/:],^//planner/util[/:],^//plugin[/:],^//privilege/privileges[/:],^//server[/:],^//session[/:],^//sessionctx[/:],^//sessiontxn[/:],^//statistics[/:],^//store[/:],^//structure[/:],^//table[/:],^//tablecodec[/:],^//telemetry[/:],^//testkit/testfork[/:],^//testkit/testutil[/:],^//tidb-binlog/driver/reader[/:],^//tidb-binlog/node[/:],^//tidb-binlog/pump_client[/:],^//tidb-server[/:],^//ttl/cache[/:],^//ttl/metrics[/:],^//ttl/session[/:],^//ttl/sqlbuilder[/:],^//ttl/ttlworker[/:],^//types[/:],^//util[/:]". INFO: Override the above default with --instrumentation_filter INFO: Build option --define has changed, discarding analysis cache. Analyzing: 751 targets (0 packages loaded, 0 targets configured) INFO: Analyzed 751 targets (0 packages loaded, 23993 targets configured).  checking cached actions INFO: Found 505 targets and 246 test targets... [766 / 846] [Prepa] BazelWorkspaceStatusAction stable-status.txt [1,658 / 7,472] GoCompilePkg external/com_github_golangci_misspell/misspell.a [for tool]; Downloading external/com_github_golangci_misspell/misspell.a, 5.4 MiB / 5.5 MiB; 0s remote-cache ... (47 actions, 0 running) [1,842 / 7,472] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 1s remote-cache ... (13 actions, 0 running) [2,422 / 7,472] GoCompilePkg external/io_k8s_klog_v2/internal/buffer/buffer.a; Downloading external/io_k8s_klog_v2/internal/buffer/buffer.a; 0s remote-cache ... (69 actions, 0 running) [2,998 / 7,472] GoCompilePkg external/io_k8s_api/core/v1/core.a; Downloading external/io_k8s_api/core/v1/core.a, 5.0 MiB / 24.2 MiB; 0s remote-cache ... (67 actions, 0 running) [3,532 / 7,488] 5 / 246 tests; GoCompilePkg external/io_k8s_apimachinery/pkg/apis/meta/v1/meta.a; 0s remote-cache ... (68 actions, 0 running) [3,815 / 7,542] 32 / 246 tests; GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 18.0 MiB / 74.3 MiB; 0s remote-cache ... (41 actions, 0 running) [3,984 / 7,570] 46 / 246 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, 37.0 MiB / 74.3 MiB; 1s remote-cache ... (69 actions, 0 running) [4,222 / 7,574] 48 / 246 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, 68.0 MiB / 74.3 MiB; 3s remote-cache ... (32 actions, 0 running) [4,313 / 7,578] 50 / 246 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, 67.0 MiB / 68.6 MiB; 3s remote-cache ... (18 actions, 0 running) [4,462 / 7,582] 52 / 246 tests; GoLink br/pkg/lightning/metric/metric_test_/metric_test; Downloading br/pkg/lightning/metric/metric_test_/metric_test, 7.0 MiB / 8.0 MiB; 0s remote-cache ... (37 actions, 0 running) [4,606 / 7,588] 55 / 246 tests; GoCompilePkg external/com_github_pingcap_kvproto/pkg/pdpb/pdpb.a; 0s remote-cache ... (21 actions, 0 running) [4,695 / 7,600] 61 / 246 tests; GoLink util/memory/memory_test_/memory_test; 0s remote-cache ... (18 actions, 0 running) [4,764 / 7,608] 65 / 246 tests; GoLink config/config_test_/config_test; Downloading config/config_test_/config_test, 16.0 MiB / 18.0 MiB; 0s remote-cache ... (18 actions, 0 running) [4,844 / 7,620] 71 / 246 tests; GoLink util/chunk/chunk_test_/chunk_test; Downloading util/chunk/chunk_test_/chunk_test, 14.0 MiB / 33.4 MiB; 0s remote-cache ... (25 actions, 0 running) [4,929 / 7,620] 71 / 246 tests; GoLink util/chunk/chunk_test_/chunk_test; Downloading util/chunk/chunk_test_/chunk_test, 33.0 MiB / 33.4 MiB; 1s remote-cache ... (69 actions, 0 running) [5,081 / 7,630] 76 / 246 tests; GoLink util/parser/parser_test_/parser_test; Downloading util/parser/parser_test_/parser_test, 29.0 MiB / 31.5 MiB; 1s remote-cache ... (42 actions, 0 running) [5,126 / 7,638] 80 / 246 tests; GoLink util/servermemorylimit/servermemorylimit_test_/servermemorylimit_test; Downloading util/servermemorylimit/servermemorylimit_test_/servermemorylimit_test, 28.0 MiB / 34.6 MiB; 2s remote-cache ... (38 actions, 0 running) [5,169 / 7,644] 82 / 246 tests; GoLink br/pkg/rtree/rtree_test_/rtree_test; Downloading br/pkg/rtree/rtree_test_/rtree_test, 29.0 MiB / 36.0 MiB; 3s remote-cache ... (45 actions, 0 running) [5,240 / 7,658] 90 / 246 tests; GoLink br/pkg/rtree/rtree_test_/rtree_test; 4s remote-cache ... (62 actions, 0 running) [5,342 / 7,677] 98 / 246 tests; GoLink tidb-binlog/node/node_test_/node_test; 4s remote-cache ... (39 actions, 0 running) [5,388 / 7,683] 101 / 246 tests; GoLink util/memoryusagealarm/memoryusagealarm_test_/memoryusagealarm_test; Downloading util/memoryusagealarm/memoryusagealarm_test_/memoryusagealarm_test, 40.0 MiB / 45.7 MiB; 4s remote-cache ... (23 actions, 0 running) [5,405 / 7,685] 101 / 246 tests; GoCompilePkg expression/expression.a; Downloading expression/expression.a, 49.5 MiB / 80.2 MiB; 5s remote-cache ... (19 actions, 0 running) [5,414 / 7,689] 103 / 246 tests; GoCompilePkg expression/expression.a; Downloading expression/expression.a, 61.0 MiB / 80.2 MiB; 6s remote-cache ... (20 actions, 0 running) [5,431 / 7,693] 104 / 246 tests; GoCompilePkg expression/expression.a; Downloading expression/expression.a, 72.0 MiB / 80.2 MiB; 8s remote-cache ... (23 actions, 0 running) [5,461 / 7,697] 107 / 246 tests; GoCompilePkg expression/expression_test.internal.recompileinternal.a; Downloading expression/expression_test.internal.recompileinternal.a, 85.6 MiB / 180.3 MiB; 9s remote-cache ... (25 actions, 0 running) [5,546 / 7,748] 109 / 246 tests; GoCompilePkg expression/expression_test.internal.recompileinternal.a; Downloading expression/expression_test.internal.recompileinternal.a, 101.0 MiB / 180.3 MiB; 10s remote-cache ... (18 actions, 0 running) [5,627 / 7,748] 109 / 246 tests; GoCompilePkg expression/expression_test.internal.recompileinternal.a; Downloading expression/expression_test.internal.recompileinternal.a, 124.0 MiB / 180.3 MiB; 11s remote-cache ... (38 actions, 4 running) [5,712 / 7,748] 109 / 246 tests; GoCompilePkg expression/expression_test.internal.recompileinternal.a; Downloading expression/expression_test.internal.recompileinternal.a, 138.0 MiB / 180.3 MiB; 12s remote-cache ... (54 actions, 2 running) [5,827 / 7,748] 109 / 246 tests; GoCompilePkg expression/expression_test.internal.recompileinternal.a; Downloading expression/expression_test.internal.recompileinternal.a, 149.0 MiB / 180.3 MiB; 13s remote-cache ... (57 actions, 0 running) [5,911 / 7,748] 109 / 246 tests; GoCompilePkg expression/expression_test.internal.recompileinternal.a; Downloading expression/expression_test.internal.recompileinternal.a, 159.0 MiB / 180.3 MiB; 14s remote-cache ... (68 actions, 4 running) [6,047 / 7,799] 109 / 246 tests; GoCompilePkg expression/expression_test.internal.recompileinternal.a; Downloading expression/expression_test.internal.recompileinternal.a, 170.0 MiB / 180.3 MiB; 15s remote-cache ... (72 actions, 4 running) [6,135 / 7,850] 109 / 246 tests; GoCompilePkg expression/expression_test.internal.recompileinternal.a; Downloading expression/expression_test.internal.recompileinternal.a, 180.0 MiB / 180.3 MiB; 16s remote-cache ... (79 actions, 18 running) [6,210 / 7,852] 109 / 246 tests; GoLink store/mockstore/unistore/cophandler/cophandler_test_/cophandler_test; Downloading store/mockstore/unistore/cophandler/cophandler_test_/cophandler_test, 43.0 MiB / 44.9 MiB; 4s remote-cache ... (71 actions, 2 running) [6,283 / 7,860] 110 / 246 tests; GoLink store/mockstore/unistore/tikv/tikv_test_/tikv_test; Downloading store/mockstore/unistore/tikv/tikv_test_/tikv_test, 43.0 MiB / 44.7 MiB; 5s remote-cache ... (71 actions, 2 running) [6,353 / 7,864] 114 / 246 tests; GoLink br/pkg/restore/prealloc_table_id/prealloc_table_id_test_/prealloc_table_id_test; Downloading br/pkg/restore/prealloc_table_id/prealloc_table_id_test_/prealloc_table_id_test, 41.0 MiB / 81.4 MiB; 4s remote-cache ... (72 actions, 4 running) [6,419 / 7,866] 116 / 246 tests; GoLink br/pkg/restore/prealloc_table_id/prealloc_table_id_test_/prealloc_table_id_test; Downloading br/pkg/restore/prealloc_table_id/prealloc_table_id_test_/prealloc_table_id_test, 50.0 MiB / 81.4 MiB; 5s remote-cache ... (72 actions, 4 running) [6,491 / 7,872] 117 / 246 tests; GoLink br/pkg/restore/prealloc_table_id/prealloc_table_id_test_/prealloc_table_id_test; Downloading br/pkg/restore/prealloc_table_id/prealloc_table_id_test_/prealloc_table_id_test, 58.0 MiB / 81.4 MiB; 6s remote-cache ... (71 actions, 4 running) [6,569 / 7,902] 122 / 246 tests; GoLink br/pkg/restore/prealloc_table_id/prealloc_table_id_test_/prealloc_table_id_test; Downloading br/pkg/restore/prealloc_table_id/prealloc_table_id_test_/prealloc_table_id_test, 67.0 MiB / 81.4 MiB; 7s remote-cache ... (73 actions, 6 running) [6,626 / 7,902] 125 / 246 tests; GoLink br/pkg/restore/prealloc_table_id/prealloc_table_id_test_/prealloc_table_id_test; Downloading br/pkg/restore/prealloc_table_id/prealloc_table_id_test_/prealloc_table_id_test, 76.3 MiB / 81.4 MiB; 8s remote-cache ... (65 actions, 6 running) [6,680 / 7,938] 125 / 246 tests; GoLink br/pkg/utils/iter/iter_test_/iter_test; Downloading br/pkg/utils/iter/iter_test_/iter_test, 79.0 MiB / 82.3 MiB; 9s remote-cache ... (72 actions, 4 running) [6,724 / 7,942] 125 / 246 tests; GoLink br/pkg/lightning/checkpoints/checkpoints_test_/checkpoints_test; Downloading br/pkg/lightning/checkpoints/checkpoints_test_/checkpoints_test, 78.0 MiB / 93.6 MiB; 9s remote-cache ... (66 actions, 4 running) [6,775 / 7,957] 128 / 246 tests; GoLink br/pkg/lightning/checkpoints/checkpoints_test_/checkpoints_test; Downloading br/pkg/lightning/checkpoints/checkpoints_test_/checkpoints_test, 86.0 MiB / 93.6 MiB; 10s remote-cache ... (65 actions, 4 running) [6,817 / 7,959] 131 / 246 tests; GoLink br/pkg/lightning/checkpoints/checkpoints_test_/checkpoints_test; 11s remote-cache ... (64 actions, 8 running) [6,882 / 7,967] 134 / 246 tests; GoLink br/pkg/pdutil/pdutil_test_/pdutil_test; Downloading br/pkg/pdutil/pdutil_test_/pdutil_test, 51.0 MiB / 52.8 MiB; 6s remote-cache ... (77 actions, 14 running) [6,935 / 7,980] 137 / 246 tests; GoLink br/pkg/lightning/config/config_test_/config_test; Downloading br/pkg/lightning/config/config_test_/config_test, 45.0 MiB / 53.0 MiB; 6s remote-cache ... (81 actions, 22 running) [6,987 / 7,980] 138 / 246 tests; GoLink br/pkg/lightning/config/config_test_/config_test; Downloading br/pkg/lightning/config/config_test_/config_test, 52.0 MiB / 53.0 MiB; 7s remote-cache ... (85 actions, 30 running) [7,050 / 7,982] 138 / 246 tests; GoLink br/pkg/lightning/mydump/mydump_test_/mydump_test; Downloading br/pkg/lightning/mydump/mydump_test_/mydump_test, 60.0 MiB / 61.8 MiB; 7s remote-cache ... (79 actions, 18 running) [7,093 / 7,988] 139 / 246 tests; GoCompilePkg sessionctx/stmtctx/executor.recompile926.a; 8s remote-cache, linux-sandbox ... (78 actions, 16 running) [7,128 / 7,988] 142 / 246 tests; GoCompilePkg sessionctx/stmtctx/executor.recompile926.a; 9s remote-cache, linux-sandbox ... (75 actions, 10 running) [7,185 / 7,990] 143 / 246 tests; GoCompilePkg sessionctx/stmtctx/executor.recompile926.a; 10s remote-cache, linux-sandbox ... (77 actions, 14 running) [7,238 / 7,992] 144 / 246 tests; GoCompilePkg sessionctx/stmtctx/executor.recompile926.a; 11s remote-cache, linux-sandbox ... (80 actions, 20 running) [7,276 / 7,992] 145 / 246 tests; GoCompilePkg sessionctx/stmtctx/executor.recompile926.a; 12s remote-cache, linux-sandbox ... (85 actions, 33 running) [7,304 / 7,992] 145 / 246 tests; GoLink ddl/syncer/syncer_test_/syncer_test; Downloading ddl/syncer/syncer_test_/syncer_test, 46.0 MiB / 74.8 MiB; 7s remote-cache ... (87 actions, 36 running) [7,323 / 7,992] 145 / 246 tests; GoLink ddl/syncer/syncer_test_/syncer_test; Downloading ddl/syncer/syncer_test_/syncer_test, 50.0 MiB / 74.8 MiB; 9s remote-cache ... (93 actions, 46 running) [7,366 / 7,992] 145 / 246 tests; GoLink ddl/syncer/syncer_test_/syncer_test; Downloading ddl/syncer/syncer_test_/syncer_test, 57.0 MiB / 74.8 MiB; 10s remote-cache ... (76 actions, 26 running) [7,392 / 7,994] 145 / 246 tests; GoLink ddl/syncer/syncer_test_/syncer_test; Downloading ddl/syncer/syncer_test_/syncer_test, 64.0 MiB / 74.8 MiB; 11s remote-cache ... (71 actions, 28 running) [7,410 / 7,994] 146 / 246 tests; GoLink ddl/syncer/syncer_test_/syncer_test; Downloading ddl/syncer/syncer_test_/syncer_test, 72.0 MiB / 74.8 MiB; 12s remote-cache ... (78 actions, 32 running) [7,432 / 7,998] 146 / 246 tests; GoCompilePkg structure/executor.recompile926.a; 12s remote-cache, linux-sandbox ... (73 actions, 26 running) [7,449 / 8,002] 146 / 246 tests; GoCompilePkg structure/executor.recompile926.a; 13s remote-cache, linux-sandbox ... (76 actions, 28 running) [7,464 / 8,004] 148 / 246 tests; GoCompilePkg structure/executor.recompile926.a; 14s remote-cache, linux-sandbox ... (76 actions, 32 running) [7,482 / 8,028] 149 / 246 tests; GoCompilePkg bindinfo/executor.recompile947.a; 13s remote-cache, linux-sandbox ... (84 actions, 28 running) [7,502 / 8,033] 149 / 246 tests; GoCompilePkg bindinfo/executor.recompile947.a; 14s remote-cache, linux-sandbox ... (86 actions, 32 running) [7,535 / 8,039] 150 / 246 tests; GoCompilePkg bindinfo/executor.recompile947.a; 15s remote-cache, linux-sandbox ... (90 actions, 40 running) [7,575 / 8,041] 154 / 246 tests; GoLink br/pkg/lightning/backend/kv/kv_test_/kv_test; Downloading br/pkg/lightning/backend/kv/kv_test_/kv_test, 88.0 MiB / 111.8 MiB; 16s remote-cache ... (88 actions, 42 running) [7,645 / 8,041] 157 / 246 tests; GoLink br/pkg/lightning/backend/kv/kv_test_/kv_test; Downloading br/pkg/lightning/backend/kv/kv_test_/kv_test, 95.0 MiB / 111.8 MiB; 17s remote-cache ... (95 actions, 50 running) [7,701 / 8,041] 157 / 246 tests; GoLink br/pkg/lightning/backend/kv/kv_test_/kv_test; Downloading br/pkg/lightning/backend/kv/kv_test_/kv_test, 102.0 MiB / 111.8 MiB; 18s remote-cache ... (112 actions, 88 running) [7,732 / 8,041] 157 / 246 tests; GoLink br/pkg/lightning/backend/kv/kv_test_/kv_test; 19s remote-cache ... (119 actions, 98 running) [7,774 / 8,065] 158 / 246 tests; GoCompilePkg statistics/handle/executor.recompile926.a; 14s remote-cache, linux-sandbox ... (127 actions, 115 running) [7,812 / 8,067] 160 / 246 tests; GoCompilePkg statistics/handle/executor.recompile926.a; 15s remote-cache, linux-sandbox ... (129 actions, 118 running) [7,859 / 8,069] 162 / 246 tests; GoCompilePkg sessionctx/binloginfo/executor.recompile926.a; 14s remote-cache, linux-sandbox ... (139 actions, 138 running) [7,862 / 8,069] 162 / 246 tests; GoCompilePkg sessionctx/sessionstates/executor.recompile944.a; 15s remote-cache, linux-sandbox ... (138 actions, 136 running) [7,863 / 8,069] 162 / 246 tests; GoCompilePkg sessionctx/sessionstates/executor.recompile944.a; 16s remote-cache, linux-sandbox ... (138 actions, 136 running) [7,871 / 8,069] 162 / 246 tests; GoCompilePkg ttl/cache/executor.recompile947.a; 15s remote-cache, linux-sandbox ... (138 actions, 136 running) [7,874 / 8,071] 162 / 246 tests; GoCompilePkg ttl/cache/executor.recompile947.a; 16s remote-cache, linux-sandbox ... (139 actions, 138 running) [7,880 / 8,093] 162 / 246 tests; GoCompilePkg ttl/cache/executor.recompile947.a; 18s remote-cache, linux-sandbox ... (139 actions, 138 running) [7,885 / 8,093] 162 / 246 tests; GoCompilePkg telemetry/executor.recompile1062.a; 18s remote-cache, linux-sandbox ... (135 actions, 131 running) [7,898 / 8,097] 163 / 246 tests; GoLink telemetry/cte_test/cte_test_test_/cte_test_test; 15s remote-cache, linux-sandbox ... (133 actions, 126 running) [7,898 / 8,097] 163 / 246 tests; GoLink telemetry/cte_test/cte_test_test_/cte_test_test; 16s remote-cache, linux-sandbox ... (139 actions, 138 running) [7,905 / 8,097] 163 / 246 tests; GoLink telemetry/cte_test/cte_test_test_/cte_test_test; 17s remote-cache, linux-sandbox ... (135 actions, 131 running) [7,922 / 8,130] 163 / 246 tests; GoLink executor/oomtest/oomtest_test_/oomtest_test; 16s remote-cache, linux-sandbox ... (137 actions, 134 running) [7,925 / 8,130] 163 / 246 tests; GoLink executor/oomtest/oomtest_test_/oomtest_test; 17s remote-cache, linux-sandbox ... (138 actions, 136 running) [7,932 / 8,132] 164 / 246 tests; GoLink executor/oomtest/oomtest_test_/oomtest_test; 18s remote-cache, linux-sandbox ... (139 actions, 138 running) [7,963 / 8,164] 164 / 246 tests; GoLink executor/oomtest/oomtest_test_/oomtest_test; 20s remote-cache, linux-sandbox ... (133 actions, 127 running) [7,995 / 8,276] 164 / 246 tests; GoLink executor/oomtest/oomtest_test_/oomtest_test; 21s remote-cache, linux-sandbox ... (138 actions, 137 running) [8,007 / 8,321] 164 / 246 tests; GoLink executor/oomtest/oomtest_test_/oomtest_test; 22s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,035 / 8,337] 170 / 246 tests; GoLink executor/oomtest/oomtest_test_/oomtest_test; 23s remote-cache, linux-sandbox ... (137 actions, 134 running) [8,083 / 8,683] 173 / 246 tests; GoLink executor/showtest/showtest_test_/showtest_test; 23s remote-cache, linux-sandbox ... (138 actions, 136 running) [8,099 / 8,729] 176 / 246 tests; Testing //statistics:statistics_test; 12s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,102 / 8,729] 176 / 246 tests; Testing //statistics:statistics_test; 13s remote-cache, linux-sandbox ... (140 actions running) [8,112 / 8,729] 178 / 246 tests; Testing //statistics:statistics_test; 14s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,114 / 8,729] 179 / 246 tests; Testing //statistics:statistics_test; 16s remote-cache, linux-sandbox ... (140 actions running) [8,139 / 8,816] 182 / 246 tests; Testing //statistics:statistics_test; 17s remote-cache, linux-sandbox ... (140 actions running) [8,154 / 8,869] 184 / 246 tests; Testing //statistics:statistics_test; 19s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,166 / 8,920] 184 / 246 tests; Testing //statistics:statistics_test; 20s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,167 / 8,920] 185 / 246 tests; Testing //statistics:statistics_test; 21s remote-cache, linux-sandbox ... (140 actions running) [8,175 / 8,971] 185 / 246 tests; Testing //statistics:statistics_test; 22s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,195 / 9,054] 186 / 246 tests; Testing //statistics:statistics_test; 23s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,215 / 9,107] 187 / 246 tests; Testing //statistics:statistics_test; 24s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,223 / 9,107] 187 / 246 tests; Testing //statistics:statistics_test; 25s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,240 / 9,107] 191 / 246 tests; Testing //statistics:statistics_test; 26s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,257 / 9,113] 192 / 246 tests; Testing //statistics:statistics_test; 27s remote-cache, linux-sandbox ... (140 actions running) [8,258 / 9,113] 192 / 246 tests; Testing //statistics:statistics_test; 28s remote-cache, linux-sandbox ... (140 actions running) [8,272 / 9,113] 193 / 246 tests; Testing //statistics:statistics_test; 29s remote-cache, linux-sandbox ... (140 actions running) [8,287 / 9,113] 196 / 246 tests; Testing //statistics:statistics_test; 30s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,297 / 9,113] 196 / 246 tests; Testing //statistics:statistics_test; 31s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,305 / 9,113] 196 / 246 tests; Testing //statistics:statistics_test; 33s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,313 / 9,113] 196 / 246 tests; Testing //statistics:statistics_test; 34s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,314 / 9,113] 196 / 246 tests; Testing //statistics:statistics_test; 35s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,336 / 9,164] 196 / 246 tests; Testing //statistics:statistics_test; 36s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,345 / 9,164] 196 / 246 tests; Testing //statistics:statistics_test; 37s remote-cache, linux-sandbox ... (140 actions running) [8,353 / 9,164] 196 / 246 tests; Testing //statistics:statistics_test; 38s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,363 / 9,164] 197 / 246 tests; Testing //statistics:statistics_test; 39s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,377 / 9,164] 198 / 246 tests; Testing //statistics:statistics_test; 41s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,383 / 9,164] 199 / 246 tests; Testing //statistics:statistics_test; 42s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,397 / 9,164] 201 / 246 tests; Testing //statistics:statistics_test; 43s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,403 / 9,164] 201 / 246 tests; Testing //statistics:statistics_test; 44s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,411 / 9,164] 201 / 246 tests; Testing //statistics:statistics_test; 45s remote-cache, linux-sandbox ... (140 actions running) [8,412 / 9,164] 201 / 246 tests; Testing //statistics:statistics_test; 47s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,422 / 9,164] 201 / 246 tests; Testing //statistics:statistics_test; 48s remote-cache, linux-sandbox ... (134 actions, 128 running) [8,440 / 9,164] 203 / 246 tests; Testing //statistics:statistics_test; 49s remote-cache, linux-sandbox ... (139 actions running) [8,447 / 9,164] 203 / 246 tests; Testing //statistics:statistics_test; 50s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,452 / 9,164] 203 / 246 tests; Testing //statistics:statistics_test; 51s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,465 / 9,166] 204 / 246 tests; Testing //statistics:statistics_test; 52s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,470 / 9,166] 204 / 246 tests; Testing //statistics:statistics_test; 53s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,475 / 9,166] 205 / 246 tests; Testing //statistics:statistics_test; 54s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,479 / 9,166] 205 / 246 tests; Testing //statistics:statistics_test; 55s remote-cache, linux-sandbox ... (140 actions running) [8,484 / 9,166] 206 / 246 tests; Testing //statistics:statistics_test; 57s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,496 / 9,166] 206 / 246 tests; Testing //statistics:statistics_test; 58s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,497 / 9,166] 206 / 246 tests; Testing //statistics:statistics_test; 59s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,508 / 9,166] 206 / 246 tests; Testing //statistics:statistics_test; 60s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,512 / 9,166] 206 / 246 tests; Testing //statistics:statistics_test; 61s remote-cache, linux-sandbox ... (140 actions running) [8,517 / 9,166] 207 / 246 tests; Testing //statistics:statistics_test; 62s remote-cache, linux-sandbox ... (137 actions, 136 running) [8,528 / 9,166] 207 / 246 tests; Testing //statistics:statistics_test; 63s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,534 / 9,166] 207 / 246 tests; Testing //statistics:statistics_test; 65s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,542 / 9,166] 207 / 246 tests; Testing //statistics:statistics_test; 66s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,554 / 9,168] 208 / 246 tests; Testing //statistics:statistics_test; 67s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,559 / 9,168] 209 / 246 tests; Testing //statistics:statistics_test; 68s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,560 / 9,168] 209 / 246 tests; Testing //statistics:statistics_test; 69s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,569 / 9,168] 210 / 246 tests; Testing //statistics:statistics_test; 70s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,580 / 9,168] 210 / 246 tests; Testing //statistics:statistics_test; 71s remote-cache, linux-sandbox ... (140 actions running) [8,583 / 9,168] 211 / 246 tests; Testing //statistics:statistics_test; 73s remote-cache, linux-sandbox ... (140 actions running) [8,592 / 9,168] 211 / 246 tests; Testing //statistics:statistics_test; 74s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,600 / 9,168] 211 / 246 tests; Testing //statistics:statistics_test; 75s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,602 / 9,168] 212 / 246 tests; Testing //statistics:statistics_test; 76s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,617 / 9,172] 213 / 246 tests; Testing //statistics:statistics_test; 77s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,620 / 9,172] 213 / 246 tests; Testing //statistics:statistics_test; 78s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,627 / 9,172] 213 / 246 tests; Testing //statistics:statistics_test; 79s remote-cache, linux-sandbox ... (140 actions running) [8,636 / 9,172] 213 / 246 tests; Testing //statistics:statistics_test; 80s remote-cache, linux-sandbox ... (140 actions running) [8,641 / 9,172] 213 / 246 tests; Testing //statistics:statistics_test; 82s remote-cache, linux-sandbox ... (140 actions, 139 running) [8,645 / 9,172] 214 / 246 tests; Testing //statistics:statistics_test; 83s remote-cache, linux-sandbox ... (140 actions running) [8,659 / 9,172] 216 / 246 tests; Testing //statistics:statistics_test; 84s remote-cache, linux-sandbox ... (138 actions, 136 running) [8,660 / 9,172] 216 / 246 tests; Testing //statistics:statistics_test; 85s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,668 / 9,174] 217 / 246 tests; Testing //statistics:statistics_test; 87s remote-cache, linux-sandbox ... (140 actions running) [8,677 / 9,174] 218 / 246 tests; Testing //statistics:statistics_test; 88s remote-cache, linux-sandbox ... (140 actions running) [8,682 / 9,174] 218 / 246 tests; Testing //statistics:statistics_test; 89s remote-cache, linux-sandbox ... (137 actions, 136 running) [8,693 / 9,179] 218 / 246 tests; Testing //statistics:statistics_test; 90s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,698 / 9,179] 218 / 246 tests; Testing //statistics:statistics_test; 91s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,707 / 9,183] 219 / 246 tests; Testing //statistics:statistics_test; 92s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,709 / 9,183] 220 / 246 tests; Testing //statistics:statistics_test; 93s remote-cache, linux-sandbox ... (140 actions running) [8,712 / 9,183] 220 / 246 tests; Testing //statistics:statistics_test; 95s remote-cache, linux-sandbox ... (140 actions running) [8,724 / 9,185] 220 / 246 tests; Testing //statistics:statistics_test; 96s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,725 / 9,185] 220 / 246 tests; Testing //statistics:statistics_test; 97s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,741 / 9,185] 222 / 246 tests; Testing //infoschema:infoschema_test; 76s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,746 / 9,187] 222 / 246 tests; Testing //infoschema:infoschema_test; 77s remote-cache, linux-sandbox ... (140 actions running) [8,747 / 9,187] 224 / 246 tests; Testing //infoschema:infoschema_test; 78s remote-cache, linux-sandbox ... (140 actions running) [8,755 / 9,187] 224 / 246 tests; Testing //infoschema:infoschema_test; 80s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,757 / 9,187] 224 / 246 tests; Testing //infoschema:infoschema_test; 81s remote-cache, linux-sandbox ... (140 actions running) [8,758 / 9,187] 224 / 246 tests; Testing //infoschema:infoschema_test; 83s remote-cache, linux-sandbox ... (140 actions running) [8,773 / 9,191] 225 / 246 tests; Testing //infoschema:infoschema_test; 84s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,785 / 9,191] 226 / 246 tests; Testing //infoschema:infoschema_test; 85s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,789 / 9,191] 226 / 246 tests; Testing //infoschema:infoschema_test; 87s remote-cache, linux-sandbox ... (140 actions running) [8,793 / 9,191] 226 / 246 tests; Testing //infoschema:infoschema_test; 89s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,796 / 9,191] 226 / 246 tests; Testing //infoschema:infoschema_test; 90s remote-cache, linux-sandbox ... (140 actions running) [8,796 / 9,191] 226 / 246 tests; Testing //infoschema:infoschema_test; 91s remote-cache, linux-sandbox ... (140 actions running) [8,798 / 9,191] 227 / 246 tests; Testing //infoschema:infoschema_test; 92s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,820 / 9,191] 228 / 246 tests; Testing //infoschema:infoschema_test; 94s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,824 / 9,191] 228 / 246 tests; Testing //infoschema:infoschema_test; 95s remote-cache, linux-sandbox ... (140 actions running) [8,826 / 9,191] 228 / 246 tests; Testing //infoschema:infoschema_test; 97s remote-cache, linux-sandbox ... (140 actions running) [8,835 / 9,191] 229 / 246 tests; Testing //infoschema:infoschema_test; 99s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,838 / 9,191] 229 / 246 tests; Testing //infoschema:infoschema_test; 100s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,845 / 9,191] 230 / 246 tests; Testing //infoschema:infoschema_test; 101s remote-cache, linux-sandbox ... (140 actions running) [8,846 / 9,191] 230 / 246 tests; Testing //infoschema:infoschema_test; 102s remote-cache, linux-sandbox ... (140 actions running) [8,849 / 9,191] 230 / 246 tests; Testing //infoschema:infoschema_test; 103s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,854 / 9,191] 230 / 246 tests; Testing //infoschema:infoschema_test; 104s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,859 / 9,191] 232 / 246 tests; Testing //infoschema:infoschema_test; 106s remote-cache, linux-sandbox ... (140 actions running) [8,862 / 9,191] 232 / 246 tests; Testing //infoschema:infoschema_test; 107s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,866 / 9,191] 232 / 246 tests; Testing //infoschema:infoschema_test; 108s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,868 / 9,191] 232 / 246 tests; Testing //infoschema:infoschema_test; 109s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,869 / 9,191] 232 / 246 tests; Testing //infoschema:infoschema_test; 110s remote-cache, linux-sandbox ... (140 actions running) [8,873 / 9,191] 232 / 246 tests; Testing //infoschema:infoschema_test; 112s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,877 / 9,191] 232 / 246 tests; Testing //infoschema:infoschema_test; 113s remote-cache, linux-sandbox ... (140 actions running) [8,878 / 9,191] 232 / 246 tests; Testing //infoschema:infoschema_test; 115s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,887 / 9,191] 232 / 246 tests; Testing //infoschema:infoschema_test; 116s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,887 / 9,191] 232 / 246 tests; Testing //infoschema:infoschema_test; 117s remote-cache, linux-sandbox ... (140 actions running) [8,889 / 9,191] 232 / 246 tests; Testing //infoschema:infoschema_test; 118s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,897 / 9,191] 233 / 246 tests; Testing //infoschema:infoschema_test; 120s remote-cache, linux-sandbox ... (140 actions running) [8,902 / 9,191] 233 / 246 tests; Testing //session/session_test:session_test_test (shard 4 of 4); 54s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,905 / 9,191] 233 / 246 tests; Testing //session/session_test:session_test_test (shard 4 of 4); 55s remote-cache, linux-sandbox ... (140 actions running) [8,908 / 9,191] 233 / 246 tests; Testing //session/session_test:session_test_test (shard 4 of 4); 56s remote-cache, linux-sandbox ... (140 actions running) [8,910 / 9,191] 233 / 246 tests; Testing //session/session_test:session_test_test (shard 4 of 4); 58s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,913 / 9,191] 233 / 246 tests; Testing //session/session_test:session_test_test (shard 4 of 4); 59s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,917 / 9,191] 233 / 246 tests; Testing //session/session_test:session_test_test (shard 4 of 4); 60s remote-cache, linux-sandbox ... (140 actions running) [8,921 / 9,191] 234 / 246 tests; Testing //session/session_test:session_test_test (shard 4 of 4); 61s remote-cache, linux-sandbox ... (140 actions running) [8,925 / 9,191] 234 / 246 tests; Testing //session/session_test:session_test_test (shard 4 of 4); 63s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,929 / 9,191] 234 / 246 tests; Testing //ddl:ddl_test (shard 18 of 50); 64s remote-cache, linux-sandbox ... (140 actions running) [8,935 / 9,191] 234 / 246 tests; Testing //ddl:ddl_test (shard 18 of 50); 65s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,937 / 9,191] 234 / 246 tests; Testing //ddl:ddl_test (shard 18 of 50); 67s remote-cache, linux-sandbox ... (140 actions running) [8,943 / 9,191] 234 / 246 tests; Testing //ddl:ddl_test (shard 18 of 50); 69s remote-cache, linux-sandbox ... (140 actions running) [8,949 / 9,191] 234 / 246 tests; Testing //ddl:ddl_test (shard 18 of 50); 70s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,953 / 9,191] 234 / 246 tests; Testing //ddl:ddl_test (shard 18 of 50); 72s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,959 / 9,191] 234 / 246 tests; Testing //ddl:ddl_test (shard 18 of 50); 73s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,963 / 9,191] 234 / 246 tests; Testing //ddl:ddl_test (shard 18 of 50); 74s remote-cache, linux-sandbox ... (140 actions running) [8,964 / 9,191] 235 / 246 tests; Testing //ddl:ddl_test (shard 18 of 50); 75s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,969 / 9,191] 235 / 246 tests; Testing //ddl:ddl_test (shard 18 of 50); 77s remote-cache, linux-sandbox ... (137 actions, 136 running) [8,977 / 9,191] 235 / 246 tests; Testing //ddl:ddl_test (shard 27 of 50); 52s remote-cache, linux-sandbox ... (140 actions running) [8,981 / 9,191] 235 / 246 tests; Testing //ddl:ddl_test (shard 27 of 50); 53s remote-cache, linux-sandbox ... (140 actions running) [8,984 / 9,191] 235 / 246 tests; Testing //ddl:ddl_test (shard 27 of 50); 54s remote-cache, linux-sandbox ... (139 actions, 138 running) [8,984 / 9,191] 235 / 246 tests; Testing //ddl:ddl_test (shard 27 of 50); 56s remote-cache, linux-sandbox ... (140 actions running) [8,986 / 9,191] 235 / 246 tests; Testing //ddl:ddl_test (shard 27 of 50); 57s remote-cache, linux-sandbox ... (140 actions running) [9,001 / 9,191] 236 / 246 tests; Testing //ddl:ddl_test (shard 27 of 50); 58s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,005 / 9,191] 236 / 246 tests; Testing //ddl:ddl_test (shard 27 of 50); 59s remote-cache, linux-sandbox ... (139 actions running) [9,006 / 9,191] 236 / 246 tests; Testing //ddl:ddl_test (shard 27 of 50); 61s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,008 / 9,191] 236 / 246 tests; Testing //statistics/handle:handle_test (shard 15 of 50); 62s remote-cache, linux-sandbox ... (140 actions running) [9,017 / 9,191] 236 / 246 tests; Testing //statistics/handle:handle_test (shard 15 of 50); 63s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,018 / 9,191] 236 / 246 tests; Testing //statistics/handle:handle_test (shard 15 of 50); 64s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,024 / 9,191] 236 / 246 tests; Testing //statistics/handle:handle_test (shard 15 of 50); 65s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,026 / 9,191] 236 / 246 tests; Testing //statistics/handle:handle_test (shard 15 of 50); 67s remote-cache, linux-sandbox ... (140 actions running) [9,031 / 9,191] 236 / 246 tests; Testing //statistics/handle:handle_test (shard 15 of 50); 69s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,034 / 9,191] 237 / 246 tests; Testing //statistics/handle:handle_test (shard 15 of 50); 70s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,036 / 9,191] 237 / 246 tests; Testing //statistics/handle:handle_test (shard 15 of 50); 71s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,037 / 9,191] 238 / 246 tests; Testing //statistics/handle:handle_test (shard 15 of 50); 72s remote-cache, linux-sandbox ... (140 actions running) [9,037 / 9,191] 239 / 246 tests; Testing //statistics/handle:handle_test (shard 15 of 50); 73s remote-cache, linux-sandbox ... (140 actions running) [9,041 / 9,191] 239 / 246 tests; Testing //ddl:ddl_test (shard 30 of 50); 70s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,048 / 9,191] 239 / 246 tests; Testing //ddl:ddl_test (shard 30 of 50); 71s remote-cache, linux-sandbox ... (140 actions running) [9,049 / 9,191] 239 / 246 tests; Testing //ddl:ddl_test (shard 30 of 50); 72s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,054 / 9,191] 239 / 246 tests; Testing //ddl:ddl_test (shard 30 of 50); 74s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,057 / 9,191] 239 / 246 tests; Testing //ddl:ddl_test (shard 30 of 50); 75s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,062 / 9,191] 239 / 246 tests; Testing //ddl:ddl_test (shard 30 of 50); 76s remote-cache, linux-sandbox ... (140 actions running) [9,064 / 9,191] 239 / 246 tests; Testing //ddl:ddl_test (shard 30 of 50); 77s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,066 / 9,191] 239 / 246 tests; Testing //ddl:ddl_test (shard 30 of 50); 78s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,068 / 9,191] 239 / 246 tests; Testing //ddl:ddl_test (shard 30 of 50); 80s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,075 / 9,191] 239 / 246 tests; Testing //ddl:ddl_test (shard 30 of 50); 81s remote-cache, linux-sandbox ... (140 actions running) [9,078 / 9,191] 239 / 246 tests; Testing //ddl:ddl_test (shard 30 of 50); 82s remote-cache, linux-sandbox ... (140 actions running) [9,079 / 9,191] 239 / 246 tests; Testing //ddl:ddl_test (shard 30 of 50); 83s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,083 / 9,191] 239 / 246 tests; Testing //ddl:ddl_test (shard 30 of 50); 85s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,087 / 9,191] 239 / 246 tests; Testing //ddl:ddl_test (shard 30 of 50); 86s remote-cache, linux-sandbox ... (140 actions running) [9,094 / 9,191] 239 / 246 tests; Testing //ddl:ddl_test (shard 30 of 50); 87s remote-cache, linux-sandbox ... (140 actions running) [9,100 / 9,191] 239 / 246 tests; Testing //ddl:ddl_test (shard 30 of 50); 88s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,101 / 9,191] 239 / 246 tests; Testing //ddl:ddl_test (shard 30 of 50); 90s remote-cache, linux-sandbox ... (140 actions running) [9,105 / 9,191] 239 / 246 tests; Testing //ddl:ddl_test (shard 30 of 50); 92s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,106 / 9,191] 239 / 246 tests; Testing //ddl:ddl_test (shard 30 of 50); 93s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,115 / 9,191] 239 / 246 tests; Testing //ddl:ddl_test (shard 30 of 50); 94s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,119 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 12 of 50); 84s remote-cache, linux-sandbox ... (139 actions, 138 running) [9,124 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 12 of 50); 85s remote-cache, linux-sandbox ... (134 actions running) [9,129 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 13 of 50); 81s remote-cache, linux-sandbox ... (124 actions running) [9,131 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 13 of 50); 83s remote-cache, linux-sandbox ... (120 actions running) [9,133 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 13 of 50); 85s remote-cache, linux-sandbox ... (116 actions running) [9,136 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 13 of 50); 87s remote-cache, linux-sandbox ... (110 actions running) [9,138 / 9,191] 239 / 246 tests; Testing //session:session_test (shard 13 of 50); 88s remote-cache, linux-sandbox ... (106 actions running) [9,139 / 9,191] 240 / 246 tests; Testing //session:session_test (shard 13 of 50); 89s remote-cache, linux-sandbox ... (104 actions running) [9,140 / 9,191] 240 / 246 tests; Testing //executor:executor_test (shard 47 of 50); 67s remote-cache, linux-sandbox ... (102 actions running) [9,141 / 9,191] 240 / 246 tests; Testing //executor:executor_test (shard 47 of 50); 69s remote-cache, linux-sandbox ... (100 actions running) [9,142 / 9,191] 240 / 246 tests; Testing //executor:executor_test (shard 47 of 50); 71s remote-cache, linux-sandbox ... (98 actions running) [9,142 / 9,191] 240 / 246 tests; Testing //executor:executor_test (shard 47 of 50); 73s remote-cache, linux-sandbox ... (98 actions running) [9,145 / 9,191] 240 / 246 tests; Testing //ddl:ddl_test (shard 45 of 50); 66s remote-cache, linux-sandbox ... (92 actions running) [9,146 / 9,191] 240 / 246 tests; Testing //ddl:ddl_test (shard 45 of 50); 67s remote-cache, linux-sandbox ... (90 actions running) [9,147 / 9,191] 240 / 246 tests; Testing //ddl:ddl_test (shard 45 of 50); 69s remote-cache, linux-sandbox ... (88 actions running) [9,148 / 9,191] 241 / 246 tests; Testing //expression:expression_test (shard 46 of 50); 67s remote-cache, linux-sandbox ... (86 actions running) [9,148 / 9,191] 242 / 246 tests; Testing //expression:expression_test (shard 46 of 50); 69s remote-cache, linux-sandbox ... (86 actions running) [9,150 / 9,191] 242 / 246 tests; Testing //expression:expression_test (shard 43 of 50); 66s remote-cache, linux-sandbox ... (82 actions running) [9,151 / 9,191] 242 / 246 tests; Testing //expression:expression_test (shard 43 of 50); 68s remote-cache, linux-sandbox ... (80 actions running) [9,153 / 9,191] 242 / 246 tests; Testing //expression:expression_test (shard 43 of 50); 70s remote-cache, linux-sandbox ... (76 actions running) [9,154 / 9,191] 242 / 246 tests; Testing //expression:expression_test (shard 43 of 50); 72s remote-cache, linux-sandbox ... (74 actions running) [9,157 / 9,191] 242 / 246 tests; Testing //expression:expression_test (shard 43 of 50); 73s remote-cache, linux-sandbox ... (68 actions running) [9,158 / 9,191] 243 / 246 tests; Testing //expression:expression_test (shard 43 of 50); 74s remote-cache, linux-sandbox ... (66 actions running) [9,162 / 9,191] 243 / 246 tests; Testing //expression:expression_test (shard 43 of 50); 76s remote-cache, linux-sandbox ... (58 actions running) [9,165 / 9,191] 243 / 246 tests; Testing //expression:expression_test (shard 43 of 50); 78s remote-cache, linux-sandbox ... (52 actions running) [9,171 / 9,191] 243 / 246 tests; Testing //expression:expression_test (shard 43 of 50); 80s remote-cache, linux-sandbox ... (40 actions running) [9,173 / 9,191] 243 / 246 tests; Testing //expression:expression_test (shard 43 of 50); 82s remote-cache, linux-sandbox ... (36 actions running) [9,176 / 9,191] 243 / 246 tests; Testing //expression:expression_test (shard 44 of 50); 81s remote-cache, linux-sandbox ... (30 actions running) [9,179 / 9,191] 243 / 246 tests; Testing //expression:expression_test (shard 44 of 50); 83s remote-cache, linux-sandbox ... (24 actions running) [9,182 / 9,191] 243 / 246 tests; Testing //expression:expression_test (shard 44 of 50); 85s remote-cache, linux-sandbox ... (18 actions running) [9,184 / 9,191] 243 / 246 tests; Testing //expression:expression_test (shard 44 of 50); 87s remote-cache, linux-sandbox ... (14 actions running) [9,185 / 9,191] 243 / 246 tests; Testing //expression:expression_test (shard 44 of 50); 89s remote-cache, linux-sandbox ... (12 actions running) [9,185 / 9,191] 243 / 246 tests; Testing //expression:expression_test (shard 44 of 50); 90s remote-cache, linux-sandbox ... (12 actions running) [9,188 / 9,191] 243 / 246 tests; Testing //expression:expression_test (shard 44 of 50); 92s remote-cache, linux-sandbox ... (6 actions running) [9,189 / 9,191] 244 / 246 tests; Testing //expression:expression_test (shard 44 of 50); 94s remote-cache, linux-sandbox ... (4 actions running) [9,189 / 9,191] 245 / 246 tests; Testing //expression:expression_test (shard 44 of 50); 99s remote-cache, linux-sandbox ... (4 actions running) [9,190 / 9,191] 245 / 246 tests; Testing //executor:executor_test (shard 21 of 50); 72s remote-cache, linux-sandbox [9,190 / 9,191] 246 / 246 tests; Testing //executor:executor_test (shard 21 of 50); 81s remote-cache, linux-sandbox INFO: Elapsed time: 377.220s, Critical Path: 218.38s INFO: 7536 processes: 6243 remote cache hit, 1 internal, 1292 linux-sandbox. INFO: Build completed successfully, 7536 total actions Test cases: finished with 8246 passing and 0 failing out of 8246 test cases Executed 85 out of 246 tests: 246 tests pass. INFO: Build completed successfully, 7536 total actions INFO: Build Event Protocol files produced successfully. root: /home/jenkins/.tidb/tmp/45c44f383a26fe92ddbb5dda36c71ef8/execroot/__main__/bazel-out/k8-fastbuild/testlogs complete to collect bazel result. [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/release-6.5/ghpr_unit_test/tidb [Pipeline] { [Pipeline] junit Recording test results [Checks API] No suitable checks publisher found. [Pipeline] archiveArtifacts Archiving artifacts [Pipeline] } [Pipeline] // dir [Pipeline] sh + ./scripts/plugins/analyze-go-test-from-bazel-output.sh tidb/bazel-test.log Parse from local file: tidb/bazel-test.log new flaky case: TestCursorFetchErrorInFetch new flaky case: TestNonTransactionalDMLShardingOnTiDBRowID new flaky case: TestRcTSOCmdCountForTextSQLExecuteExtra TestUpgradeVersion74 296.68 TestTxnContextForSimpleCases 32.16 TestTxnContextBeginInUnfinishedTxn 33.15 TestTxnContextInRC 35.46 TestTxnContextInOptimisticRetry 30.92 TestTxnContextForStaleRead 33.64 TestTxnContextForStaleReadInPrepare 26.19 TestStillWriteConflictAfterRetry 30.52 TestTSOCmdCountForPrepareExecute 17.74 TestEnterNewTxn 15.81 TestSnapshotInterceptor 15.11 TestRcTSOCmdCountForPrepareExecuteExtra 15.82 Output files: bazel-flaky-summaries.log bazel-go-test-index.log bazel-go-test-problem-cases.json bazel-target-output-L197-2150.fail.log bazel-target-output-L2542-6674.timeout.log bazel-target-output-L6694-14553.timeout.log [Pipeline] sh ++ uuidgen + timeout 10 curl --verbose --request POST --url http://cloudevents-server.apps.svc/events --header 'ce-id: 99fa5177-c025-4a39-92be-dfdfc629c188' --header 'ce-source: https://do.pingcap.net/jenkins/' --header 'ce-type: test-case-run-report' --header 'ce-repo: pingcap/tidb' --header 'ce-branch: release-6.5' --header 'ce-buildurl: https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/release-6.5/job/ghpr_unit_test/527/' --header 'ce-specversion: 1.0' --header 'content-type: application/json; charset=UTF-8' --data @bazel-go-test-problem-cases.json % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* About to connect() to cloudevents-server.apps.svc port 80 (#0) * Trying 10.233.31.173... * Connected to cloudevents-server.apps.svc (10.233.31.173) port 80 (#0) > POST /events HTTP/1.1 > User-Agent: curl/7.29.0 > Host: cloudevents-server.apps.svc > Accept: */* > ce-id: 99fa5177-c025-4a39-92be-dfdfc629c188 > ce-source: https://do.pingcap.net/jenkins/ > ce-type: test-case-run-report > ce-repo: pingcap/tidb > ce-branch: release-6.5 > ce-buildurl: https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/release-6.5/job/ghpr_unit_test/527/ > ce-specversion: 1.0 > content-type: application/json; charset=UTF-8 > Content-Length: 1137 > Expect: 100-continue > * Done waiting for 100-continue 0 1137 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0} [data not shown] < HTTP/1.1 100 Continue < HTTP/1.1 200 OK < Date: Mon, 06 May 2024 08:49:58 GMT < Content-Length: 0 < 100 1137 0 0 100 1137 0 994 0:00:01 0:00:01 --:--:-- 995 * Connection #0 to host cloudevents-server.apps.svc left intact [Pipeline] archiveArtifacts Archiving artifacts [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/release-6.5/ghpr_unit_test/tidb [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-06T08:50:00.623Z] ['info'] _____ _ / ____| | | | | ___ __| | ___ ___ _____ __ | | / _ \ / _` |/ _ \/ __/ _ \ \ / / | |___| (_) | (_| | __/ (_| (_) \ V / \_____\___/ \__,_|\___|\___\___/ \_/ Codecov report uploader 0.5.0 [2024-05-06T08:50:00.624Z] ['info'] => Project root located at: . [2024-05-06T08:50:00.627Z] ['info'] -> Token found by environment variables [2024-05-06T08:50:00.637Z] ['info'] Searching for coverage files... [2024-05-06T08:50:01.941Z] ['info'] => Found 1 possible coverage files: ./coverage.dat [2024-05-06T08:50:01.941Z] ['info'] Processing ./coverage.dat... [2024-05-06T08:50:02.177Z] ['info'] Using manual override from args. [2024-05-06T08:50:02.177Z] ['info'] Detected Jenkins CI as the CI provider. [2024-05-06T08:50:02.194Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=uploader-0.5.0&token=*******&branch=origin%2Fpr%2F53005&build=527&build_url=https%3A%2F%2Fdo.pingcap.net%2Fjenkins%2Fjob%2Fpingcap%2Fjob%2Ftidb%2Fjob%2Frelease-6.5%2Fjob%2Fghpr_unit_test%2F527%2F&commit=329197d82e8a57bac0a7b1cfa3380e61c8379590&job=&pr=53005&service=jenkins&slug=pingcap%2Ftidb&name=&tag=&flags=unit&parent= [2024-05-06T08:50:03.025Z] ['info'] https://app.codecov.io/github/pingcap/tidb/commit/329197d82e8a57bac0a7b1cfa3380e61c8379590 https://storage.googleapis.com/codecov/v4/raw/2024-05-06/F6B65B6EE70BEC6C6B5E073ED3BB1A79/329197d82e8a57bac0a7b1cfa3380e61c8379590/9a037e9b-230f-47dc-b3c8-3a5650410c51.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240506%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240506T085002Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=756f5046d63d10daa33c62fbfa15d4aacae06f591e9bafbe6cf359497b52a5a8 [2024-05-06T08:50:03.026Z] ['info'] Uploading... [2024-05-06T08:50:04.661Z] ['info'] {"status":"success","resultURL":"https://app.codecov.io/github/pingcap/tidb/commit/329197d82e8a57bac0a7b1cfa3380e61c8379590"} [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] End of Pipeline Finished: SUCCESS